From a571da926da70efda936f17c1c3abe963da227e1 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 2 Jan 2010 18:58:57 +0000 Subject: #650622 by joachim: Restore ability to set default theme in one operation. --- modules/system/system.admin.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/system/system.admin.inc') 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']))), + ); } } -- cgit v1.2.3