From 83f78c0d4c4f2036e54998c2c2701eaeb4aefec2 Mon Sep 17 00:00:00 2001 From: printempw Date: Sat, 19 Mar 2016 20:34:05 +0800 Subject: [PATCH] fixed bug of color scheme switcher --- admin/customize.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/customize.php b/admin/customize.php index b62fac26..2ebc40c7 100644 --- a/admin/customize.php +++ b/admin/customize.php @@ -3,7 +3,7 @@ * @Author: printempw * @Date: 2016-03-19 14:34:21 * @Last Modified by: printempw - * @Last Modified time: 2016-03-19 15:31:15 + * @Last Modified time: 2016-03-19 20:33:07 */ require "../includes/session.inc.php"; if (!$user->is_admin) header('Location: ../index.php?msg=看起来你并不是管理员'); @@ -135,10 +135,11 @@ $db = new Database\Database(); // Skin switcher -var current_skin = "skin-blue"; +var current_skin = "$color_scheme"; $('#layout-skins-list [data-skin]').click(function(e) { e.preventDefault(); var skin_name = $(this).data('skin');