| 1 |
<?php |
<?php |
| 2 |
// $Id: image_filter.module,v 1.22 2007/02/04 01:43:19 davidhull Exp $ |
// $Id: image_filter.module,v 1.23 2007/02/06 05:52:48 davidhull Exp $ |
| 3 |
|
|
| 4 |
function image_filter_short_tip_translated() { |
function image_filter_short_tip_translated() { |
| 5 |
return t( |
return t( |
| 6 |
'You may link to images on this site <a href="%explanation-url">using a special syntax</a>', |
'You may link to images on this site <a href="!explanation-url">using a special syntax</a>', |
| 7 |
array('%explanation-url' => url('filter/tips', NULL, 'filter-image_filter-0'))); |
array('!explanation-url' => url('filter/tips', NULL, 'filter-image_filter-0'))); |
| 8 |
} |
} |
| 9 |
|
|
| 10 |
function image_filter_long_tip_translated() { |
function image_filter_long_tip_translated() { |
| 22 |
$output = ''; |
$output = ''; |
| 23 |
switch ($section) { |
switch ($section) { |
| 24 |
case 'admin/help#image_filter': |
case 'admin/help#image_filter': |
| 25 |
$output = t('<p>Sometimes, you want to add an image to another node like a blog entry or a story. You may do this by creating an image node in Drupal for the target image, and then referencing that image in your story, blog, etc. To enable this feature and learn the proper syntax, visit the <a href="%filters">filters configuration screen</a>.</p>', array('%filters' => url('admin/filters'))); |
$output = t('<p>Sometimes, you want to add an image to another node like a blog entry or a story. You may do this by creating an image node in Drupal for the target image, and then referencing that image in your story, blog, etc. To enable this feature and learn the proper syntax, visit the <a href="!filters">input formats configuration page</a>.</p>', array('!filters' => url('admin/settings/filters'))); |
| 26 |
break; |
break; |
| 27 |
case 'admin/modules#description': |
case 'admin/modules#description': |
| 28 |
$output = t("Allow users to reference images from other nodes."); |
$output = t("Allow users to reference images from other nodes."); |