Rev | Line | |
---|
[19486] | 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} |
---|
| 9 | global $themeconf,$mytheme ,$fond_color,$conf ; |
---|
| 10 | global $arguments; |
---|
| 11 | $mytheme = 'themes/'.$themeconf['name'].'/'; |
---|
| 12 | $mycss="theme.css.php"; |
---|
| 13 | |
---|
| 14 | load_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 | } |
---|
[19990] | 21 | $args='?'.$keys."redraw=ok"; |
---|
[19486] | 22 | if(file_exists( $mytheme."theme.css.css")){ |
---|
| 23 | $mycss="theme.css.css"; |
---|
| 24 | $args=""; |
---|
| 25 | } |
---|
[19990] | 26 | {/php} |
---|
[19486] | 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.