Changeset 29389 for trunk/include
- Timestamp:
- Sep 3, 2014, 11:02:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r28917 r29389 178 178 * @param bool $load_local_head 179 179 */ 180 function set_theme($root, $theme, $path, $load_css=true, $load_local_head=true )180 function set_theme($root, $theme, $path, $load_css=true, $load_local_head=true, $colorscheme='dark') 181 181 { 182 182 $this->set_template_dir($root.'/'.$theme.'/'.$path); … … 204 204 } 205 205 $themeconf['id'] = $theme; 206 207 if (!isset($themeconf['colorscheme'])) 208 { 209 $themeconf['colorscheme'] = $colorscheme; 210 } 211 206 212 $this->smarty->append('themes', $tpl_var); 207 213 $this->smarty->append('themeconf', $themeconf, true);
Note: See TracChangeset
for help on using the changeset viewer.