From 5e1f9113e966e7766726416083ad9a5518e56218 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Fri, 24 Sep 2010 02:01:56 +0000 Subject: [PATCH] - Patch #735692 by JohnAlbin: unclear which themes blocks are edited - shown as secondary tabs without primary parents. --- modules/block/block.module | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/block/block.module b/modules/block/block.module index e7eed75546a6..ba2f8001d6ab 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -113,11 +113,6 @@ function block_menu() { 'access arguments' => array('administer blocks'), 'file' => 'block.admin.inc', ); - $items['admin/structure/block/list'] = array( - 'title' => 'List', - 'type' => MENU_DEFAULT_LOCAL_TASK, - 'weight' => -10, - ); $items['admin/structure/block/manage/%/%'] = array( 'title' => 'Configure block', 'page callback' => 'drupal_get_form', @@ -297,7 +292,7 @@ function block_page_build(&$page) { $page['page_top']['backlink'] = array( '#type' => 'link', '#title' => t('Exit block region demonstration'), - '#href' => 'admin/structure/block/list' . (variable_get('theme_default', 'garland') == $theme ? '' : '/' . $theme), + '#href' => 'admin/structure/block' . (variable_get('theme_default', 'bartik') == $theme ? '' : '/list/' . $theme), // Add the "overlay-restore" class to indicate this link should restore // the context in which the region demonstration page was opened. '#options' => array('attributes' => array('class' => array('block-demo-backlink', 'overlay-restore'))), -- GitLab