summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-30 13:09:30 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-30 13:09:30 +0000
commita8f8a26f6d77f6aca8821e28e66ea253687d7d59 (patch)
treed0f2b694e18a3ccc343d379b3742791becb57b39 /modules/system/system.admin.inc
parent15343a993ce45ec6626c79406aaa85c2631d023e (diff)
downloadbrdo-a8f8a26f6d77f6aca8821e28e66ea253687d7d59.tar.gz
brdo-a8f8a26f6d77f6aca8821e28e66ea253687d7d59.tar.bz2
- Patch #553944 by David_Rothstein, ksenzee | JacobSingh, sun, jhodgdon, pwolanin: allow modules to specify per-page custom themes in hook_menu().
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index a3a230df9..24f0b888d 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -233,7 +233,7 @@ function system_themes_form() {
);
$options[$theme->name] = $theme->info['name'];
- if (!empty($theme->status) || $theme->name == variable_get('admin_theme', 0)) {
+ if (drupal_theme_access($theme)) {
$form[$theme->name]['operations'] = array('#markup' => l(t('configure'), 'admin/appearance/settings/' . $theme->name) );
}
else {