Commit a7ae7375 authored by drumm's avatar drumm

#72797 by pwolanin and beginner. Make 'More information about formatting options' link themeable.

parent 772d7624
......@@ -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(
......@@ -961,6 +961,16 @@ function theme_filter_tips($tips, $long = FALSE, $extra = '') {
return $output;
}
/**
* 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
* @{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment