summaryrefslogtreecommitdiff
path: root/modules/block
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-24 02:01:56 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-24 02:01:56 +0000
commit5e1f9113e966e7766726416083ad9a5518e56218 (patch)
tree52f4b5cb9cab93100ddb0c5529aea7d6ab9b5572 /modules/block
parent63a08b7a558d958669e5c915a8776642f3c28dd0 (diff)
downloadbrdo-5e1f9113e966e7766726416083ad9a5518e56218.tar.gz
brdo-5e1f9113e966e7766726416083ad9a5518e56218.tar.bz2
- Patch #735692 by JohnAlbin: unclear which themes blocks are edited - shown as secondary tabs without primary parents.
Diffstat (limited to 'modules/block')
-rw-r--r--modules/block/block.module7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/block/block.module b/modules/block/block.module
index e7eed7554..ba2f8001d 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'))),