aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/include
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-06-14 14:15:05 +0000
committermistic100 <mistic@piwigo.org>2014-06-14 14:15:05 +0000
commit84d94906d2cb2bac8052400c9ffd76ed9b6a1eba (patch)
tree84178b090cf92fc3ac95fcd80eb109a66bfeb032 /admin/themes/default/template/include
parent296ae7021e75f555da9066232faa8da3a1225f4b (diff)
add dark selectize theme + "ternary" template modifier
git-svn-id: http://piwigo.org/svn/trunk@28703 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/include')
-rw-r--r--admin/themes/default/template/include/add_album.inc.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/themes/default/template/include/add_album.inc.tpl b/admin/themes/default/template/include/add_album.inc.tpl
index f2d87146f..0d3cd9533 100644
--- a/admin/themes/default/template/include/add_album.inc.tpl
+++ b/admin/themes/default/template/include/add_album.inc.tpl
@@ -1,7 +1,8 @@
{include file='include/colorbox.inc.tpl'}
+{assign var="selectizeTheme" value=($themeconf.name=='roma')|ternary:'dark':'default'}
{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.default.css"}
+{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.`$selectizeTheme`.css"}
{combine_script id='addAlbum.js' load='footer' require='jquery.colorbox' path='admin/themes/default/js/addAlbum.js'}