diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-02 18:58:57 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-02 18:58:57 +0000 |
commit | a571da926da70efda936f17c1c3abe963da227e1 (patch) | |
tree | e12f8b94c99deb0fd53a23114d1957ad019606cd /modules/system/system.admin.inc | |
parent | 45bc7c2290af947cda8747f08598413a764e24c8 (diff) | |
download | brdo-a571da926da70efda936f17c1c3abe963da227e1.tar.gz brdo-a571da926da70efda936f17c1c3abe963da227e1.tar.bz2 |
#650622 by joachim: Restore ability to set default theme in one operation.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 6 |
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']))), + ); } } |