aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-09-03 09:02:07 +0000
committerplegall <plg@piwigo.org>2014-09-03 09:02:07 +0000
commitab00c52430610633768cf3d856f105cad0f52e9d (patch)
treee98b15709b02d1ccd536a52a9ee7c1c3ebea7b2a /themes
parent9639897ae01e12f9a842da83d72cd6edff7aa7b3 (diff)
feature 3133: add colorscheme parameter for themes. This way we can use the
appropriate CSS for selectize (and other things) git-svn-id: http://piwigo.org/svn/trunk@29389 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/clear/themeconf.inc.php1
-rw-r--r--themes/default/js/plugins/selectize.clear.css (renamed from themes/default/js/plugins/selectize.default.css)0
-rw-r--r--themes/default/template/search.tpl2
3 files changed, 2 insertions, 1 deletions
diff --git a/themes/clear/themeconf.inc.php b/themes/clear/themeconf.inc.php
index f7387c2f7..df9aaf73f 100644
--- a/themes/clear/themeconf.inc.php
+++ b/themes/clear/themeconf.inc.php
@@ -10,5 +10,6 @@ Author URI: http://piwigo.org
$themeconf = array(
'name' => 'clear',
'parent' => 'default',
+ 'colorscheme' => 'clear',
);
?>
diff --git a/themes/default/js/plugins/selectize.default.css b/themes/default/js/plugins/selectize.clear.css
index 0d8947e90..0d8947e90 100644
--- a/themes/default/js/plugins/selectize.default.css
+++ b/themes/default/js/plugins/selectize.clear.css
diff --git a/themes/default/template/search.tpl b/themes/default/template/search.tpl
index 9a9ed101d..5f3190d2f 100644
--- a/themes/default/template/search.tpl
+++ b/themes/default/template/search.tpl
@@ -4,7 +4,7 @@
*}
{combine_script id='jquery.selectize' load='footer' path='themes/default/js/plugins/selectize.min.js'}
-{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.dark.css"}
+{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"}
{footer_script}
jQuery(document).ready(function() {