From f88727ff35b77a46bc244aa7aaf16b96c49a89bc Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Wed, 29 May 2013 07:47:56 +0100
Subject: [PATCH] Issue #1222260 by sun, jenlampton, mr.baileys: Remove
 theme_filter_tips_more_info() from core.

---
 core/modules/filter/filter.module | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/core/modules/filter/filter.module b/core/modules/filter/filter.module
index 9a262331eea1..857a33b39285 100644
--- a/core/modules/filter/filter.module
+++ b/core/modules/filter/filter.module
@@ -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.
  *
-- 
GitLab