Commit f88727ff authored by catch's avatar catch

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

parent 661fd5bf
...@@ -83,9 +83,6 @@ function filter_theme() { ...@@ -83,9 +83,6 @@ function filter_theme() {
'text_format_wrapper' => array( 'text_format_wrapper' => array(
'render element' => 'element', 'render element' => 'element',
), ),
'filter_tips_more_info' => array(
'variables' => array(),
),
'filter_guidelines' => array( 'filter_guidelines' => array(
'variables' => array('format' => NULL), 'variables' => array('format' => NULL),
), ),
...@@ -754,8 +751,8 @@ function filter_process_format($element) { ...@@ -754,8 +751,8 @@ function filter_process_format($element) {
$element['format']['help'] = array( $element['format']['help'] = array(
'#type' => 'container', '#type' => 'container',
'#theme' => 'filter_tips_more_info',
'#attributes' => array('class' => array('filter-help')), '#attributes' => array('class' => array('filter-help')),
'#markup' => l(t('More information about text formats'), 'filter/tips', array('attributes' => array('target' => '_blank'))),
'#weight' => 0, '#weight' => 0,
); );
...@@ -1010,15 +1007,6 @@ function filter_dom_serialize_escape_cdata_element($dom_document, $dom_element, ...@@ -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. * Returns HTML for guidelines for a text format.
* *
......
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