summaryrefslogtreecommitdiff
path: root/modules/block
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-17 07:19:39 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-17 07:19:39 +0000
commit03b4b58e9ab272fc375664e18d5bb0c339b440a5 (patch)
tree8b7b509978f68f7122078c7c5e946cf731062d29 /modules/block
parente98c82e67939efaae859ce70ee728a08a26dc363 (diff)
downloadbrdo-03b4b58e9ab272fc375664e18d5bb0c339b440a5.tar.gz
brdo-03b4b58e9ab272fc375664e18d5bb0c339b440a5.tar.bz2
- Patch #132018 by Steven et al: add .info files to themes.
Diffstat (limited to 'modules/block')
-rw-r--r--modules/block/block.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/block/block.module b/modules/block/block.module
index a61f21f35..958f66199 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -100,9 +100,9 @@ function block_menu() {
$default = variable_get('theme_default', 'garland');
foreach (list_themes() as $key => $theme) {
$items['admin/build/block/list/'. $key] = array(
- 'title' => t('!key settings', array('!key' => $key)),
+ 'title' => t('!key settings', array('!key' => $theme->info['name'])),
'page arguments' => array('block_admin_display', $key),
- 'type' => $key== $default ? MENU_DEFAULT_LOCAL_TASK : MENU_LOCAL_TASK,
+ 'type' => $key == $default ? MENU_DEFAULT_LOCAL_TASK : MENU_LOCAL_TASK,
'weight' => $key == $default ? -10 : 0,
);
}