From a8f8a26f6d77f6aca8821e28e66ea253687d7d59 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 30 Sep 2009 13:09:30 +0000 Subject: - Patch #553944 by David_Rothstein, ksenzee | JacobSingh, sun, jhodgdon, pwolanin: allow modules to specify per-page custom themes in hook_menu(). --- modules/system/system.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.admin.inc') 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 { -- cgit v1.2.3