diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-10-04 06:13:33 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-10-04 06:13:33 +0000 |
commit | a7ae7375a05b8d604db2cb7e1c36caede9ed42d1 (patch) | |
tree | 1464f7ea70cd1267f009d3860520b6b1bd6d4f06 | |
parent | 772d7624baced601469215e7609ad5237782918b (diff) | |
download | brdo-a7ae7375a05b8d604db2cb7e1c36caede9ed42d1.tar.gz brdo-a7ae7375a05b8d604db2cb7e1c36caede9ed42d1.tar.bz2 |
#72797 by pwolanin and beginner. Make 'More information about formatting options' link themeable.
-rw-r--r-- | modules/filter/filter.module | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 7d644f3e3..833ae4e79 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -809,7 +809,7 @@ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents = $value = filter_resolve_format($value); $formats = filter_formats(); - $extra = l(t('More information about formatting options'), 'filter/tips'); + $extra = theme('filter_tips_more_info'); if (count($formats) > 1) { $form = array( @@ -962,6 +962,16 @@ function theme_filter_tips($tips, $long = FALSE, $extra = '') { } /** + * Format a link to the more extensive filter tips. + * + * @ingroup themeable + */ + +function theme_filter_tips_more_info() { + return l(t('More information about formatting options'), 'filter/tips'); +} + +/** * @name Standard filters * @{ * Filters implemented by the filter.module. |