diff options
author | plegall <plg@piwigo.org> | 2010-03-13 00:00:52 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-13 00:00:52 +0000 |
commit | 14778ce673277f2df41f963aa70df1cbed427294 (patch) | |
tree | 8c723d4d9827876dbf19d2bd581405fc50910860 /admin.php | |
parent | c396f08708d431c6f7e8656eaca4fd8e440fdd39 (diff) |
feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.
git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -62,26 +62,26 @@ SELECT // theme changer if (isset($_GET['change_theme'])) { - $admin_themes = array('goto/roma', 'goto/clear'); + $admin_themes = array('roma', 'clear'); $new_admin_theme = array_pop( array_diff( $admin_themes, - array($conf['admin_layout']) + array($conf['admin_theme']) ) ); $query = ' DELETE FROM '.CONFIG_TABLE.' - WHERE param = "admin_layout" + WHERE param = "admin_theme" ;'; pwg_query($query); $query = ' INSERT INTO '.CONFIG_TABLE.' - SET param = "admin_layout" + SET param = "admin_theme" , value = "'.$new_admin_theme.'" ;'; pwg_query($query); |