| 1 |
<?php |
<?php |
| 2 |
// $Id: image_filter.module,v 1.20 2006/06/20 05:30:41 davidhull Exp $ |
// $Id: image_filter.module,v 1.21 2006/06/20 05:48:27 davidhull Exp $ |
| 3 |
|
|
| 4 |
function image_filter_short_tip_translated() { |
function image_filter_short_tip_translated() { |
| 5 |
return t( |
return t( |
| 19 |
} |
} |
| 20 |
|
|
| 21 |
function image_filter_help($section = 'admin/help#image_filter') { |
function image_filter_help($section = 'admin/help#image_filter') { |
|
if (module_exist('image_filter') && !module_exist('image')) { |
|
|
drupal_set_message(t('The image_filter module relies on image.module. Please go to the <a href="%modules">modules</a> section of administration to turn on image.module.', array('%modules' => url('admin/modules')))); |
|
|
} |
|
|
|
|
| 22 |
$output = ''; |
$output = ''; |
| 23 |
switch ($section) { |
switch ($section) { |
| 24 |
case 'admin/help#image_filter': |
case 'admin/help#image_filter': |