diff options
author | mistic100 <mistic@piwigo.org> | 2014-06-14 14:15:05 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-06-14 14:15:05 +0000 |
commit | 84d94906d2cb2bac8052400c9ffd76ed9b6a1eba (patch) | |
tree | 84178b090cf92fc3ac95fcd80eb109a66bfeb032 /admin/themes/default/template/cat_perm.tpl | |
parent | 296ae7021e75f555da9066232faa8da3a1225f4b (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/cat_perm.tpl')
-rw-r--r-- | admin/themes/default/template/cat_perm.tpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/themes/default/template/cat_perm.tpl b/admin/themes/default/template/cat_perm.tpl index 52272e06b..5154e4a2a 100644 --- a/admin/themes/default/template/cat_perm.tpl +++ b/admin/themes/default/template/cat_perm.tpl @@ -1,7 +1,8 @@ {combine_script id='LocalStorageCache' load='footer' path='admin/themes/default/js/LocalStorageCache.js'} +{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"} {footer_script} (function(){ |