summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 655de366a..358e9d208 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -289,6 +289,12 @@ function system_themes_page() {
'query' => $query,
'attributes' => array('title' => t('Enable !theme theme', array('!theme' => $theme->info['name']))),
);
+ $theme->operations[] = array(
+ 'title' => t('Enable and set default'),
+ 'href' => 'admin/appearance/default',
+ 'query' => $query,
+ 'attributes' => array('title' => t('Enable !theme as default theme', array('!theme' => $theme->info['name']))),
+ );
}
}