/[drupal]/contributions/modules/textile/textile.install
ViewVC logotype

Contents of /contributions/modules/textile/textile.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Mon Oct 13 21:16:34 2008 UTC (13 months, 1 week ago) by joshk
Branch: MAIN
CVS Tags: DRUPAL-6--2-0, HEAD
Branch point for: DRUPAL-6--1, DRUPAL-6--2
Changes since 1.1: +1 -1 lines
File MIME type: text/x-php
update for 6.0 release
1 <?php
2 //$ Id: $
3
4 /**
5 * Implementation of hook_requirements
6 *
7 * Alert admins that they need to download the classTextile.php if they haven't already
8 */
9
10 function textile_requirements($phase) {
11 $requirements = array();
12
13 if ($phase == 'runtime') {
14 if ($error = _textile_lib_check()) {
15 $requirements['textile'] = array(
16 'value' => t('Not installed'),
17 'severity' => REQUIREMENT_ERROR,
18 'description' => $error,
19 );
20 }
21 else {
22 $requirements['textile']['severity'] = REQUIREMENT_OK;
23 }
24 $requirements['textile']['title'] = t('classTextile library');
25 }
26
27 return $requirements;
28 }

  ViewVC Help
Powered by ViewVC 1.1.2