diff --git a/modules/system/system.module b/modules/system/system.module index 946ef0c..36260b9 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -637,7 +637,8 @@ function system_menu() { foreach (list_themes() as $key => $theme) { $items['admin/appearance/settings/' . $theme->name] = array( - 'title' => $theme->info['name'], + 'title callback' => '_system_theme_name', + 'title arguments' => array($key), 'page arguments' => array('system_theme_settings', $theme->name), 'type' => MENU_LOCAL_TASK, 'access callback' => '_system_themes_access', @@ -1690,6 +1691,14 @@ function _system_themes_access($theme) { } /** + * Menu item title callback. + */ +function _system_theme_name($theme) { + $themes = list_themes(); + return $themes[$theme]->info['name']; +} + +/** * @defgroup authorize Authorized operations * @{ * Functions to run operations with elevated privileges via authorize.php. diff --git a/themes/seven/seven.info b/themes/seven/seven.info index 969f749..1d2434e 100644 --- a/themes/seven/seven.info +++ b/themes/seven/seven.info @@ -1,4 +1,3 @@ -name = Seven description = A simple one-column, tableless, fluid width administration theme. package = Core version = VERSION