From 0a9d5311c576a077af33678b148dff811325085d Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Mon, 30 Mar 2015 17:39:12 -0400 Subject: Issue #413270 by Jody Lynn, Daniel Korte: Block settings for theme menu title getting double escaped --- modules/block/block.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/block') diff --git a/modules/block/block.module b/modules/block/block.module index b6a733267..0cda4e239 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -66,7 +66,7 @@ function block_help($path, $arg) { $demo_theme = !empty($arg[4]) ? $arg[4] : variable_get('theme_default', 'bartik'); $themes = list_themes(); $output = '

' . t('This page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions. Since not all themes implement the same regions, or display regions in the same way, blocks are positioned on a per-theme basis. Remember that your changes will not be saved until you click the Save blocks button at the bottom of the page. Click the configure link next to each block to configure its specific title and visibility settings.') . '

'; - $output .= '

' . l(t('Demonstrate block regions (@theme)', array('@theme' => $themes[$demo_theme]->info['name'])), 'admin/structure/block/demo/' . $demo_theme) . '

'; + $output .= '

' . l(t('Demonstrate block regions (!theme)', array('!theme' => $themes[$demo_theme]->info['name'])), 'admin/structure/block/demo/' . $demo_theme) . '

'; return $output; } } @@ -143,7 +143,7 @@ function block_menu() { ); foreach (list_themes() as $key => $theme) { $items['admin/structure/block/list/' . $key] = array( - 'title' => check_plain($theme->info['name']), + 'title' => $theme->info['name'], 'page arguments' => array($key), 'type' => $key == $default_theme ? MENU_DEFAULT_LOCAL_TASK : MENU_LOCAL_TASK, 'weight' => $key == $default_theme ? -10 : 0, @@ -162,7 +162,7 @@ function block_menu() { ); } $items['admin/structure/block/demo/' . $key] = array( - 'title' => check_plain($theme->info['name']), + 'title' => $theme->info['name'], 'page callback' => 'block_admin_demo', 'page arguments' => array($key), 'type' => MENU_CALLBACK, -- cgit v1.2.3