Changeset 19990
- Timestamp:
- Jan 8, 2013, 12:46:37 PM (11 years ago)
- Location:
- extensions/cuise
- Files:
-
- 6 added
- 1 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/cuise/admin/admin.inc.php
r19486 r19990 36 36 ); 37 37 38 38 $tabsheet->add( 'test', 39 l10n('test'), 40 $my_base_url.'&tab=test' 41 ); 39 42 40 43 if (!isset($_GET['tab'])) … … 69 72 $FileCombiner = new FileCombiner("tpl") ; 70 73 $FileCombiner::clear_combined_files(); 71 //array_push($page['infos'],l10n('parent') . ":" . $_POST['compiled-templates']);72 array_push($page['infos'], l10n('delete_compiled'));74 array_push($page['infos'],l10n('parent') . ":" . $_POST['compiled-templates']); 75 // array_push($page['infos'], l10n('delete_compiled')); 73 76 $parent=$_POST['compiled-templates']; 74 77 $save_options=true ; … … 80 83 } 81 84 $id=0; 82 83 85 $name_tpl = array("fondBG","fondBp","Menu_bar","thumbnail","Header" ); 86 $params = array_merge(unserialize($conf['cuise'])); 84 87 if (isset($_POST['default']) || !isset($params['chk_cuise_0']) ){ 85 88 86 89 $params['parent']= $parent ; 87 90 $params['theme']= 'cuise' ; 88 $name =array("cbmt.gif","bpv.png","bp3.jpg","bph.png","header.png");91 $name_img=array("cbmt.gif","bpv.png","bp3.jpg","bph.png","header.png"); 89 92 for($id=0;$id<$nb_template;$id++){ 90 $params = array_merge($params,array( 91 "bg_cuise_$id" => '#FFA800', 92 "bgho_cuise_$id" => '#0072FF', 93 "bd_cuise_$id" => '#4F4F4F', 94 "co_cuise_$id" => '#4F4F4F', 95 "coho_cuise_$id" => '#F4F4F4', 96 "img_cuise_$id" => $name[$id], 97 "rayon_cuise_$id" => '8px', 98 "chk_cuise_$id" => '', 99 "chk_cuise_x_$id" => '', 100 "chk_cuise_y_$id" => '', 93 $params = array_merge($params,array( 94 "bg_cuise_$id" => '#d4d4d4', 95 "bgho_cuise_$id" => '#A0A0A0', 96 "bd_cuise_$id" => '#4F4F4F', 97 "bdho_cuise_$id" => '#4F4F4F', 98 "bd_width_cuise_$id" => '0px', 99 "co_cuise_$id" => '#4F4F4F', 100 "coho_cuise_$id" => '#5f5f5f', 101 "img_cuise_$id" => $name_img[$id], 102 "chk_cuise_x_$id" => 'checked', 103 "chk_cuise_y_$id" => '', 104 "rayon_cuise_$id" => '8px', 105 "chk_cuise_$id" => '' 101 106 102 107 )); 103 108 } 104 109 $id=0; 105 array_push($page['warnings'], cl_print_var($params));110 // array_push($page['warnings'], cl_print_var($params)); 106 111 $save_options=true ; 107 112 108 113 } 109 $params = array_merge(unserialize($conf['cuise']));110 111 112 114 if ($save_options==true) { 115 // array_push($page['warnings'], print_r($_POST,true)); 113 116 $i="0"; 114 117 $New_params=array(); … … 123 126 "bgho_cuise_$i" => isset($_POST["bgho_cuise_$i"])?$_POST["bgho_cuise_$i"]:$params["bgho_cuise_$i"], 124 127 "bd_cuise_$i" => isset($_POST["bd_cuise_$i"])?$_POST["bd_cuise_$i"]:$params["bd_cuise_$i"], 128 "bdho_cuise_$id" => isset($_POST["bdho_cuise_$i"])?$_POST["bdho_cuise_$i"]:$params["bdho_cuise_$i"], 129 "bd_width_cuise_$id" => isset($_POST["bd_width_cuise_$i"])?$_POST["bd_width_cuise_$i"]:$params["bd_width_cuise_$i"], 125 130 "co_cuise_$i" => isset($_POST["co_cuise_$i"])?$_POST["co_cuise_$i"]:$params["co_cuise_$i"], 126 131 "coho_cuise_$i" => isset($_POST["coho_cuise_$i"])?$_POST["coho_cuise_$i"]:$params["coho_cuise_$i"], 127 132 "img_cuise_$i" =>$img_src, 128 133 "rayon_cuise_$i" => isset($_POST["rayon_cuise_$i"])?$_POST["rayon_cuise_$i"]:$params["rayon_cuise_$i"], 129 "chk_cuise_$i" => isset($_POST["chk_cuise_$i"])?"checked":"no",134 "chk_cuise_$i" => isset($_POST["chk_cuise_$i"])?"checked":"no", 130 135 "chk_cuise_x_$i" => isset($_POST["chk_cuise_x_$i"])?"checked":"no", 131 136 "chk_cuise_y_$i" => isset($_POST["chk_cuise_y_$i"])?"checked":"no", … … 141 146 )); 142 147 143 // array_push($page['warnings'], print_r($params,true));148 // 144 149 conf_update_param('cuise', pwg_db_real_escape_string(serialize($params))); 145 150 array_push($page['infos'], l10n('Your configuration settings are saved')); … … 154 159 $params = array_merge(unserialize($conf['cuise'])); 155 160 156 $name_tpl = array("fondBG","fondBp","fondHoriz","fondVert","Header" ); 161 157 162 158 163 … … 169 174 170 175 get_list_theme(); 171 172 176 $arguments=""; 177 foreach ($params as $key => $value) { 178 $value = str_replace("#", "_", $value); 179 180 $arguments .= "$key=$value&"; 181 } 182 $arguments .="redraw=ok"; 173 183 $template->assign(array( 174 'root' => PHPWG_ROOT_PATH, 175 'theme' => PHPWG_THEME_PATH, 176 "classeRoot" => PHPWG_THEMES_PATH.'cuise/admin/classes/' , 177 'parent' => $parent, 184 'THEME_CUISE_ABS' => realpath(PHPWG_THEMES_PATH.'cuise/admin/'), 185 'root' => PHPWG_ROOT_PATH, 186 'theme' => PHPWG_THEME_PATH, 187 "classeRoot" => PHPWG_THEMES_PATH.'cuise/admin/classes/' , 188 'parent' => $parent, 178 189 179 'nb_template' => $nb_template,180 'ind' => $id,181 'name_tpl' => $name_tpl,190 'nb_template' => $nb_template, 191 'ind' => $id, 192 'name_tpl' => $name_tpl, 182 193 'selected_bg_cuise' => $params['bg_cuise_'.$id], 183 'selected_bgho_cuise' 194 'selected_bgho_cuise' => $params['bgho_cuise_'.$id], 184 195 'selected_bd_cuise' => $params['bd_cuise_'.$id], 185 'selected_co_cuise' => $params['co_cuise_'.$id], 196 'selected_bdho_cuise' => $params['bdho_cuise_'.$id], 197 'selected_bd_width_cuise' => $params['bd_width_cuise_'.$id], 198 199 'selected_co_cuise' => $params['co_cuise_'.$id], 186 200 'selected_coho_cuise' => $params['coho_cuise_'.$id], 187 201 'selected_img_cuise' => $params['img_cuise_'.$id], 188 'selected_x_cuise' => $params['chk_cuise_x_'.$id],189 'selected_y_cuise' => $params['chk_cuise_y_'.$id], 190 'selected_ rayon_cuise' => $params['rayon_cuise_'.$id],191 202 'selected_rayon_cuise' => $params['rayon_cuise_'.$id], 203 204 'selected_chk_x_cuise' => ($params['chk_cuise_x_'.$id]=="checked")?"checked":"", 205 'selected_chk_y_cuise' => ($params['chk_cuise_y_'.$id]=="checked")?"checked":"", 192 206 'selected_chk_cuise' => ($params['chk_cuise_'.$id]=="checked")?"checked":"", 193 'params' => pwg_db_real_escape_string(serialize($params)),207 'params' => $arguments 194 208 195 209 )); … … 222 236 } 223 237 $arguments = $conf['cuise']; 224 238 225 239 $Css =css($theme_css); 226 240 227 241 $message =$theme_css."<br>"; 228 //$message .= cl_print_var($Css)."<br>";242 $message .= cl_print_var($Css)."<br>"; 229 243 //$message .= cl_print_var($BGIMGcss)."<br>"; 230 $message .= cl_print_var($BGcolcss)."<br>";244 //$message .= cl_print_var($BGcolcss)."<br>"; 231 245 232 246 array_push($page['infos'], $message); … … 244 258 $template->assign_var_from_handle('ADMIN_CONTENT', 'theme_admin_content'); 245 259 break ; 246 260 case 'test': 261 $template->set_filenames(array('theme_admin_content' => dirname(__FILE__) . '/cuise_test.tpl')); 262 $template->assign_var_from_handle('ADMIN_CONTENT', 'theme_admin_content'); 263 break ; 247 264 } 248 265 … … 279 296 $replace = array('}|' ,'' ,'' ,'' ,'' ,'' ); 280 297 $string = preg_replace($order, $replace,$string); 281 echo ($string)."<br>";298 282 299 // $string = preg_replace('#/\*.*?\*/#s',"",$string); 283 300 return $string; … … 285 302 286 303 $ret = file_get_contents ($mycssfile); 287 echo $ret;304 // echo $ret; 288 305 289 306 $string= remove_comments( $ret); 290 echo ($string);307 // echo ($string); 291 308 292 309 $newstr = explode('|',$ret); … … 305 322 306 323 if($value){ 307 echo $value."<br>"; 324 308 325 $css2=Array(); 309 326 $key = explode("{",$value); … … 327 344 if(preg_match("/url/",$key2[1])){ 328 345 $head = preg_replace("#(.*)url.(.*?)\)(.*)#is", '$2', $key2[1]); 329 echo $head." ".$key2[0]." ".$key_id."<br>";346 330 347 $BGIMGcss[$head]=array_merge(array( 331 348 "head" => $head, … … 336 353 }elseif(preg_match("/(color)/",$key2[0])){ 337 354 $head = preg_replace("#(.*)color.(.*?);(.*)#is", '$2', $key2[1]); 338 echo $head." ".$key2[0]." ".$key_id."<br>";355 339 356 340 357 $BGcolcss[$head]=array_merge(array( … … 355 372 } 356 373 } 357 echo cl_print_var($css); 358 die(); 374 359 375 return $css; 360 376 } -
extensions/cuise/admin/classes/process.php
r19486 r19990 45 45 'thumbnail_dir'=>$root_img , 46 46 'thumbnail_url'=>$root_img , 47 'thumbnail_dimension'=>array("max_width"=> 120,"max_height"=>120)47 'thumbnail_dimension'=>array("max_width"=>940,"max_height"=>200) 48 48 49 49 ); -
extensions/cuise/admin/cuise_admin.tpl
r19486 r19990 5 5 <script type="text/javascript" src="themes/cuise/admin/js/fileupload.js" ></script> 6 6 <link rel="stylesheet" href="themes/cuise/admin/theme.css" /> 7 <style type='text/css'>8 #result{ldelim} width:auto;height:300px;9 float:right;10 right:0px;11 top:0px;12 overflow:auto;13 }14 .image{ldelim} width:55%;height:300px;15 border:1px solid yellow;16 min-height:300px;17 }18 .filemgt{ldelim}19 z-index:2;20 border:1px solid blue;21 width:auto;22 23 right:0px;24 min-height:400px;25 }26 .filemgt table td{ldelim}27 border:1px solid green28 }29 7 30 31 </style>32 8 <script type="text/javascript"> 33 9 var process_script='{$classeRoot}process.php'; … … 36 12 var path_theme_images='{$theme}images/'; 37 13 38 jQuery(document).ready(function(){ldelim}39 jQuery('#fileInput').ajaxfileuploader({ldelim}40 SCRIPT: process_script,41 PATH: path,42 PATH_THEME: path_theme,43 PATH_IMG:path_theme_images,44 VALIDFORMAT:['jpeg','jpg','png','gif','bmp'],45 MAXUPLOAD:9,46 TABLEHEAD:{ldelim}47 name:'name',48 imgname:'image name',49 operation:'Operation',50 51 }})52 });53 54 jQuery.fn.ajaxfileuploader.defaults = {ldelim}55 SCRIPT: process_script,56 PATH: path,57 PATH_THEME: path_theme,58 PATH_IMG:path_theme_images,59 ACTION: '',60 VALIDFORMAT: ['jpeg', 'jpg', 'png', 'gif', 'bmp'],61 MAXUPLOAD: 5,62 TABLEHEAD: {ldelim} name: 'name',63 imgname: 'image name',64 operation: 'Operation'65 66 }67 }68 14 69 15 </script> … … 75 21 <form action="" method="post"> 76 22 77 <fieldset >23 <fieldset id="field_content" > 78 24 <legend>{'Color of theme'|@translate}</legend> 79 25 <div id="textcolor"> 80 <fieldset ><legend>Select</legend> 81 {foreach from=$name_tpl item=name_1 name=t} 82 <input type="submit" name="sel_tab" value="{$smarty.foreach.t.index}" ><span>{$name_1}</span> 83 {/foreach} 26 <fieldset id="selTab" > 27 <legend>Select</legend> 28 {foreach from=$name_tpl item=name_1 name=t} 29 <input type="submit" name="sel_tab" value="{$smarty.foreach.t.index}" ><span>{$name_1}</span> 30 {/foreach} 31 </fieldset> 32 <fieldset class="fld1" > 33 <legend>{$name_tpl.$ind}</legend> 34 <table> <tr > 35 <td >type</td> 36 <td style="width:50px" > </td> 37 <td>color</td> 38 <td>hover</td> 39 </tr> 40 41 <tr><td>{'Rayon'|@translate}:</td> 42 <td class="form-item"> 43 <input type="text" id= "rayon_cuise" size=6 name="rayon_cuise_{$ind}" class="color" value="{$selected_rayon_cuise}" /> 44 </td> 45 <td> </td> 46 <td> </td> 47 </tr> 48 49 50 <tr><td>{'Background'|@translate}:</td> 51 <td><input id= "chk_cuise" name="chk_cuise_{$ind}" type=checkbox value="chk_cuise" {$selected_chk_cuise} /></td> 52 <td class="form-item"> 53 <input type="text" id="bg_cuise" name="bg_cuise_{$ind}" class="colorwell" value="{$selected_bg_cuise}" /> 54 </td> 55 <td class="form-item"> 56 <input type="text" id="bgho_cuise" name="bgho_cuise_{$ind}" class="colorwell" value="{$selected_bgho_cuise}" /> 57 </td> 58 <td></td> 59 </tr> 60 61 <tr> <td>{'Border'|@translate}:</td> 62 <td class="form-item"> 63 <input type="text" id="bd_width" size="6" name="bd_width_cuise_{$ind}" class="text" value="{$selected_bd_width_cuise}" /> 64 </td> 65 <td><input type="text" id="bd_cuise" name="bd_cuise_{$ind}" class="colorwell" value="{$selected_bd_cuise}" /> 66 </td> 67 <td class="form-item"> 68 <input type="text" id="bdho_cuise" name="bdho_cuise_{$ind}" class="colorwell" value="{$selected_bdho_cuise}" /> 69 </td> 70 </tr> 71 72 <tr><td>{'Text color'|@translate}:</td> 73 <td></td> 74 <td class="form-item"> 75 76 <input type="text" id="co_cuise" name="co_cuise_{$ind}" class="colorwell" value="{$selected_co_cuise}" /> 77 </td> 78 <td class="form-item"> 79 80 <input type="text" id="coho_cuise" name="coho_cuise_{$ind}" class="colorwell" value="{$selected_coho_cuise}" /> 81 </td> 82 </tr> 83 </table> 84 85 <div class="form-item"> 86 <label>{'Image'|@translate}:</label> 87 <label id="img_src" >{$theme}images/{$selected_img_cuise} </label> 88 <p> 89 <label >{'repeat x'|@translate} </label> <input id="chk_cuise_x" name="chk_cuise_x_{$ind}" type=checkbox value="chk_cuise_x" {$selected_chk_x_cuise} /> 90 <label >{'repeat y'|@translate} </label> <input id="chk_cuise_y" name="chk_cuise_y_{$ind}" type=checkbox value="chk_cuise_y" {$selected_chk_y_cuise} /> 91 92 </div> 93 <input type="submit" name="default" value="{'Default'|@translate}" > 94 95 </fieldset> 96 <fieldset> 97 <input type="submit" name="compiled-templates" id="compiled-templates" value="{$parent}" > 98 <ul> 99 <li>{strip}{'Parent theme'|@translate}: 100 <select onchange="javascript:jQuery('#compiled-templates').val(this.value).click();"> 101 {foreach from=$list_themes item=list_theme} 102 <option value="{$list_theme.id}" {if $list_theme.name==$parent } selected="selected" {/if } > {$list_theme.name} </option><br> 103 {/foreach} 104 </select> 105 {/strip}</li> 106 </ul> 107 </fieldset> 108 </div> 109 110 <fieldset id="fldres"> 111 <div id="picker"></div> 112 <div id="test" class="image" ></div> 113 <div class="fondBG" style="min-height:100px" ><a href="">fondBG</a></div> 114 <div class="fondBP"><a href="">fondBP</a></div> 115 <div class="Menu_bar"><a href="">Menu_bar</a></div> 116 <div class="thumbnail"><a href="">thumbnail</a></div> 117 118 </fieldset> 119 120 121 {if $selected_chk_cuise!="checked"} <fieldset tyle="width:200px;align:left"> 122 <div id="result" classe="texture" > 123 </div> 124 125 <input type="text" name="img_cuise_{$ind}" id='fileInputTxt' value="{$selected_img_cuise}" /> 126 <label>Upload</label>:<input type='file' size="60" value="{$theme}images/{$selected_img_cuise}" id='fileInput' > 127 </field> 128 {/if} 84 129 85 130 86 </fieldset> 87 <fieldset class="fld1" ><legend>{$name_tpl.$ind}</legend> 131 {footer_script} 88 132 89 <div class="form-item"><label> 90 {'Rayon'|@translate}:</label> 91 <input type="text" name="rayon_cuise_{$ind}" class="color" value="{$selected_rayon_cuise}" /> 92 </div> 93 94 <div class="form-item"><label>{'Background color'|@translate}:</label> 95 <input type="text" name="bg_cuise_{$ind}" class="colorwell" value="{$selected_bg_cuise}" /> 96 </div> 97 <div class="form-item"><label>{'Background color hover'|@translate}:</label> 98 <input type="text" name="bgho_cuise_{$ind}" class="colorwell" value="{$selected_bgho_cuise}" /> 99 </div> 100 101 <div class="form-item"> 102 <label>{'Border color'|@translate}:</label><input type="text" name="bd_cuise_{$ind}" class="colorwell" value="{$selected_bd_cuise}" /> 103 </div> 104 <div class="form-item"> 105 <label>{'Text color'|@translate}:</label> 106 <input type="text" name="co_cuise_{$ind}" class="colorwell" value="{$selected_co_cuise}" /> 107 </div> 108 <div class="form-item"> 109 <label>{'Text color hover'|@translate}:</label> 110 <input type="text" name="coho_cuise_{$ind}" class="colorwell" value="{$selected_coho_cuise}" /> 111 </div> 133 var process_script='{$classeRoot}process.php'; 134 var path='{$root}' 135 var path_theme='{$theme}'; 136 var path_theme_images='{$theme}images/'; 137 var name_tpl = Array( 138 {foreach from=$name_tpl item=name_id name=t} 139 '{$name_id}', 140 {/foreach} 141 'end' 142 ); 112 143 113 144 114 <div class="form-item"> 115 <label>{'Image'|@translate}:</label> 116 117 <p> 118 <label >{$theme}images/{$selected_img_cuise} </label> 119 <p> 120 <label >{'repeat x'|@translate} </label> <input name="chk_cuise_x_{$ind}" type=checkbox value="chk_cuise_x" {$selected_chk_x_cuise} /> 121 122 123 <label >{'repeat y'|@translate} </label> <input name="chk_cuise_y_{$ind}" type=checkbox value="chk_cuise_y" {$selected_chk_y_cuise} /> 124 125 126 <p> 127 <p> 128 <label >{'no background'|@translate} </label> <input name="chk_cuise_{$ind}" type=checkbox value="chk_cuise" {$selected_chk_cuise} /> 129 </div> 145 {literal}{/literal}{/footer_script} 146 </fieldset> 147 <fieldset> 148 <input type="submit" name="submit" id="send" value="{'Submit'|@translate}_{$ind}"> 149 <a href="themes/cuise/theme.css.php?{$params}" >Sauvegarde</a> 150 </fieldset> 151 </form> 130 152 131 153 132 154 133 134 </fieldset>135 <p> <input type="submit" name="default" value="{'Default'|@translate}" >136 <input type="submit" name="compiled-templates" id="compiled-templates" value="{$parent}" >137 </p>138 <p>139 140 <ul>141 <li>{strip}{'Parent theme'|@translate}: 142 143 <select onchange="javascript:jQuery('#compiled-templates').val(this.value).click();">144 145 {foreach from=$list_themes item=list_theme}146 <option value="{$list_theme.id}" {if $list_theme.name==$parent } selected="selected" {/if } >{$list_theme.name} </option><br>147 {/foreach}148 149 </select>150 {/strip}</li>151 </ul>152 </p>153 </div>154 155 <div id="picker"></div>156 157 158 <style>159 #thePicturePage{ldelim}160 background-color:{$selected_bg_cuise};161 {if $selected_chk_cuise!="checked"}162 background-image:url({$theme}images/{$selected_img_cuise}) ;163 {else}164 background-image:none ;165 {/if}166 background-repeat: repeat-x;167 float:right;168 right:0px;169 width:450px;170 height:300px;171 border:3px solid {$selected_bd_cuise};172 173 -moz-border-radius: {$selected_rayon_cuise} ;174 border-radius: {$selected_rayon_cuise} {$selected_rayon_cuise};175 176 }177 #thePicturePage a:hover{ldelim}178 color:{$selected_coho_cuise};179 }180 181 #thePicturePage:hover{ldelim}182 background-color:{$selected_bgho_cuise};183 background-image:url({$theme}images/hover_{$selected_img_cuise}) ;184 background-repeat: repeat-x;185 186 }187 #theHeader a{ldelim}188 color:{$selected_co_cuise};189 }190 #menubar a{ldelim}191 color:{$selected_co_cuise};192 }193 .wrap1 , .wrap2 a{ldelim}194 color:{$selected_co_cuise};195 }196 </style>197 198 199 <div id="thePicturePage" class="image admin" >200 <div id="theHeader" style="padding:100px" >201 <a name='test' > {$theme}images/{$selected_img_cuise}</a>202 </div>203 204 <div id="#menubar" >205 <dt>206 test 1207 </dt>208 <dt>209 test 2210 </dt>211 212 </div>213 <div class="wrap1" >214 215 <div class="wrap2" >216 217 </div>218 219 </div>220 </div>221 222 {if $selected_chk_cuise!="checked"}223 <label>Name</label>:224 <input type="text" name="img_cuise_{$ind}" id='fileInputTxt' value="{$selected_img_cuise}" />225 <label>Upload</label>:<input type='file' size="60" value="{$theme}images/{$selected_img_cuise}" id='fileInput' >226 <div id="result" style="float:left" >227 228 </div>229 230 231 232 233 234 {/if}235 236 </fieldset>237 {footer_script}{literal}238 239 {/literal}{/footer_script}240 <p><input type="submit" name="submit" id="send" value="{'Submit'|@translate}_{$ind}">241 </form>242 <a href="themes/cuise/theme.css.php?{$options}" >Sauvegarde</a> -
extensions/cuise/admin/cuise_texture.tpl
r19486 r19990 12 12 } 13 13 .image{ldelim} width:55%;height:300px; 14 border: 1px solid yellow;14 border:5px solid grey; 15 15 min-height:300px; 16 16 } … … 78 78 <fieldset > 79 79 <fieldset > 80 <div id="result" class="texture" >80 <div id="result" class="texture" > 81 81 82 82 </div> 83 <div id='queuearea' class="image texture" >83 <div id='queuearea' class="image texture" > 84 84 85 85 </div> -
extensions/cuise/admin/img.html
r19486 r19990 101 101 </ul> 102 102 </dd> </dl> 103 </div><div id="menuSwitcher"></div> 103 </div> 104 105 <div id="menuSwitcher"></div> 104 106 105 107 <div id="content" class="content contentWithMenu"> … … 118 120 </li> 119 121 <li><a href="map.php?/categories" title="afficher Accueil sur la carte" rel="nofollow" class="pwg-state-default pwg-button"><span class="pwg-icon pwg-icon-map"> </span><span class="pwg-button-text">Carte</span></a></li><li><a id="themeSwitchLink" title="Thème de l'interface" class="pwg-state-default pwg-button" rel="nofollow"><span class="pwg-icon" style="background:url('./plugins/theme_switch/icon.png') center center no-repeat;"> </span><span class="pwg-button-text">Thème de l'interface</span></a><div id="themeSwitchBox" class="switchBox"><div class="switchBoxTitle">Thème de l'interface</div><a rel="nofollow" href="index.php?/categories&theme=blancmontxl" title="BlancMont XL"><img src="./themes/blancmontxl/screenshot.png" alt="BlancMont XL" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=cuise" title="Cuise"><img src="./themes/cuise/screenshot.png" alt="Cuise" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=stripped_cuise_bloc" title="Cuise stripped & columns"><img src="./themes/stripped_cuise_bloc/screenshot.png" alt="Cuise stripped & columns" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=dark" title="dark"><img src="./themes/dark/screenshot.png" alt="dark" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=elegant" title="elegant"><img src="./themes/elegant/screenshot.png" alt="elegant" class="theme-thumb"></a><br><a rel="nofollow" href="index.php?/categories&theme=Float" title="Float"><img src="./themes/Float/screenshot.png" alt="Float" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=flop_mauve" title="flop_mauve"><img src="./themes/flop_mauve/screenshot.png" alt="flop_mauve" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=gally-cuise" title="Gally/Cuise"><img src="./themes/gally-cuise/screenshot.png" alt="Gally/Cuise" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=gally-grum-dark-II" title="Gally/Grum dark II"><img src="./themes/gally-grum-dark-II/screenshot.png" alt="Gally/Grum dark II" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=gally-minimalist" title="Gally/Minimalist"><img src="./themes/gally-minimalist/screenshot.png" alt="Gally/Minimalist" class="theme-thumb"></a><br><a rel="nofollow" href="index.php?/categories&theme=hr_glass_xl" title="hr_glass_xl"><img src="./themes/hr_glass_xl/screenshot.png" alt="hr_glass_xl" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=kardon" title="Kardon"><img src="./themes/kardon/screenshot.png" alt="Kardon" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=montblancxl" title="Montblanc XL"><img src="./themes/montblancxl/screenshot.png" alt="Montblanc XL" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=OS_glass_clear" title="OS_glass_clear"><img src="./themes/OS_glass_clear/screenshot.png" alt="OS_glass_clear" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=Pure_freaky" title="Pure_freaky"><img src="./themes/Pure_freaky/screenshot.png" alt="Pure_freaky" class="theme-thumb"></a><br><a rel="nofollow" href="index.php?/categories&theme=simple-black" title="Simple Black"><img src="./themes/simple-black/screenshot.png" alt="Simple Black" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=simple" title="Simple Grey"><img src="./themes/simple/screenshot.png" alt="Simple Grey" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=simple-white" title="Simple White"><img src="./themes/simple-white/screenshot.png" alt="Simple White" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=simpleng" title="SimpleNG"><img src="./themes/simpleng/screenshot.png" alt="SimpleNG" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=Slim" title="Slim"><img src="./themes/Slim/screenshot.png" alt="Slim" class="theme-thumb"></a><br><a rel="nofollow" href="index.php?/categories&theme=stripped" title="stripped"><img src="./themes/stripped/screenshot.png" alt="stripped" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=stripped_black_bloc" title="Stripped & Columns"><img src="./themes/stripped_black_bloc/screenshot.png" alt="Stripped & Columns" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=Sylvia" title="Sylvia"><img src="./themes/Sylvia/screenshot.png" alt="Sylvia" class="theme-thumb"></a><a rel="nofollow" href="index.php?/categories&theme=VerticalWhite" title="VerticalWhite"><img src="./themes/VerticalWhite/screenshot.png" alt="VerticalWhite" class="theme-thumb"></a></div></li> 120 121 122 123 124 125 126 122 <li><a id="languageSwitchLink" title="Langue" class="pwg-state-default pwg-button" rel="nofollow"><span class="pwg-icon" style="background:url('language/fr_FR/fr_FR.jpg') center center no-repeat;"> </span><span class="pwg-button-text">Langue</span></a><div id="languageSwitchBox" class="switchBox"><div class="switchBoxTitle">Langue</div><a rel="nofollow" href="index.php?/categories&lang=pt_BR"><img class="flags" src="language/pt_BR/pt_BR.jpg" alt="Brasil [BR]"> Brasil </a><a rel="nofollow" href="index.php?/categories&lang=cs_CZ"><img class="flags" src="language/cs_CZ/cs_CZ.jpg" alt="Česky [CZ]"> Česky </a><a rel="nofollow" href="index.php?/categories&lang=da_DK"><img class="flags" src="language/da_DK/da_DK.jpg" alt="Dansk [DK]"> Dansk </a><br><a rel="nofollow" href="index.php?/categories&lang=de_DE"><img class="flags" src="language/de_DE/de_DE.jpg" alt="Deutsch [DE]"> Deutsch </a><a rel="nofollow" href="index.php?/categories&lang=en_UK"><img class="flags" src="language/en_UK/en_UK.jpg" alt="English [UK]"> English </a><a rel="nofollow" href="index.php?/categories&lang=es_AR"><img class="flags" src="language/es_AR/es_AR.jpg" alt="Español [AR]"> Español </a><br><a rel="nofollow" href="index.php?/categories&lang=fr_FR"><img class="flags" src="language/fr_FR/fr_FR.jpg" alt="Français [FR]"> Français </a><a rel="nofollow" href="index.php?/categories&lang=hr_HR"><img class="flags" src="language/hr_HR/hr_HR.jpg" alt="Hrvatski [HR]"> Hrvatski </a><a rel="nofollow" href="index.php?/categories&lang=it_IT"><img class="flags" src="language/it_IT/it_IT.jpg" alt="Italiano [IT]"> Italiano </a><br><a rel="nofollow" href="index.php?/categories&lang=hu_HU"><img class="flags" src="language/hu_HU/hu_HU.jpg" alt="Magyar [HU]"> Magyar </a><a rel="nofollow" href="index.php?/categories&lang=nl_NL"><img class="flags" src="language/nl_NL/nl_NL.jpg" alt="Nederlands [NL]"> Nederlands </a><a rel="nofollow" href="index.php?/categories&lang=pl_PL"><img class="flags" src="language/pl_PL/pl_PL.jpg" alt="Polski [PL]"> Polski </a><br><a rel="nofollow" href="index.php?/categories&lang=pt_PT"><img class="flags" src="language/pt_PT/pt_PT.jpg" alt="Português [PT]"> Português </a><a rel="nofollow" href="index.php?/categories&lang=ro_RO"><img class="flags" src="language/ro_RO/ro_RO.jpg" alt="Română [RO]"> Română </a><a rel="nofollow" href="index.php?/categories&lang=sr_RS"><img class="flags" src="language/sr_RS/sr_RS.jpg" alt="Srpski [SR]"> Srpski </a><br><a rel="nofollow" href="index.php?/categories&lang=tr_TR"><img class="flags" src="language/tr_TR/tr_TR.jpg" alt="Türkçe [TR]"> Türkçe </a><a rel="nofollow" href="index.php?/categories&lang=vi_VN"><img class="flags" src="language/vi_VN/vi_VN.jpg" alt="Vietnamese [VN]"> Vietnamese </a><a rel="nofollow" href="index.php?/categories&lang=mk_MK"><img class="flags" src="language/mk_MK/mk_MK.jpg" alt="Македонски [MK]"> Македонски </a><br><a rel="nofollow" href="index.php?/categories&lang=ru_RU"><img class="flags" src="language/ru_RU/ru_RU.jpg" alt="Русский [RU]"> Русский </a><a rel="nofollow" href="index.php?/categories&lang=ar_SA"><img class="flags" src="language/ar_SA/ar_SA.jpg" alt="العربية [AR]"> العربية </a><a rel="nofollow" href="index.php?/categories&lang=ja_JP"><img class="flags" src="language/ja_JP/ja_JP.jpg" alt="日本語 [JP]"> 日本語 </a><br><a rel="nofollow" href="index.php?/categories&lang=zh_CN"><img class="flags" src="language/zh_CN/zh_CN.jpg" alt="简体中文 [CN]"> 简体中文 </a></div></li> 127 128 129 130 131 132 133 123 </ul> 134 135 124 <h2><a href="http://192.168.1.25/cl.josse.free.fr/Galerie">Accueil</a></h2> 136 137 138 139 125 </div> 140 141 126 <ul class="thumbnailCategories"> 142 127 <li class="even"> -
extensions/cuise/admin/js/admin.js
r19486 r19990 1 1 jQuery(document).ready(function () { 2 2 var input = $("input:file").val(); 3 var init_width; 4 5 if (jQuery('#fileInput').ajaxfileuploader) { 6 jQuery('#fileInput').ajaxfileuploader({ 7 SCRIPT: process_script, 8 PATH: path, 9 PATH_THEME: path_theme, 10 PATH_IMG: path_theme_images, 11 VALIDFORMAT: ['jpeg', 'jpg', 'png', 'gif', 'bmp'], 12 MAXUPLOAD: 9, 13 TABLEHEAD: { 14 name: 'name', 15 imgname: 'image name', 16 operation: 'Operation' 17 } 18 } 19 ) 20 21 22 jQuery.fn.ajaxfileuploader.defaults = { 23 SCRIPT: process_script, 24 PATH: path, 25 PATH_THEME: path_theme, 26 PATH_IMG: path_theme_images, 27 ACTION: '', 28 VALIDFORMAT: ['jpeg', 'jpg', 'png', 'gif', 'bmp'], 29 MAXUPLOAD: 5, 30 TABLEHEAD: { name: 'name', 31 imgname: 'image name', 32 operation: 'Operation' 33 } 34 } 35 } 36 37 38 jQuery(window).resize(function (i) { 39 if (jQuery("#picker").lenght > 0) { 40 init_left = jQuery("#picker").offset().left - jQuery("#field_content").offset().left; 41 init_left = jQuery("#picker").width() + init_left; 42 width = jQuery("#field_content").width() - init_left - 60; 43 marge = jQuery("#test").css("border"); 44 jQuery("#test").width(width); 45 jQuery("#test").css({ 46 float: "right", 47 right: "0px" 48 }); 49 } 50 }); 51 52 53 jQuery(".image").live('change', function (e) { 54 55 imgname = jQuery(".image").css("background-image"); 56 }); 3 57 4 58 //=================================== … … 16 70 17 71 }); 18 72 var text_id = ""; 73 jQuery("*").mouseover(function (i) { 74 return; 75 76 id = jQuery(i.currentTarget).attr("id"); 77 name = jQuery(i.currentTarget).attr("name"); 78 var yourClass = i.currentTarget.className; 79 if (yourClass == "select") return; 80 81 current = jQuery(i.currentTarget); 82 jQuery("#infos").text(id); 83 if (text_id != "") { 84 jQuery(i.currentTarget).css("border", "solid 0px red"); 85 jQuery("#infos").text(text_id); 86 text_id = ""; 87 } 88 89 return; 90 }); 91 jQuery("*").mouseout(function (i) { 92 return; 93 id = jQuery(i.currentTarget).attr("id"); 94 name = jQuery(i.currentTarget).attr("name"); 95 var yourClass = i.currentTarget.className; 96 if (yourClass == "select") 97 jQuery(i.currentTarget).css("border", "solid 0px red"); 98 99 return; 100 }); 101 jQuery(window).load(function (i) { 102 jQuery(window).resize(); 103 options = Get_Options(); 104 105 106 107 jQuery(".image").css(options.direct); 108 jQuery(".image a").css("color", options.direct.color); 109 jQuery(".image a:hover").css("color", options.Hover.color); 110 jQuery(".image:hover border-color").css("color", options.Hover.color); 111 112 jQuery("#selTab input").click(function (i) { 113 return; 114 115 id = jQuery(i.currentTarget).attr("id"); 116 name = jQuery(i.currentTarget).attr("name"); 117 if (name == "sel_tab") { 118 options = Get_Options(); 119 120 switch (i.currentTarget.value) { 121 case "0": 122 123 break; 124 case "1": 125 break; 126 case "2": 127 break; 128 case "3": 129 break; 130 case "4": 131 break; 132 } 133 134 135 if (!options) return; 136 jQuery("." + name).css(options); 137 jQuery(".image").css(options.direct); 138 jQuery(".image").css(options.direct); 139 jQuery(".image a").css("color", options.direct.color); 140 jQuery(".image a:hover").css("color", options.Hover.color); 141 jQuery(".image:hover border-color").css("color", options.Hover.color); 142 return; 143 } 144 145 146 var yourClass = i.currentTarget.className; 147 148 if (text_id == "") { 149 text_id = id + " ," + yourClass + " ," + i.currentTarget.nodeName; 150 jQuery("#infos").text(text_id); 151 } 152 153 154 }); 155 156 }); 157 function Get_Options() { 158 options = { direct: { 159 rayon: jQuery("#rayon_cuise").val(), 160 chk_cuise: jQuery("#chk_cuise").val(), 161 backgroundColor: jQuery("#bg_cuise").val(), 162 163 164 backgroundImage: "url(" + jQuery("#img_src").text() + ")", 165 166 borderColor: jQuery("#bd_cuise").val(), 167 borderWidth: jQuery("#bd_width").val(), 168 169 170 //backgroundRepeat: jQuery("." + name).css('backgroundRepeat'), 171 backgroundPosition: "center center", 172 173 color: jQuery("#co_cuise").val() 174 175 }, Hover: { 176 backgroundColor: jQuery("#bgho_cuise").val(), 177 borderColor: jQuery("#bdho_cuise").val(), 178 color: jQuery("#coho_cuise").val() 179 } 180 } 181 return options; 182 } 183 184 jQuery("input").click(function (i) { 185 tg = i.target; 186 name_tpl = name_tpl; 187 188 189 n = jQuery(this).attr("name"); 190 if (n == "sel_tab") return; 191 192 types = n.split("_"); 193 194 if (n.lastIndexOf("_") < 0) return; 195 id = n.substring(n.lastIndexOf("_") + 1); 196 if (!isNaN(id)) { 197 name = name_tpl[id]; 198 type = types[0]; 199 new_val = jQuery(tg).val(); 200 options = Get_Options(); 201 202 203 switch (type) { 204 case 'rayon': 205 206 options.direct['MozBorderRadius'] = new_val; 207 options.direct['borderRadius'] = new_val + " " + new_val; 208 209 210 break; 211 212 case 'bg': 213 options.direct['backgroundColor'] = new_val; 214 break; 215 case 'bgho': 216 name = name + ""; 217 options.Hover['backgroundColor'] = new_val; 218 break; 219 case 'bd': 220 221 if (types[1] == 'width') { 222 options.direct['borderStyle'] = "Solid"; 223 options.direct['borderWidth'] = new_val; 224 } else { 225 options.direct['borderColor'] = new_val; 226 } 227 break; 228 case 'bdho': 229 name = name + ""; 230 options.Hover['borderColor'] = new_val; 231 break; 232 case 'co': 233 name = name + " a"; 234 options.direct['color'] = new_val; 235 break; 236 case 'coho': 237 name = name + " a"; 238 options.Hover['color'] = new_val; 239 break; 240 241 case 'chk': 242 243 switch (types[2]) { 244 case 'x': 245 options.direct['backgroundRepeat'] = 'repeat-x'; 246 break; 247 case 'y': 248 options.direct['backgroundRepeat'] = 'repeat-y'; 249 break; 250 case id: 251 img_src = jQuery("#img_src").text(); 252 if (tg.checked) { 253 options.direct['backgroundImage'] = 'none'; 254 } else { 255 options.direct['backgroundColor'] = 'Transparent'; 256 options.direct['backgroundImage'] = "url(" + img_src + ")"; 257 options.direct['backgroundPosition'] = "center center"; 258 } 259 break; 260 } 261 break; 262 263 264 } 265 266 267 delta = parseInt(options['borderWidth']) * 2; 268 width = jQuery("#fldres").width() - jQuery("#picker").width() - 55; 269 width -= delta; 270 jQuery("#test").width(width); 271 272 jQuery("." + name).css( options.direct ); 273 jQuery("." + name +":hover" ).css( "color",options.Hover.color ); 274 275 } 276 }); 19 277 20 278 … … 24 282 }); 25 283 26 var f = jQuery.farbtastic('#picker'); 27 var p = jQuery('#picker').css('opacity', 1); 28 var selected; 29 jQuery('.colorwell') 30 .each(function () { 31 f.linkTo(this); 32 $(this).css('opacity', 1); 33 34 }) 35 .focus(function () { 36 if (selected) { 37 $(selected).css('opacity', 1).removeClass('colorwell-selected'); 38 } 39 f.linkTo(this); 40 p.css('opacity', 1); 41 $(selected = this).css('opacity', 1).addClass('colorwell-selected'); 42 col = $(selected = this).css("backgroundColor"); 43 44 }); 284 45 285 }); 46 286 -
extensions/cuise/admin/js/fileupload.js
r19486 r19990 45 45 jQuery("#fileInputTxt").val(name); 46 46 jQuery(".image").css({ backgroundImage: "url(" + imgname + ")" }); 47 jQuery(".image").trigger("change"); 47 48 return; 48 49 … … 186 187 jQuery(document).ready(function () { 187 188 jQuery(window).load(function (i) { 188 189 if(!jQuery.farbtastic) return ; 190 191 var f = jQuery.farbtastic('#picker'); 192 var p = jQuery('#picker').css('opacity', 1); 193 var selected; 194 jQuery('.colorwell') 195 .each(function () { 196 f.linkTo(this); 197 $(this).css('opacity', 1); 198 199 }) 200 .focus(function () { 201 if (selected) { 202 $(selected).css('opacity', 1).removeClass('colorwell-selected'); 203 } 204 f.linkTo(this); 205 p.css('opacity', 1); 206 $(selected = this).css('opacity', 1).addClass('colorwell-selected'); 207 col = $(selected = this).css("backgroundColor"); 208 209 }); 189 210 }); 190 211 }); … … 192 213 193 214 215 -
extensions/cuise/admin/maintain.inc.php
r19486 r19990 12 12 $params['theme'] = 'cuise' ; 13 13 14 $name_ tpl=array("cbmt.gif","bpv.jpg","bp3.jpg","bph.png","header.png");14 $name_img=array("cbmt.gif","bpv.jpg","bp3.jpg","bph.png","header.png"); 15 15 for($id=0;$id<$nb_template;$id++){ 16 16 $params = array_merge($params,array( 17 "bg_cuise_$id" => '#FFA800', 18 "bgho_cuise_$id" => '#0072FF', 19 "bd_cuise_$id" => '#4F4F4F', 20 "co_cuise_$id" => '#4F4F4F', 21 "coho_cuise_$id" => '#F4F4F4', 22 "img_cuise_$id" => $name_tpl[$id], 23 "chk_cuise_x_$id" => 'checked', 24 "chk_cuise_y_$id" => '', 25 "rayon_cuise_$id" => '8px', 17 "bg_cuise_$id" => '#d4d4d4', 18 "bgho_cuise_$id" => '#A0A0A0', 19 "bd_cuise_$id" => '#4F4F4F', 20 "bdho_cuise_$id" => '#4F4F4F', 21 "bd_width_cuise_$id" => '0px', 22 "co_cuise_$id" => '#4F4F4F', 23 "coho_cuise_$id" => '#5f5f5f', 24 "img_cuise_$id" => $name_img[$id], 25 "chk_cuise_x_$id" => 'checked', 26 "chk_cuise_y_$id" => '', 27 "rayon_cuise_$id" => '8px', 26 28 "chk_cuise_$id" => '' 27 29 )); -
extensions/cuise/admin/theme.css
r19486 r19990 150 150 } 151 151 152 form{text-align:left; 153 } 154 155 #result { 156 width: 100%; 157 height: 200px; 158 float: right; 159 right: 0px; 160 top: 0px; 161 overflow: scroll; 162 } 163 .image{ 164 border:1px solid grey; 165 min-height:235px; 166 } 167 .image a{ 168 color: green; 169 170 } 171 .image a:hover{ 172 color: blue; 173 174 } 175 .filemgt{ 176 float:left; 177 z-index:2; 178 border:1px solid blue; 179 width:100%; 180 181 left:0px; 182 min-height:400px; 183 } 184 .filemgt table td{ 185 border:1px solid green 186 } 187 188 #thePage { 189 position: absolute; 190 margin:10px; 191 width: 80%; 192 height: inherit; 193 border: thin outset #CC0000; 194 } 195 #footer{ 196 position: fixed; 197 } 198 #content{ 199 mini-height:100%; 200 } -
extensions/cuise/js/theme.js
r19486 r19990 1 1 /* ----------------------------------------------------------------------------- 2 GALLY-CUISE2 cuise 3 3 Template for Piwigo 4 4 ------------------------------------------------------------------------------ … … 8 8 ------------------------------------------------------------------------------ 9 9 author: cljosse at piwigo.org 10 << May the Little SpaceFrog be with you >>11 10 ------------------------------------------------------------------------------ 12 11 Specific JS for the theme 13 14 see the release_notes.txt file for more informations15 12 ----------------------------------------------------------------------------- */ 16 13 -
extensions/cuise/local_head.tpl
r19486 r19990 19 19 $keys .= $ligne ."=".$id ."&"; 20 20 } 21 $args='?'.$keys."redraw= 'ok'";21 $args='?'.$keys."redraw=ok"; 22 22 if(file_exists( $mytheme."theme.css.css")){ 23 23 $mycss="theme.css.css"; 24 24 $args=""; 25 25 } 26 {/php} 27 28 29 30 26 {/php} 31 27 <!-- **LOCAL** >HEADER> {$themeconf.name} / {$themeconf.parent} --> 32 28 <link rel="stylesheet" href="{php} echo $mytheme.$mycss.$args; {/php}" type="text/css" /> -
extensions/cuise/theme.css.php
r19486 r19990 1 1 <?php 2 3 $patterns = array(); 2 $patterns = array(); 4 3 $patterns[0] = '_'; 5 4 $replacements = array(); … … 7 6 if ( !isset($_GET['theme']) ) { 8 7 global $nb_template; 9 $nb_template=5 ; 10 11 $params['theme']="cuise"; 12 $params['parent']="cuise"; 13 14 $keys=array(); 15 $name=array("cbmt.gif","bpv.png","bp3.jpg","bph.png"); 8 $nb_template=5 ; 9 $params['theme']="cuise"; 10 $params['parent']="cuise"; 11 $params['redraw']="ok"; 12 $keys=array(); 13 $name_img=array("cbmt.gif","bpv.png","bp3.jpg","bph.png","header.png"); 16 14 for($id=0;$id<$nb_template;$id++){ 17 15 $params = array_merge($params,array( 18 "bg_cuise_$id" => '# FFA800',19 "bgho_cuise_$id" => '# 0072FF',16 "bg_cuise_$id" => '#d4d4d4', 17 "bgho_cuise_$id" => '#a0a0a0', 20 18 "bd_cuise_$id" => '#4F4F4F', 21 19 "co_cuise_$id" => '#4F4F4F', 22 "coho_cuise_$id" => '#F4F4F4', 23 "img_cuise_$id" => $name[$id], 20 "coho_cuise_$id" => '#5f5f5f', 21 "img_cuise_$id" => $name_img[$id], 22 "chk_cuise_x_$id" => 'checked', 23 "chk_cuise_y_$id" => '', 24 24 "rayon_cuise_$id" => '8px', 25 "chk_cuise_$id" => ' nochecked',25 "chk_cuise_$id" => '' 26 26 27 27 )); 28 28 } 29 29 $keys=$params ; 30 31 30 32 $keys['theme']="cuise";33 $keys['parent']="cuise";34 31 }else{ 35 32 $keys=$_GET; 36 33 } 37 38 global $theme ; 34 global $theme ; 39 35 $theme_dir = $keys['theme']; 40 $theme_parent = $keys['parent']; 41 36 $theme_parent = $keys['parent']; 42 37 /*===============================================*/ 43 38 if ($keys['chk_cuise_0']!='checked'){ 44 39 $fondBG = "url(./images/" . $keys['img_cuise_0'].")" ; 45 $fondBG_hover = "url( images/hover_" . $keys['img_cuise_0'].")" ;40 $fondBG_hover = "url(./images/hover_" . $keys['img_cuise_0'].")" ; 46 41 }else { 47 42 $fondBG ="none"; 48 43 $fondBG_hover ="none"; 49 44 } 50 51 52 53 $rayon_0 = $keys['rayon_cuise_0']; 45 $fondBG_rayon = $keys['rayon_cuise_0']; 54 46 $fondBG_color = str_replace("_", "#", $keys['bg_cuise_0']); 55 47 $fondBG_color_hover = str_replace("_", "#", $keys['bgho_cuise_0']); 56 $lien_a = str_replace("_", "#", $keys['co_cuise_0']); 57 $lien_a_hover= str_replace("_", "#", $keys['coho_cuise_0']); 58 /*===============================================*/ 48 $fondBG_a = str_replace("_", "#", $keys['co_cuise_0']); 49 $fondBG_a_hover= str_replace("_", "#", $keys['coho_cuise_0']); 50 51 /*===============================================*/ 59 52 if ($keys['chk_cuise_1']!='checked'){ 60 $fondBp = "url( images/" . $keys['img_cuise_1'].")" ;61 $fondBp_hover = "url( images/hover_".$keys['img_cuise_1'].")";53 $fondBp = "url(./images/" . $keys['img_cuise_1'].")" ; 54 $fondBp_hover = "url(./images/hover_".$keys['img_cuise_1'].")"; 62 55 }else { 63 56 $fondBp ="none"; … … 66 59 $fondBp_color = str_replace("_", "#", $keys['bg_cuise_1']); 67 60 $fondBp_color_hover =str_replace("_", "#", $keys['bgho_cuise_1']); 68 $ rayon_1 = $keys['rayon_cuise_1'];69 /* menubar ---*/ 70 $ bp_a = str_replace("_", "#", $keys['co_cuise_1']);71 $bp_a_hover= str_replace("_", "#", $keys['coho_cuise_1']); 61 $fondBp_a = str_replace("_", "#", $keys['co_cuise_1']); 62 $fondBp_a_hover= str_replace("_", "#", $keys['coho_cuise_1']); 63 $fondBp_rayon = $keys['rayon_cuise_1']; 64 72 65 /*=========== Menubar ========================*/ 73 66 if ($keys['chk_cuise_2']!='checked'){ 74 $ fondHoriz= "url(images/".$keys['img_cuise_2'].")";75 $ fondHoriz_hover = "url(images/hover_".$keys['img_cuise_2'].")";67 $Menu_bar = "url(images/".$keys['img_cuise_2'].")"; 68 $Menu_bar_hover = "url(images/hover_".$keys['img_cuise_2'].")"; 76 69 }else { 77 $ fondHoriz="none";78 $ fondHoriz_hover = "non";70 $Menu_bar ="none"; 71 $Menu_bar_hover = "non"; 79 72 } 80 $fondHoriz_color = str_replace("_", "#", $keys['bg_cuise_2']); 81 $fondHoriz_color_hover = str_replace("_", "#", $keys['bgho_cuise_2']); 82 $rayon_2 = $keys['rayon_cuise_2']; 83 $thumb_a = str_replace("_", "#", $keys['co_cuise_2']); 84 $thumb_a_hover= str_replace("_", "#", $keys['coho_cuise_2']); 73 $Menu_bar_color = str_replace("_", "#", $keys['bg_cuise_2']); 74 $Menu_bar_color_hover = str_replace("_", "#", $keys['bgho_cuise_2']); 75 76 $Menu_bar_a = str_replace("_", "#", $keys['co_cuise_2']); 77 $Menu_bar_a_hover= str_replace("_", "#", $keys['coho_cuise_2']); 78 $Menu_bar_rayon = $keys['rayon_cuise_2']; 85 79 /*===============================================*/ 86 80 if ($keys['chk_cuise_3']!='checked'){ 87 $ fondVert= "url(images/".$keys['img_cuise_3'].")";88 $ fondVert_hover = "url(images/hover_".$keys['img_cuise_3'].")";81 $thumbnail = "url(images/".$keys['img_cuise_3'].")"; 82 $thumbnail_hover = "url(images/hover_".$keys['img_cuise_3'].")"; 89 83 }else { 90 $ fondVert="none";91 $ fondVert_hover="none";84 $thumbnail="none"; 85 $thumbnail_hover="none"; 92 86 } 93 $ fondVert_color = str_replace("_", "#", $keys['bg_cuise_3']);87 $thumbnail_color = str_replace("_", "#", $keys['bg_cuise_3']); 94 88 95 $ fondVert_color_hover = str_replace("_", "#", $keys['bgho_cuise_3']);96 $ rayon_3= $keys['rayon_cuise_3'];97 $ menu_a = str_replace("_", "#", $keys['co_cuise_3']);98 $ menu_a_hover= str_replace("_", "#", $keys['coho_cuise_3']);89 $thumbnail_color_hover = str_replace("_", "#", $keys['bgho_cuise_3']); 90 $thumbnail_rayon = $keys['rayon_cuise_3']; 91 $thumbnail_a = str_replace("_", "#", $keys['co_cuise_3']); 92 $thumbnail_a_hover= str_replace("_", "#", $keys['coho_cuise_3']); 99 93 /*===============================================*/ 100 94 $bck_header="none"; … … 110 104 $bck_header_a = str_replace("_", "#", $keys['co_cuise_4']); 111 105 $bck_header_a_hover= str_replace("_", "#", $keys['coho_cuise_4']); 112 113 114 115 106 $prefix=$keys['redraw']; 116 107 header( 'content-type: text/css' ); 117 108 /* 118 109 if($keys['redraw'] != true ){ } 119 120 110 header('HTTP/1.0 304 Not Modified'); 121 111 header('Cache-Control: max-age=3600, must-revalidate'); 122 112 */ 123 124 125 ?> 126 /***************************************************************/ 127 *,.*{ 128 background-image:none; 129 background-color:transparent ; 130 131 } 132 a{ 133 color:<?php echo $lien_a ;?>; 134 } 135 a:hover{ 136 color:<?php echo $lien_a_hover ;?>; 137 } 138 139 .browsePath{ 140 background-image:none; 141 background-color:transparent ; 142 } 143 144 #imageHeaderBar, .titrePage{ 145 height:32px; 146 } 147 #imageHeaderBar .browsePath,.titrePage{ 148 padding-top:8px; 149 } 150 #theImageAndInfos{ 151 background-image:none; 152 background-color:transparent ; 153 } 154 input[type='text'], input[type='password'], input[type='button'], input[type='submit'], input[type='reset'], input[type='file'], select, textarea{ 155 background-color:<?php echo $fondBG_color;?> ; 156 color:<?php echo $lien_a ;?>; 157 } 158 body{ 159 background-color:<?php echo $fondBG_color;?> ; 160 background-image:<?php echo $fondBG ;?>; 161 color:<?php echo $lien_a ;?>; 162 } 163 164 .titrePage,#imageHeaderBar{ 165 background-color:<?php echo $fondBp_color ;?>; 166 background-image:<?php echo $fondBp ;?>; 167 color:<?php echo $bp_a ;?>; 168 } 169 .titrePage a,#imageHeaderBar a{ 170 171 color:<?php echo $bp_a ;?>; 172 } 173 .titrePage a:hover,#imageHeaderBar a:hover{ 174 175 color:<?php echo $bp_a_hover ;?>; 176 } 177 178 #menubar{ 179 background-color:<?php echo $fondHoriz_color ;?>; 180 background-image:<?php echo $fondHoriz ;?>; 181 -moz-border-radius: <?php echo $rayon_2 ;?>; 182 border-radius: <?php echo $rayon_3." ".$rayon_2 ;?>; 183 184 } 185 #menubar:hover{ 186 background-color:<?php echo $fondHoriz_color_hover ;?>; 187 background-image:<?php echo $fondHoriz_hover ;?>; 188 189 } 190 #menubar dd a{ 191 color:<?php echo $fondHoriz_a_color ;?>; 192 193 194 } 195 #menubar dd a:hover{ 196 color:<?php echo $fondHoriz_a_hover ;?>; 197 } 198 199 #menubar dt{ 200 background-color:<?php echo $fondBp_color ;?>; 201 background-image:<?php echo $fondBp ;?>; 202 -moz-border-radius: <?php echo $rayon_3 ;?>; 203 border-radius: <?php echo $rayon_3." ".$rayon_3 ;?>; 204 } 205 #menubar dt:hover{ 206 background-color:<?php echo $fondBp_color_hover ;?>; 207 background-image:<?php echo $fondBp_hover ;?>; 208 } 209 210 211 #content,.content{ 212 background-color:<?php echo $fondHoriz_color ;?>; 213 background-image:<?php echo $fondHoriz ;?>; 214 215 } 216 #content:hover{ 217 background-color:<?php echo $fondHoriz_color_hover ;?>; 218 background-image:<?php echo $fondHoriz_hover ;?>; 219 220 221 } 222 #content a,.content a{ 223 color:<?php echo $fondHoriz_a ;?>; 224 225 } 226 #content a:hover{ 227 color:<?php echo $fondHoriz_a_hover ;?>; 228 } 229 230 .thumbnailCategory{ 231 background-color:<?php echo $fondVert_color ;?>; 232 background-image:<?php echo $fondVert ;?>; 233 } 234 .thumbnailCategory:hover{ 235 background-color:<?php echo $fondVert_color_hover ;?>; 236 background-image:<?php echo $fondVert_hover ;?>; 237 } 238 239 240 #theHeader{ 241 background-color:<?php echo $bck_header_color ;?>; 242 background-image:<?php echo $bck_header ;?>; 243 } 244 245 #imageInfos{ 246 background-image:<?php echo $fondHoriz ;?>; 247 background-position: center middle; 248 } 249 250 #comments { 251 background-color:<?php echo $fondVert_color_hover ;?>; 252 background-image:<?php echo $fondBp ;?>; 253 254 background-repeat: repeat-x; 255 background-position: center middle; 256 } 257 #pictureComments { 258 background-image:<?php echo $fondVert ;?>; 259 background-repeat: repeat-x; 260 background-position: center middle; 261 } 262 263 264 265 /******** stripped ********/ 266 .categoryActions { 267 <?php if( $theme_parent =="stripped_black_bloc" ) 268 echo "float:none;"; 269 ?> 270 271 } 272 #themeSwitchBox{width:420px; 273 diplay:block; 274 } 275 .theme-thumb{ height:80px;width:80px; 276 277 } 278 279 .menuhidden .switchArrow { background-position: 0 0;} 280 .menushown .switchArrow { background-position: -16px 0;} 281 .infohidden .switchArrow { background-position: -16px 0;} 282 .infoshown .switchArrow { background-position: 0 0;} 283 .commentshidden .switchArrow { background-position: -48px 0;} 284 .commentsshown .switchArrow { background-position: -32px 0;} 285 286 #menubar li { 287 list-style-position: inside; 288 list-style-image: url(images/small_bullet_0.png); 289 } 290 #menubar li li { 291 list-style-position: inside; 292 list-style-image: url(images/small_bullet_2.png); 293 } 294 #menubar li li li{ 295 list-style-position: inside; 296 list-style-image: url(images/small_bullet_vert.png); 297 } 298 #menubar li li li li{ 299 list-style-position: inside; 300 list-style-image: url(images/small_bullet_bleu.png); 301 } 302 /*================================================================*/ 303 <?php 304 if(0){ 305 /*=========== Couleur ==================*/ 306 307 $C_FFB0B0 = '#FFB0B0' ; 308 $C_802020 = '#802020' ; 309 $C_800000 = '#800000'; 310 $C_ffffff = '#ffffff'; 311 $C_B0FFB0 = '#B0FFB0'; 312 $C_208020 = '#208020'; 313 $C_008000 = '#008000'; 314 $C_DEDEDE = '#050505'; 315 $C_101010 = 'Transparent'; 316 $C_303030 = '#606060'; 317 $border_color = '#606060'; 318 $tag_hover ='transparent'; 319 $C_606060 = '#303030'; 320 $C_000000= "#000000"; 321 $input_color= "#030380"; 322 $C_999999= "#999999"; 323 $input_bg= "#f5f5f5"; 324 $C_CCC= "#333"; 325 ?> 326 #the_page{ 327 background-color:<?php echo $fondBG_color;?> ; 328 background-image:<?php echo $fondBG ;?>; 329 } 330 #thePicturePage{ 331 background-color:<?php echo $fondBG_color;?> ; 332 background-image:<?php echo $fondBG ;?>; 333 } 334 335 336 html,body,#content{ 337 background-color:<?php echo $fondBG_color;?> ; 338 background-image:<?php echo $fondBG ;?>; 339 } 340 341 342 343 344 /*============================================================*/ 345 .content .titrePage, 346 .bloc_stuff, 347 .browsePath, 348 .randomButtons, 349 #imageTitle, .randomButtons, #footer_left, #copyright, 350 #tabZone,.imageToolBarBg , 351 .navigationBar, #imageHeaderBar,#copyright,#imageHeaderBar,.masonry-brick, .bloc .title, .nav_bulle{ 352 background-color:<?php echo $fondBp_color ;?>; 353 background-image:<?php echo $fondBp ;?>; 354 355 } 356 357 358 359 #titreContent1, 360 .calendarTitle, 361 .calendarBar{ 362 363 } 364 365 #calendar_block{ 366 padding:0px; 367 top:0px; 368 background-image:<?php echo $fondHoriz; ?>; 369 background-repeat: repeat-x ; 370 } 371 #titreContent1{ 372 background-image:<?php echo $fondHoriz; ?>; 373 background-repeat: repeat-x ; 374 375 } 376 377 .calendarViews{ 378 379 background-image:<?php echo $fondHoriz; ?> ; 380 background-repeat: repeat-x ; 381 } 382 383 .calendarTitle { 384 background-image:<?php echo $fondHoriz; ?> ; 385 } 386 .calendarBar{ 387 background-image:<?php echo $fondVert; ?> ; 388 389 } 390 391 392 /*=======================================================*/ 393 .header_notes{ padding:0px;align:left;vertical-align:middle; 394 background-Color:Transparent; 395 396 background-image:url(icon/notes.png) ; 397 } 398 .header_notes p{ 399 background-color:<?php echo $fondHoriz_color ; ?> ; 400 background-image:<?php echo $fondHoriz ; ?> ; 401 402 } 403 404 #tabs,#theImageAndInfos{ 405 background-color:<?php echo $fondHoriz_color ; ?> ; 406 background-image:<?php echo $fondHoriz ; ?> ; 407 } 408 409 /*============================================================*/ 410 #imageToolBar,.contentWithMenu #imageHeaderBar,.titrePage ul .categoryActions,.categoryActions{ 411 background-color:transparent; 412 background-image:none ; 413 margin-top:-5px; 414 } 415 416 .titrePage .categoryActions li a{ 417 vertical-align: middle; 418 text-align: center; 419 cursor:pointer 420 } 421 .contentWithMenu #imageHeaderBar,.titrePage { 422 background-color:<?php echo $fondBp_color ; ?> ; 423 background-image:<?php echo $fondBp ; ?> ; 424 background-position: center; 425 padding:8px 426 } 427 .browsePath{ 428 background-image:<?php echo "none" ; ?> ; 429 background-color:<?php echo "transparent" ; ?> ; 430 } 431 /*-------------- MON THEME -------------------------*/ 432 433 #thePicturePage #comments{ 434 background-color:<?php echo $fondHoriz_color ; ?> ; 435 background-image:<?php echo $fondHoriz ; ?> ; 436 -moz-border-radius: <?php echo $rayon_3 ;?>; 437 border-radius: <?php echo $rayon_3." ".$rayon_3 ;?>; 438 } 439 440 #imageInfos{ 441 background-color:<?php echo $fondHoriz_color ; ?> ; 442 background-image:<?php echo $fondHoriz ; ?> ; 443 444 445 } 446 447 /*--------------- menubar -------------*/ 448 #menubar DT,#menubar dt{ 449 background-color: <?php echo $fondBp_color ;?>; 450 background-image:<?php echo $fondBp ;?>; ; 451 background-repeat: repeat-x ; 452 -moz-border-radius: <?php echo $rayon_1 ;?>; 453 border-radius: <?php echo $rayon_1." ".$rayon_1 ;?>; 454 } 455 #menubar { 456 background-color: <?php echo $fondHoriz_color ;?>; 457 background-image:<?php echo $fondHoriz ; ?> ; 458 border: <?php echo $border_color ;?> ; 459 -moz-border-radius: <?php echo $rayon_1 ;?>; 460 border-radius: <?php echo $rayon_1." ".$rayon_1 ;?>; 461 } 462 463 #menubar:hover { 464 background-color: <?php echo $fondHoriz_color_hover ;?>; 465 background-image:<?php echo $fondHoriz_hover ; ?> ; 466 } 467 #menubar a:hover,#menubar dt:hover { 468 color:<?php echo $bp_a_hover ;?>; 469 } 470 #menubar a,#menubar dt,#menubar span{ 471 color:<?php echo $bp_a ;?> ; 472 } 473 474 /*--------- Categorie ---------------------*/ 475 476 #theComments{background-image:<?php echo $fondHoriz ; ?>;} 477 478 div ul.thumbnails span.wrap2{ 479 480 overflow:hidden ; 481 482 } 483 484 .wrap2:hover ,.wrap1:hover{ 485 background-color:<?php echo $fondHoriz_color_hover; ?> ; 486 background-image:<?php echo $fondHoriz_hover; ?> ; 487 -moz-border-radius: <?php echo $rayon_2 ;?>; 488 border-radius: <?php echo $rayon_2." ".$rayon_2 ;?>; 489 } 490 491 492 .wrap1{ 493 background-color:<?php echo $fondHoriz_color; ?> ; 494 background-image:<?php echo $fondHoriz ; ?> ; 495 -moz-border-radius: <?php echo $rayon_2 ;?>; 496 border-radius: <?php echo $rayon_2." ".$rayon_2." ".$rayon_2." ".$rayon_2 ;?>; 497 } 498 499 .content div.thumbnailCategory, 500 .thumbnailCategory { 501 background-color:<?php echo $fondHoriz_color; ?> ; 502 -moz-border-radius: <?php echo $rayon_3 ;?>; 503 border-radius: <?php echo $rayon_3." ".$rayon_3 ;?>; 504 background-image:<?php echo $fondHoriz; ?>; 505 506 } 507 .content div.thumbnailCategory:hover,.thumbnailCategory:hover { 508 background-color:<?php echo $fondHoriz_color_hover; ?> ; 509 background-image:<?php echo $fondHoriz_hover ; ?> ; 510 } 511 512 513 #imageToolBar H2{ 514 background-color:transparent; 515 } 516 517 518 519 #navThumbPrevContainer{background-image:<?php echo $fondHoriz; ?>;background-position:center;} 520 #navThumbNextContainer{background-image:<?php echo $fondHoriz; ?>; background-position:center;} 521 522 #navThumbNextContainer{ position: static 523 } 524 525 526 .infoTable{background-image:<?php echo $fondHoriz_hover; ?> ;} 527 528 INPUT[type="submit"], input[type="button"], input[type="reset"] { 529 530 background-image:<?php echo $fondHoriz; ?>; 531 } 532 533 fieldset { background-image:<?php echo $fondHoriz; ?>;} 534 535 fieldset legend { 536 border:none; 537 background-image:<?php echo $fondHoriz; ?>;} 538 539 #theTabsContainer{ background-image:url(icon/1x1transp.gif) } 540 541 542 543 /*=========== Couleur ==================*/ 544 545 div.errors { 546 background:<?php echo $C_FFB0B0 ; ?>; 547 border: <?php echo $C_802020 ; ?>; 548 color:<?php echo $C_802020 ; ?>; 549 } 550 div.errors a { 551 color:<?php echo $C_800000 ; ?>; 552 } 553 div.errors button { 554 color:<?php echo $C_ffffff ; ?>; 555 background:<?php echo $C_802020 ; ?>; 556 } 557 div.errors button:hover { 558 color:<?php echo $C_FFB0B0 ; ?>; 559 } 560 div.errors button:active { 561 color:<?php echo $C_802020 ; ?>; 562 background:<?php echo $C_ffffff ; ?>; 563 } 564 div.infos { 565 background:<?php echo $C_B0FFB0 ;?>; 566 border: <?php echo $C_208020 ;?>; 567 color:<?php echo $C_208020 ;?>; 568 569 } 570 div.infos a { 571 color:<?php echo $C_008000 ;?>; 572 573 } 574 div.infos button { 575 color:<?php echo $C_ffffff ; ?>; 576 background:<?php echo $C_208020 ;?>; 577 } 578 div.infos button:hover { 579 color:<?php echo $C_B0FFB0 ;?>; 580 } 581 div.infos button:active { 582 color:<?php echo $C_208020 ;?>; 583 background:<?php echo $C_ffffff ; ?>; 584 } 585 586 587 588 div.ui-widget-overlay ,#additional_infoTOP, #additional_infoBOTTOM{ 589 background:<?php echo $C_101010 ;?>; 590 } 591 592 .thumbnailCategory{ 593 border-bottom: <?php echo $border_color ;?> ; 594 border-right: <?php echo $border_color ;?> ; 595 vetical-align:middle; 596 } 597 598 599 .illustration a img { 600 border:2px <?php echo $border_color ; ?> ; 601 } 602 603 p.thumbCatDesc { 604 border-top: <?php echo $border_color ;?> dotted; 605 606 } 607 608 div ul.thumbnails img, #linkPrev img, #linkNext img { 609 border: <?php $border_color ; ?>; 610 } 611 612 613 614 615 616 .copyright { 617 618 background-image:<?php echo $fondHoriz_hover ; ?>; 619 border-top: <?php echo $border_color ;?> ; 620 } 621 622 623 624 625 626 .titrePage{ 627 background-position: center center; 628 background-image:<?php echo $fondBp ;?>; 629 background-repeat: repeat-x ; 630 } 631 632 633 634 635 636 table.calMonth td.calDayCellFull:hover { 637 background-color:<?php echo $C_ffffff ; ?>; 638 } 639 640 641 642 /* inputs*/ 643 input[type="text"], input[type="password"], select, textarea, file { 644 background: <?php echo $input_bg ;?>; 645 } 646 647 input:focus, select:focus { 648 background: <?php echo $C_ffffff ; ?>; 649 } 650 651 input[type="submit"], input[type="button"], input[type="reset"], button { 652 653 border-bottom: <?php echo $border_color ;?> ; 654 border-right: <?php echo $border_color ;?> ; 655 border-top: <?php echo $C_ffffff ; ?> ; 656 border-left: <?php echo $C_ffffff ; ?> ; 657 658 } 659 660 input[type="submit"]:active, input[type="button"]:active, input[type="reset"]:active { 661 662 border-bottom: <?php echo $C_ffffff ; ?> ; 663 border-right: <?php echo $C_ffffff ; ?> ; 664 border-top: <?php echo $border_color ;?> ; 665 border-left: <?php echo $border_color ;?> ; 666 } 667 668 669 670 671 fieldset { 672 border: <?php echo $border_color ;?> dotted; 673 } 674 675 fieldset legend { 676 background-color:<?php echo $C_000000 ;?>; 677 } 678 /* picture page*/ 679 .switchBox { 680 border: <?php echo $border_color ; ?>; 681 background-color:<?php echo $fondHoriz_color ; ?>; 682 background-image:<?php echo $fondHoriz; ?>; 683 684 } 685 686 #theImgHighBg { 687 background-color:<?php echo $C_000000 ;?>; 688 opacity:0.88; 689 filter:alpha(opacity:88); 690 } 691 692 693 .imageNumber { 694 border: <?php echo $C_999999 ;?> ; 695 } 696 697 #theImgContainer { 698 /* border:8px <?php echo $border_color ; ?> ;*/ 699 } 700 701 .navThumbPrevContent a img, .navThumbNextContent a img { 702 border: <?php echo $border_color ;?> ; 703 } 704 705 .navThumbPrevContent a:hover img, .navThumbNextContent a:hover img { 706 border: <?php echo $border_color ;?> ; 707 } 708 709 710 .infoTable tr { 711 712 border: dotted <?php echo $border_color ;?>; 713 } 714 715 .infoTable .label { 716 border-left: dotted <?php echo $border_color ;?>; 717 } 718 719 .infoTable tr:hover { 720 border: <?php echo $border_color ;?>; 721 background:transparent; 722 } 723 .infoTable tr.emptyrow:hover { 724 background:transparent; 725 726 } 727 .commentDetail { 728 border-bottom: dotted <?php echo $C_606060 ;?>; 729 } 730 731 #content, .content, .content .titrePage, #imageToolBarContainer,#subContent h2 { 732 border-bottom:0px <?php echo $border_color ;?> ; 733 } 734 735 736 .commentDetail .description .author, 737 .commentDetail .description .date { 738 739 } 740 #titleComment h3:hover { 741 background:<?php echo $C_303030 ;?>; 742 } 743 /* 744 * tabs 745 */ 746 747 #theTabsBg, #theTabs { 748 background-position: center top; 749 background-repeat: repeat-x; 750 background-attachment: fixed; 751 background-image:<?php echo $fondHoriz_hover ; ?>; 752 } 753 754 #theTabsheets li.tab { 755 756 background-color:Transparent; 757 background-position: center; 758 background-image:<?php echo $fondHoriz_hover ; ?>; 759 border:<?php echo $C_606060 ;?>; 760 761 } 762 763 764 765 766 /* 767 tags 768 */ 769 770 #fullTagCloud SPAN a:hover { 771 background:<?php echo $tag_hover ;?>; 772 773 } 774 775 776 777 778 .mandatorystar { 779 color:<?php echo "blue" ;?>; 780 } 781 782 783 /* 784 help 785 */ 786 #thePopuphelpPage h1 { 787 background:<?php echo $C_606060 ;?>; 788 } 789 790 791 #iSimpleTipContent { background: <?php echo $C_ffffff ; ?>; 792 793 } 794 div.content ul.categoryActions li.menuf ul.flag-pan .flags:hover, .menuf a img.flags { 795 /* border: <?php echo $C_303030 ;?>;*/ 796 } 797 798 div.content ul.categoryActions li.menuf ul.flag-pan .flags { 799 /* border: <?php echo $C_000000 ;?>;*/ 800 } 801 802 ul.flag-pan { 803 804 border: <?php echo $C_303030 ;?>; 805 } 806 807 808 /* 809 * Comment editor compatibility 810 */ 811 div#ce-content.content, div#ce-message-block.content { 812 813 border: <?php echo $C_606060 ;?>; 814 } 815 816 817 818 819 .img_button{ height:25px; 820 -moz-border-radius: 3px; /* round corners with Geko */ 821 border-radius: 3px 3px; /* round corners with CSS3 compliant browsers */ 822 } 823 #bp_cla { 824 background-position:-588px +28px; 825 border:1px white; 826 -moz-border-radius: 3px; /* round corners with Geko */ 827 border-radius: 3px 3px; /* round corners with CSS3 compliant browsers */ 828 } 829 #bp_cla.button:hover { 830 background-position:-588px +28px; 831 } 832 833 834 /*==============================================================*/ 835 836 .gmapsMarkup { 837 background-image:<?php echo $fondHoriz; ?>; 838 } 839 .content bloc_stuff .isotope .isotope-item{ 840 -moz-border-radius: <?php echo $rayon_2 ;?>; /* round corners with Geko */ 841 border-radius: <?php echo $rayon_2." ".$rayon_2 ;?>; /* round corners with CSS3 compliant browsers */ 842 background-image:<?php echo $fondHoriz; ?> ; 843 844 845 } 846 .content_block, #the_page .middle_block{ 847 848 -moz-border-radius: <?php echo $rayon_2 ;?>; /* round corners with Geko */ 849 border-radius: <?php echo $rayon_2." ".$rayon_2 ;?>; /* round corners with CSS3 compliant browsers */ 850 background-image:<?php echo $fondHoriz; ?> ; 851 852 } 853 854 .content .additional_info,.content_block .additional_info,tr .additional_info{ 855 border:none; 856 -moz-border-radius: <?php echo $rayon_2 ;?>; /* round corners with Geko */ 857 border-radius: <?php echo $rayon_2." ".$rayon_2 ;?>; /* round corners with CSS3 compliant browsers */ 858 background-image:<?php echo $fondHoriz; ?> ; 859 860 } 861 862 863 /*==============================================================*/ 864 865 .masonry-brick:hover, .bloc:hover .title:hover, .nav_bulle:hover{ 866 867 background-image:<?php echo $fondHoriz_hover ; ?>; 868 } 869 870 871 872 873 #the_page #menuSwitcher.menuhidden { background-color: Transparent;} 874 #the_page #infoSwitcher{ background-color: Transparent;} 875 876 #quicksearch input, input, select, textarea,input[type='submit'], input[type='reset']{ background-color: transparent ; 877 878 } 879 880 #comments > ul > li{ 881 882 background-image:<?php echo $fondHoriz_hover ; ?>; 883 } 884 #comments > ul > li:hover{ 885 background-image:<?php echo $fondHoriz; ?>; 886 } 887 888 889 button:hover { 890 color:<?php echo $lien_a_hover ;?>; 891 892 } 893 input[type='text'], input[type='password'], input[type='button'], input[type='submit'], input[type='reset'], input[type='file'], select, textarea{ 894 color: <?php echo $lien_a ;?>; 895 } 896 .commentList a,.content_block a, 897 input[type='submit'], input[type='reset'], 898 #comments .description .author, #comments .description .date, 899 #tabZone *, 900 .masonry-brick, 901 .bloc .title, 902 .nav_bulle, 903 *, 904 a { color: <?php echo $lien_a ;?>; } 905 *:active , *:hover, *:focus, a:hover { color: <?php echo $lien_a_hover ;?>; } 906 907 .browsePath, .randomButtons, #footer_left, #copyright{ 908 color: <?php echo $lien_a ;?>; 909 } 910 911 #imageHeaderBar{ 912 color: <?php echo $bck_header_a ;?>; 913 background-color:<?php echo $bck_header_color;?> ; 914 background-image:<?php echo $bck_header; ?>; 915 } 916 917 #theHeader, #imageTitle { 918 color: <?php echo $bck_header_a ;?>; 919 background-color:<?php echo $bck_header_color;?> ; 920 background-image:<?php echo $bck_header; ?>; 921 } 922 923 924 925 926 927 928 #theTabsBg { 929 opacity:0.2; 930 filter:alpha(opacity:15) 931 } 932 933 .thumbnails li, #thumbnails li,.thumbnailCategories li, #thumbnails ul{ 934 background-image:<?php echo $fondHoriz; ?> ; 935 -moz-border-radius: <?php echo $rayon_2 ;?>; 936 border-radius: <?php echo $rayon_2." ".$rayon_2 ;?>; 937 } 938 .thumbnails li:hover, #thumbnails li:hover,.thumbnailCategories li:hover,#thumbnails ul:hover{ 939 background-image:<?php echo $fondHoriz_hover; ?> ; 940 -moz-border-radius: <?php echo $rayon_2 ;?>; 941 border-radius: <?php echo $rayon_2." ".$rayon_2 ;?>; 942 } 943 .switchArrow { background-image:url(icon/arrows_black.png);} 944 .switchArrow:hover { background-image:url(icon/arrows_black_hover.png);} 945 <?php 946 } 947 ?> 113 include "admin_theme.css.php" ; 114 ?> -
extensions/cuise/themeconf.inc.php
r19486 r19990 28 28 29 29 'admin_icon_dir' => 'themes/default/icon/admin', 30 'mime_icon_dir' => 'themes/default/icon/mimetypes/', 31 'local_head' => 'local_head.tpl', 32 'load_parent_local_head' => true 30 'mime_icon_dir' => 'themes/default/icon/mimetypes/' 31 33 32 ); 34 33 if( isset($_GET['cl_view']) ){
Note: See TracChangeset
for help on using the changeset viewer.