From ab00c52430610633768cf3d856f105cad0f52e9d Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 3 Sep 2014 09:02:07 +0000 Subject: 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 --- admin/themes/default/template/include/add_album.inc.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'admin/themes/default/template/include') diff --git a/admin/themes/default/template/include/add_album.inc.tpl b/admin/themes/default/template/include/add_album.inc.tpl index d31cd2da9..988dc1907 100644 --- a/admin/themes/default/template/include/add_album.inc.tpl +++ b/admin/themes/default/template/include/add_album.inc.tpl @@ -1,9 +1,8 @@ {if empty($load_mode)}{$load_mode='footer'}{/if} {include file='include/colorbox.inc.tpl' load_mode=$load_mode} -{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.`$selectizeTheme`.css"} +{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"} {combine_script id='addAlbum' load=$load_mode path='admin/themes/default/js/addAlbum.js'} -- cgit v1.2.3