Issue #1222260 by sun, jenlampton, mr.baileys: Remove theme_filter_tips_more_info() from core.

8.0.x
catch 2013-05-29 07:47:56 +01:00
parent 661fd5bfc8
commit f88727ff35
1 changed files with 1 additions and 13 deletions

View File

@ -83,9 +83,6 @@ function filter_theme() {
'text_format_wrapper' => array(
'render element' => 'element',
),
'filter_tips_more_info' => array(
'variables' => array(),
),
'filter_guidelines' => array(
'variables' => array('format' => NULL),
),
@ -754,8 +751,8 @@ function filter_process_format($element) {
$element['format']['help'] = array(
'#type' => 'container',
'#theme' => 'filter_tips_more_info',
'#attributes' => array('class' => array('filter-help')),
'#markup' => l(t('More information about text formats'), 'filter/tips', array('attributes' => array('target' => '_blank'))),
'#weight' => 0,
);
@ -1010,15 +1007,6 @@ function filter_dom_serialize_escape_cdata_element($dom_document, $dom_element,
}
}
/**
* Returns HTML for a link to the more extensive filter tips.
*
* @ingroup themeable
*/
function theme_filter_tips_more_info() {
return '<p>' . l(t('More information about text formats'), 'filter/tips', array('attributes' => array('target' => '_blank'))) . '</p>';
}
/**
* Returns HTML for guidelines for a text format.
*