Changeset 29389 for trunk/themes


Ignore:
Timestamp:
Sep 3, 2014, 11:02:07 AM (10 years ago)
Author:
plg
Message:

feature 3133: add colorscheme parameter for themes. This way we can use the
appropriate CSS for selectize (and other things)

Location:
trunk/themes
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/themes/clear/themeconf.inc.php

    r26638 r29389  
    1111  'name'  => 'clear',
    1212  'parent' => 'default',
     13  'colorscheme' => 'clear',
    1314);
    1415?>
  • trunk/themes/default/template/search.tpl

    r28746 r29389  
    55
    66{combine_script id='jquery.selectize' load='footer' path='themes/default/js/plugins/selectize.min.js'}
    7 {combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.dark.css"}
     7{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"}
    88
    99{footer_script}
Note: See TracChangeset for help on using the changeset viewer.