Changeset 16034
- Timestamp:
- Jun 25, 2012, 11:18:57 PM (12 years ago)
- Location:
- extensions/floPure
- Files:
-
- 2 added
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floPure/Pure_autumn/theme.css
r11927 r16034 360 360 -moz-border-radius-topleft:15px; 361 361 -moz-border-radius-topright:0; 362 background-color: #843317; 362 background-color: #843317; 363 border-radius: 15px 0 15px 0; 363 364 364 365 -webkit-background-clip: border; … … 375 376 -moz-border-radius-topright:0; 376 377 background-color: #a49d4c; 378 border-radius: 15px 0 15px 0; 377 379 378 380 -webkit-background-clip: border; … … 388 390 -moz-border-radius-topleft:15px; 389 391 -moz-border-radius-topright:0; 392 border-radius: 15px 0 15px 0; 390 393 background-color: #a46b29; 391 394 -webkit-background-clip: border; … … 400 403 -moz-border-radius-topleft:15px; 401 404 -moz-border-radius-topright:0; 405 border-radius: 15px 0 15px 0; 402 406 background-color: #7B8D78; 403 407 -webkit-background-clip: border; … … 421 425 } 422 426 /*** miniatures **********/ 423 427 .thumbnails .wrap1 { 428 width: auto !important; 429 } 424 430 425 431 #content UL.thumbnails SPAN.wrap2 { … … 433 439 -webkit-border-bottom-right-radius: 15px; 434 440 -webkit-border-top-left-radius: 15px; 441 border-radius: 15px 0 15px 0; 435 442 } 436 443 .thumb_1 .wrap2 { … … 470 477 -webkit-border-bottom-right-radius: 15px; 471 478 -webkit-border-top-left-radius: 15px; 479 border-radius: 15px 0 15px 0; 472 480 } 473 481 .wrap2 IMG, .illustration IMG { -
extensions/floPure/Pure_autumn/themeconf.inc.php
r10108 r16034 26 26 function Pure_autumn_prefilter_cat($content, &$smarty) 27 27 { 28 $search = '#<li>[\s]*<div class="thumbnailCategory">#'; 29 30 $replacement = '<li class="{cycle values="cat_1,cat_2,cat_3,cat_4"}" > 28 $pwgversion=str_replace('.','',PHPWG_VERSION); 29 $pwgversion_array=explode('.', PHPWG_VERSION); 30 if ($pwgversion_array[0].$pwgversion_array[1]=="23") 31 { 32 $search = '#<li>[\s]*<div class="thumbnailCategory">#'; 33 $replacement = '<li class="{cycle values="cat_1,cat_2,cat_3,cat_4"}" > 31 34 <div class="thumbnailCategory">'; 32 35 } 36 elseif ($pwgversion_array[0].$pwgversion_array[1]=="24") 37 { 38 $search = '#<li class="\{if \$smarty\.foreach\.comment_loop\.index is odd\}odd\{else\}even\{/if\}">#'; 39 $replacement = '<li class="{cycle values="cat_1,cat_2,cat_3,cat_4"}" >'; 40 } 33 41 return preg_replace($search, $replacement, $content); 34 42 } … … 46 54 function Pure_autumn_prefilter_thumbnails($content, &$smarty) 47 55 { 56 $pwgversion=str_replace('.','',PHPWG_VERSION); 57 $pwgversion_array=explode('.', PHPWG_VERSION); 58 if ($pwgversion_array[0].$pwgversion_array[1]=="23") 59 { 48 60 $search = '#<li>[\s]*<span class="wrap1">#'; 49 61 50 62 $replacement = '<li class="thumb_{"1"|mt_rand:5}" > 51 63 <span class="wrap1">'; 64 } 65 elseif ($pwgversion_array[0].$pwgversion_array[1]=="24") 66 { 67 $search = '#<li>[\s]*<span class="wrap1">#'; 68 69 $replacement = '<li class="thumb_{"1"|mt_rand:5}" > 70 <span class="wrap1">'; 71 } 52 72 53 73 return preg_replace($search, $replacement, $content); -
extensions/floPure/Pure_clear_blue/theme.css
r9716 r16034 26 26 27 27 /* backgrounds */ 28 BODY, H3,.throw {28 BODY, .throw { 29 29 background-color: #EDF0F3; 30 30 } -
extensions/floPure/Pure_default/iconset.css
r10041 r16034 5 5 border:none; 6 6 } 7 .pwg-state-disabled .pwg-icon-arrow-e{ background-position: 0 -144px; width: 22px; height: 22px; } 8 .pwg-state-disabled .pwg-icon-arrow-w{ background-position: 0 -360px; width: 22px; height: 22px; } 9 .pwg-state-disabled .pwg-icon-arrowstop-e{ background-position: 0 -504px; width: 22px; height: 22px; } 10 .pwg-state-disabled .pwg-icon-arrowstop-w{ background-position: 0 -648px; width: 22px; height: 22px; } 7 .pwg-icon-apropos{ background-position: 0 0; width: 22px; height: 22px; } 8 .pwg-icon-arrow-e{ background-position: 0 -37px; width: 22px; height: 22px; } 9 .pwg-state-disabled .pwg-icon-arrow-e{ background-position: 0 -74px; width: 22px; height: 22px; } 10 .pwg-icon-arrow-n{ background-position: 0 -111px; width: 22px; height: 22px; } 11 .pwg-icon-arrow-w{ background-position: 0 -148px; width: 22px; height: 22px; } 12 .pwg-state-disabled .pwg-icon-arrow-w{ background-position: 0 -185px; width: 22px; height: 22px; } 13 .pwg-icon-arrowstop-e{ background-position: 0 -222px; width: 22px; height: 22px; } 14 .pwg-state-disabled .pwg-icon-arrowstop-e{ background-position: 0 -259px; width: 22px; height: 22px; } 15 .pwg-icon-arrowstop-w{ background-position: 0 -296px; width: 22px; height: 22px; } 16 .pwg-state-disabled .pwg-icon-arrowstop-w{ background-position: 0 -333px; width: 22px; height: 22px; } 17 .pwg-icon-caddie-add{ background-position: 0 -370px; width: 24px; height: 24px; } 18 .pwg-icon-calendar{ background-position: 0 -409px; width: 22px; height: 22px; } 19 .pwg-icon-camera-calendar{ background-position: 0 -446px; width: 24px; height: 24px; } 20 .pwg-icon-camera-info{ background-position: 0 -485px; width: 22px; height: 22px; } 21 .pwg-icon-category-edit{ background-position: 0 -522px; width: 22px; height: 22px; } 22 .pwg-icon-category-view-flat{ background-position: 0 -559px; width: 22px; height: 22px; } 23 .pwg-icon-category-view-normal{ background-position: 0 -596px; width: 22px; height: 22px; } 24 .pwg-icon-chat{ background-position: 0 -633px; width: 22px; height: 22px; } 25 .pwg-icon-clock-minus{ background-position: 0 -670px; width: 22px; height: 22px; } 26 .pwg-icon-clock-plus{ background-position: 0 -707px; width: 22px; height: 22px; } 27 .pwg-icon-close{ background-position: 0 -744px; width: 24px; height: 24px; } 28 .pwg-icon-cloud{ background-position: 0 -783px; width: 22px; height: 22px; } 29 .pwg-icon-edit{ background-position: 0 -820px; width: 22px; height: 22px; } 30 .pwg-icon-favorite-add{ background-position: 0 -857px; width: 22px; height: 22px; } 31 .pwg-icon-favorite-del{ background-position: 0 -894px; width: 22px; height: 22px; } 32 .pwg-icon-filter-del{ background-position: 0 -931px; width: 24px; height: 24px; } 33 .pwg-icon-filter{ background-position: 0 -970px; width: 24px; height: 24px; } 34 .pwg-icon-help{ background-position: 0 -1009px; width: 22px; height: 22px; } 35 .pwg-icon-home{ background-position: 0 -1046px; width: 22px; height: 22px; } 36 .pwg-icon-letters{ background-position: 0 -1083px; width: 22px; height: 22px; } 37 .pwg-icon-lost-password{ background-position: 0 -1120px; width: 24px; height: 24px; } 38 .pwg-icon-pause{ background-position: 0 -1159px; width: 22px; height: 22px; } 39 .pwg-icon-play{ background-position: 0 -1196px; width: 22px; height: 22px; } 40 .pwg-icon-register{ background-position: 0 -1233px; width: 24px; height: 24px; } 41 .pwg-icon-repeat-play{ background-position: 0 -1272px; width: 22px; height: 22px; } 42 .pwg-icon-repeat-stop{ background-position: 0 -1309px; width: 22px; height: 22px; } 43 .pwg-icon-representative{ background-position: 0 -1346px; width: 22px; height: 22px; } 44 .pwg-icon-map, .pwg-icon-globe , .pwg-icon-rss{ background-position: 0 -1383px; width: 22px; height: 22px; } 45 .pwg-icon-save{ background-position: 0 -1420px; width: 24px; height: 24px; } 46 .pwg-icon-search{ background-position: 0 -1459px; width: 22px; height: 22px; } 47 #derivativeSwitchLink{width: 48px !important; height: 24px; } 48 .pwg-icon-sizes{ background-position: 0 -1496px; width: 48px; height: 24px; } 49 .pwg-icon-slideshow{ background-position: 0 -1535px; width: 22px; height: 22px; } 50 .pwg-icon-small_resizable{ background-position: 0 -1572px; width: 16px; height: 16px; } 51 .pwg-icon-sort{ background-position: 0 -1603px; width: 24px; height: 24px; } 52 .pwg-icon-stop{ background-position: 0 -1642px; width: 22px; height: 22px; } 53 .pwg-icon-tag{ background-position: 0 -1679px; width: 22px; height: 22px; } 54 .pwg-icon-upload{ background-position: 0 -1716px; width: 22px; height: 22px; } 11 55 12 .pwg-icon-apropos{ background-position: 0 0; width: 22px; height: 22px; }13 .pwg-icon-arrow-e{ background-position: 0 -72px; width: 22px; height: 22px; }14 .pwg-icon-arrow-n{ background-position: 0 -216px; width: 22px; height: 22px; }15 .pwg-icon-arrow-w{ background-position: 0 -288px; width: 22px; height: 22px; }16 .pwg-icon-arrowstop-e{ background-position: 0 -432px; width: 22px; height: 22px; }17 .pwg-icon-arrowstop-w{ background-position: 0 -576px; width: 22px; height: 22px; }18 19 .pwg-icon-caddie-add{ background-position: 0 -720px; width: 24px; height: 24px; }20 .pwg-icon-calendar{ background-position: 0 -794px; width: 22px; height: 22px; }21 .pwg-icon-camera-calendar{ background-position: 0 -866px; width: 24px; height: 24px; }22 .pwg-icon-camera-info{ background-position: 0 -940px; width: 22px; height: 22px; }23 .pwg-icon-category-edit{ background-position: 0 -1012px; width: 22px; height: 22px; }24 .pwg-icon-category-view-flat{ background-position: 0 -1084px; width: 22px; height: 22px; }25 .pwg-icon-category-view-normal{ background-position: 0 -1156px; width: 22px; height: 22px; }26 .pwg-icon-chat{ background-position: 0 -1228px; width: 22px; height: 22px; }27 .pwg-icon-clock-minus{ background-position: 0 -1300px; width: 22px; height: 22px; }28 .pwg-icon-clock-plus{ background-position: 0 -1372px; width: 22px; height: 22px; }29 .pwg-icon-close{ background-position: 0 -1444px; width: 24px; height: 24px; }30 .pwg-icon-cloud{ background-position: 0 -1518px; width: 22px; height: 22px; }31 .pwg-icon-edit{ background-position: 0 -1590px; width: 22px; height: 22px; }32 .pwg-icon-favorite-add{ background-position: 0 -1662px; width: 22px; height: 22px; }33 .pwg-icon-favorite-del{ background-position: 0 -1734px; width: 22px; height: 22px; }34 .pwg-icon-help{ background-position: 0 -1806px; width: 22px; height: 22px; }35 .pwg-icon-home{ background-position: 0 -1878px; width: 22px; height: 22px; }36 .pwg-icon-letters{ background-position: -74px 0; width: 22px; height: 22px; }37 .pwg-icon-lost-password{ background-position: -74px -72px; width: 24px; height: 24px; }38 .pwg-icon-pause{ background-position: -74px -146px; width: 22px; height: 22px; }39 .pwg-icon-play{ background-position: -74px -218px; width: 22px; height: 22px; }40 .pwg-icon-register{ background-position: -74px -290px; width: 24px; height: 24px; }41 .pwg-icon-repeat-play{ background-position: -74px -364px; width: 22px; height: 22px; }42 .pwg-icon-repeat-stop{ background-position: -74px -436px; width: 22px; height: 22px; }43 .pwg-icon-representative{ background-position: -74px -508px; width: 22px; height: 22px; }44 .pwg-icon-rss{ background-position: -74px -580px; width: 22px; height: 22px; }45 .pwg-icon-save{ background-position: -74px -652px; width: 24px; height: 24px; }46 .pwg-icon-search{ background-position: -74px -726px; width: 22px; height: 22px; }47 .pwg-icon-slideshow{ background-position: -74px -798px; width: 22px; height: 22px; }48 .pwg-icon-small_resizable{ background-position: -74px -870px; width: 16px; height: 16px; }49 .pwg-icon-stop{ background-position: -74px -936px; width: 22px; height: 22px; }50 .pwg-icon-tag{ background-position: -74px -1008px; width: 22px; height: 22px; }51 .pwg-icon-upload{ background-position: -74px -1080px; width: 22px; height: 22px; } -
extensions/floPure/Pure_default/local_head.tpl
r12013 r16034 1 {if isset($PHPWG_VERSION_01) and $PHPWG_VERSION_01!="24"} 1 2 {footer_script require='jquery'} 2 3 {literal} … … 19 20 {/literal} 20 21 {/footer_script} 22 {/if} 21 23 {if isset($MENUBAR) and isset($ELEMENT_CONTENT)} 22 24 {html_head}{literal} -
extensions/floPure/Pure_default/theme.css
r11928 r16034 48 48 font-weight: bold; 49 49 } 50 /*-*/ 51 52 #derivativeSwitchBox A, #sortOrderBox A { 53 color: #000; 54 } 55 #derivativeSwitchBox, #sortOrderBox { 56 font-size: 11px; 57 color: #000; 58 text-shadow: 0 0 2px #ccc; 59 padding: 4px 8px; 60 border: 1px solid rgba(255,255,255,0.25); 61 background-color: rgb(255,255,255); 62 background-color: rgba(255,255,255,0.92); 63 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#fff)); 64 border-radius: 3px; 65 -webkit-border-radius: 3px; 66 -moz-border-radius: 3px; 67 box-shadow: 0 0 5px #555; 68 -webkit-box-shadow: 0 0 5px #555; 69 -moz-box-shadow: 0 0 5px #555; 70 } 71 #derivativeSwitchBox A:hover, #sortOrderBox A:hover { 72 text-shadow: 0 0 1px #000; 73 } 74 -
extensions/floPure/Pure_default/themeconf.inc.php
r11928 r16034 16 16 'activable' => false, 17 17 ); 18 19 20 add_event_handler('loc_begin_header', 'pwg_v'); 21 function pwg_v() { 22 global $template; 23 $pwgversion=str_replace('.','',PHPWG_VERSION); 24 $pwgversion_array=explode('.', PHPWG_VERSION); 25 $template->assign( 26 array( 27 'PHPWG_VERSION_01' => $pwgversion_array[0].$pwgversion_array[1], 28 )); 29 } 30 31 32 // function load_pattern 33 // include the right ***.pattern.php 34 // not compatible 2.2and<2.2 35 36 function load_pattern() 37 { 38 global $pattern; 39 $pwgversion=str_replace('.','',PHPWG_VERSION); 40 $pwgversion_array=explode('.', PHPWG_VERSION); 41 if (file_exists($pwgversion.'pattern.php')) 42 { 43 include($pwgversion.'.pattern.php'); 44 return true; 45 } 46 elseif (file_exists(PHPWG_ROOT_PATH.'themes/Pure_default/'.$pwgversion_array[0].$pwgversion_array[1].'x.pattern.php')) 47 { 48 include(PHPWG_ROOT_PATH.'themes/Pure_default/'.$pwgversion_array[0].$pwgversion_array[1].'x.pattern.php'); 49 return true; 50 } 51 else 52 { 53 $list_pattern_path=array(); 54 $dir=PHPWG_ROOT_PATH.'themes/Pure_default'; 55 $dh = opendir($dir); 56 while (($file = readdir ($dh)) !== false ) { 57 if ($file !== '.' && $file !== '..') { 58 $path =$dir.'/'.$file; 59 if (!is_dir ($path)) { 60 if(strpos($file,'pattern.php')!==false) { //On ne prend que les .pattern.php 61 $list_pattern_path[]=$file; 62 } 63 } 64 } 65 } 66 closedir($dh); 67 $f=0; 68 for($i = 10; $i >=0; $i--) 69 { 70 if (in_array($pwgversion_array[0].$i.'.pattern.php',$list_pattern_path)) 71 { 72 include($pwgversion_array[0].$i.'.pattern.php'); 73 return true; 74 $f=1; 75 break; 76 } 77 } 78 if ($f=0) 79 { 80 return false; 81 } 82 } 83 84 } 85 if(!load_pattern()) 86 { 87 global $page; 88 $page['errors'][]='Theme not compatible'; 89 } 90 91 92 18 93 add_event_handler('loc_after_page_header', 'Pure_default_after_page_header'); 19 94 function Pure_default_after_page_header() … … 53 128 function Pure_default_index() 54 129 { 55 56 130 global $template; 131 $template->set_prefilter('index', 'Pure_default_prefilter_index'); 57 132 } 58 133 function Pure_default_prefilter_index($content, &$smarty) 59 134 { 60 $search = '#<div id="content" class="content">#'; 61 $replacement = '<div id="content" class="content"> 62 <table id="table_content" border="0" cellspacing="0" cellpadding="0"> 63 <tr> 64 <td id="section_up_left"> </td> 65 <td id="section_up"> </td> 66 <td id="section_up_right"> </td> 67 </tr> 68 <tr> 69 <td id="section_left"> </td> 70 <td id="section_in"> 71 '; 72 $content = preg_replace($search, $replacement, $content); 73 74 $search = '#\{if \!empty\(\$PLUGIN_INDEX_CONTENT_END\)\}\{\$PLUGIN_INDEX_CONTENT_END\}\{/if\}#'; 75 $replacement = '{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if} 76 </td> 77 <td id="section_right"> </td> 78 </tr> 79 <tr> 80 <td id="section_bottom_left"> </td> 81 <td id="section_bottom" > </td> 82 <td id="section_bottom_right" > </td> 83 </tr> 84 </table> 85 '; 86 return preg_replace($search, $replacement, $content); 87 } 135 global $pattern; 136 $r=$pattern['Pure_default_prefilter_index']['R']; 137 $ps=$pattern['Pure_default_prefilter_index']['S']; 138 foreach($r as $i => $pr) 139 { 140 $content = preg_replace($ps[$i], $pr, $content); 141 } 142 return $content; 143 } 144 88 145 /************************************ picture.tpl ************************************/ 89 146 add_event_handler('loc_begin_picture', 'Pure_default_picture'); 90 147 function Pure_default_picture() 91 148 { 92 93 149 global $template; 150 $template->set_prefilter('picture', 'Pure_default_prefilter_picture'); 94 151 } 95 152 function Pure_default_prefilter_picture($content, &$smarty) 96 153 { 97 $search = '#<div id="content" class="pictureContent">#'; 98 $replacement = '<div id="content" class="pictureContent"> 99 <table id="table_content" border="0" cellspacing="0" cellpadding="0"> 100 <tr> 101 <td id="section_up_left"> </td> 102 <td id="section_up"> </td> 103 <td id="section_up_right"> </td> 104 </tr> 105 <tr> 106 <td id="section_left"> </td> 107 <td id="section_in"> 108 '; 109 $content = preg_replace($search, $replacement, $content); 110 111 $search = '#\{if \!empty\(\$PLUGIN_PICTURE_AFTER\)\}\{\$PLUGIN_PICTURE_AFTER\}\{/if\}#'; 112 $replacement = '{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if} 113 </td> 114 <td id="section_right"> </td> 115 </tr> 116 <tr> 117 <td id="section_bottom_left"> </td> 118 <td id="section_bottom" > </td> 119 <td id="section_bottom_right" > </td> 120 </tr> 121 </table> 122 '; 123 return preg_replace($search, $replacement, $content); 124 } 125 154 global $pattern; 155 $r=$pattern['Pure_default_prefilter_picture']['R']; 156 $ps=$pattern['Pure_default_prefilter_picture']['S']; 157 foreach($r as $i => $pr) 158 { 159 $content = preg_replace($ps[$i], $pr, $content); 160 } 161 return $content; 162 } 126 163 /**************************** identification.tpl *****************************************************************/ 127 164 function Pure_default_prefilter_identification($content, &$smarty) 128 165 { 129 $search = '#<form action="\{\$F_LOGIN_ACTION\}" method="post" name="login_form" class="properties">#'; 130 $replacement = '<div id="autre_content"> 131 <form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties"> 132 '; 133 $content = preg_replace($search, $replacement, $content); 134 $search = '#</div>[\s]*<\!-- content -->#'; 135 $replacement = '</div> 136 </div> <!-- content -->'; 137 return preg_replace($search, $replacement, $content); 166 global $pattern; 167 $r=$pattern['Pure_default_prefilter_identification']['R']; 168 $ps=$pattern['Pure_default_prefilter_identification']['S']; 169 foreach($r as $i => $pr) 170 { 171 $content = preg_replace($ps[$i], $pr, $content); 172 } 173 return $content; 138 174 } 139 175 /**************************** nbm.tpl *****************************************************************/ 140 176 function Pure_default_prefilter_nbm($content, &$smarty) 141 177 { 142 $search = '#\{if not empty(\$errors)\}#'; 143 $replacement = '<div id="autre_content"> 144 {if not empty($errors)} 145 '; 146 $content = preg_replace($search, $replacement, $content); 147 $search = '#\{/if\}[\s]*</div>#'; 148 $replacement = '{/if} 149 </div> 150 </div> <!-- content -->'; 151 return preg_replace($search, $replacement, $content); 178 global $pattern; 179 $r=$pattern['Pure_default_prefilter_nbm']['R']; 180 $ps=$pattern['Pure_default_prefilter_nbm']['S']; 181 foreach($r as $i => $pr) 182 { 183 $content = preg_replace($ps[$i], $pr, $content); 184 } 185 return $content; 152 186 } 153 187 /**************************** notification.tpl *****************************************************************/ 154 188 function Pure_default_prefilter_notification($content, &$smarty) 155 189 { 156 $search = '#<p>\{\'#'; 157 $replacement = '<div id="autre_content"> 158 <p>{\''; 159 $content = preg_replace($search, $replacement, $content); 160 $search = '#</dt>[\s]*</dl>#'; 161 $replacement = '</dt> 162 </dl> 163 </div>'; 164 return preg_replace($search, $replacement, $content); 190 global $pattern; 191 $r=$pattern['Pure_default_prefilter_notification']['R']; 192 $ps=$pattern['Pure_default_prefilter_notification']['S']; 193 foreach($r as $i => $pr) 194 { 195 $content = preg_replace($ps[$i], $pr, $content); 196 } 197 return $content; 165 198 } 166 199 /**************************** password.tpl *****************************************************************/ 167 200 function Pure_default_prefilter_password($content, &$smarty) 168 201 { 169 $search = '#<form action=#'; 170 $replacement = '<div id="autre_content"> 171 <form action=';172 $content = preg_replace($search, $replacement, $content); 173 $search = '#</div>[\s]*<!-- content -->#'; 174 $replacement = '</div> 175 </div> <!-- content -->'; 176 return preg_replace($search, $replacement, $content);202 global $pattern; 203 $r=$pattern['Pure_default_prefilter_password']['R']; 204 $ps=$pattern['Pure_default_prefilter_password']['S']; 205 foreach($r as $i => $pr) 206 { 207 $content = preg_replace($ps[$i], $pr, $content); 208 } 209 return $content; 177 210 } 178 211 /**************************** tags.tpl *****************************************************************/ 179 212 function Pure_default_prefilter_tags($content, &$smarty) 180 213 { 181 $search = '#</h2>[\s]*</div>#'; 182 $replacement = '</h2> 183 </div> 184 <div id="autre_content">'; 185 $content = preg_replace($search, $replacement, $content); 186 $search = '#</div>[\s]*<!-- content -->#'; 187 $replacement = '</div> 188 </div> <!-- content -->'; 189 return preg_replace($search, $replacement, $content); 214 global $pattern; 215 $r=$pattern['Pure_default_prefilter_tags']['R']; 216 $ps=$pattern['Pure_default_prefilter_tags']['S']; 217 foreach($r as $i => $pr) 218 { 219 $content = preg_replace($ps[$i], $pr, $content); 220 } 221 return $content; 190 222 } 191 223 /**************************** about.tpl *****************************************************************/ 192 224 function Pure_default_prefilter_about($content, &$smarty) 193 225 { 194 $search = '#</h2>[\s]*</div>#'; 195 $replacement = '</h2> 196 </div> 197 <div id="autre_content">'; 198 $content = preg_replace($search, $replacement, $content); 199 $search = '#\{/if\}[\s]*</div>#'; 200 $replacement = '{/if} 201 </div> 202 </div>'; 203 return preg_replace($search, $replacement, $content); 226 global $pattern; 227 $r=$pattern['Pure_default_prefilter_about']['R']; 228 $ps=$pattern['Pure_default_prefilter_about']['S']; 229 foreach($r as $i => $pr) 230 { 231 $content = preg_replace($ps[$i], $pr, $content); 232 } 233 return $content; 204 234 } 205 235 /**************************** popuphelp.tpl *****************************************************************/ 206 236 function Pure_default_prefilter_popuphelp($content, &$smarty) 207 237 { 208 $search = '#</h2>[\s]*</div>#'; 209 $replacement = '</h2> 210 </div> 211 <div id="autre_content">'; 212 $content = preg_replace($search, $replacement, $content); 213 $search = '#</div>[\s]*<!-- content -->#'; 214 $replacement = '</div> 215 </div> <!-- content -->'; 216 return preg_replace($search, $replacement, $content); 238 global $pattern; 239 $r=$pattern['Pure_default_prefilter_popuphelp']['R']; 240 $ps=$pattern['Pure_default_prefilter_popuphelp']['S']; 241 foreach($r as $i => $pr) 242 { 243 $content = preg_replace($ps[$i], $pr, $content); 244 } 245 return $content; 217 246 } 218 247 -
extensions/floPure/Pure_freaky/theme.css
r10105 r16034 38 38 } 39 39 */ 40 H2, #imageHeaderBar, #imageToolBar A:hover, .row1 , H3,.throw, #imageToolBar, #admin_content, .header_notes, .content, #autre_content, .additional_info, #copyright {40 H2, #imageHeaderBar, #imageToolBar A:hover, .row1 , .throw, #imageToolBar, #admin_content, .header_notes, .content, #autre_content, .additional_info, #copyright { 41 41 background-image: url(images/content_in.png)!important; 42 42 background-repeat:repeat; -
extensions/floPure/Pure_green_nature/theme.css
r5914 r16034 25 25 } 26 26 27 H2, #imageToolBar A:hover, .row1 , H3{27 H2, #imageToolBar A:hover, .row1 { 28 28 background-color: #76964B; 29 29 } -
extensions/floPure/Pure_grey/theme.css
r10201 r16034 28 28 } 29 29 /* backgrounds */ 30 BODY, H3,.throw, #content {30 BODY, .throw, #content { 31 31 background-color: #414141; 32 32 } -
extensions/floPure/Pure_grey_plastic/theme.css
r6865 r16034 31 31 } 32 32 /* backgrounds */ 33 BODY, H3,.throw, #content {33 BODY, .throw, #content { 34 34 background-color: #414141; 35 35 } -
extensions/floPure/Pure_sky/theme.css
r9716 r16034 38 38 */ 39 39 40 H3,.throw {40 .throw { 41 41 background-color: #EDF0F3; 42 42 } -
extensions/floPure/Pure_tr_clear_blue/theme.css
r9716 r16034 55 55 } 56 56 */ 57 H3,.throw {57 .throw { 58 58 background-color: #EDF0F3; 59 59 } -
extensions/floPure/Pure_tr_green_nature/theme.css
r6857 r16034 22 22 } 23 23 */ 24 H 3, H2, .row1 {24 H2, .row1 { 25 25 background-color: #76964B; 26 26 }
Note: See TracChangeset
for help on using the changeset viewer.