source: extensions/cuise/local_head.tpl @ 31775

Last change on this file since 31775 was 19990, checked in by cljosse, 12 years ago
  • [style] cuise save
File size: 1.1 KB
Line 
1{if $themeconf.parent=="elegant"}
2{combine_script id='theme_js' load='header' require='jquery' path="themes/cuise/js/theme.js" }
3{elseif $themeconf.parent=="gally-grum-dark-II"}
4{combine_script id='theme_js' load='header' require='jquery' path="themes/cuise/js/gally_theme.js" }
5{elseif $themeconf.parent=="stripped_black_bloc"}
6{combine_script id='theme_js' load='header' require='jquery' path="themes/cuise/js/stripped_block_theme.js" }
7{/if}
8{php}
9global $themeconf,$mytheme ,$fond_color,$conf ; 
10global $arguments;
11$mytheme = 'themes/'.$themeconf['name'].'/';
12$mycss="theme.css.php";
13
14load_conf_from_db();
15$params = array_merge(unserialize($conf['cuise']));
16 $keys="";
17  foreach($params as $ligne=>$id){
18    $id=str_replace("#","_",$id);
19    $keys .= $ligne ."=".$id ."&";   
20  }
21$args='?'.$keys."redraw=ok";
22if(file_exists( $mytheme."theme.css.css")){
23    $mycss="theme.css.css";
24    $args="";
25}
26{/php}
27<!-- **LOCAL** >HEADER> {$themeconf.name} / {$themeconf.parent} -->
28<link rel="stylesheet" href="{php} echo $mytheme.$mycss.$args; {/php}" type="text/css" /> 
29<!-- **LOCAL** >HEADER> -->
30
31 
Note: See TracBrowser for help on using the repository browser.