From 14778ce673277f2df41f963aa70df1cbed427294 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 13 Mar 2010 00:00:52 +0000 Subject: 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 --- admin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'admin.php') diff --git a/admin.php b/admin.php index d914ad7ca..aaf9b40ca 100644 --- a/admin.php +++ b/admin.php @@ -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); -- cgit v1.2.3