source: extensions/floOS/OS_default/23x.pattern.php @ 14974

Revision 14390, 1.6 KB checked in by flop25, 8 years ago (diff)

feature :
-new system of prefilter : using *.pattern.php files

bug :
-sprite updated for 2.4 and css too
-patterns added for 2.4.x

Line 
1<?php
2$pattern['OS_default_prefilter_index']['S']['table_content_begin']='<div id="content" class="content">';
3$pattern['OS_default_prefilter_index']['R']['table_content_begin']='<div id="content" class="content">
4  <table id="table_content" border="0" cellspacing="0" cellpadding="0">
5    <tr>
6      <td id="section_up_left">&nbsp;</td>
7      <td id="section_up">
8';
9$pattern['OS_default_prefilter_index']['S']['div_titrePage_deletion']='</div>{* <!-- titrePage --> *}';
10$pattern['OS_default_prefilter_index']['R']['div_titrePage_deletion']='';
11$pattern['OS_default_prefilter_index']['S']['div_titrePage_embed']='<h2>{$TITLE}</h2>';
12$pattern['OS_default_prefilter_index']['R']['div_titrePage_embed']='<h2>{$TITLE}</h2>
13        </div>{* <!-- titrePage --> *} 
14          </td>
15      <td id="section_up_right">&nbsp;</td>
16    </tr>
17    <tr>
18      <td id="section_left">&nbsp;</td>
19      <td id="section_in">';
20$pattern['OS_default_prefilter_index']['S']['table_content_end']='{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}';
21$pattern['OS_default_prefilter_index']['R']['table_content_end']='{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}
22      </td>
23          <td id="section_right">&nbsp;</td>
24    </tr>
25    <tr>
26      <td id="section_bottom_left">&nbsp;</td>
27      <td id="section_bottom" >&nbsp;</td>
28      <td id="section_bottom_right" >&nbsp;</td>
29    </tr>
30  </table>
31';
32$pattern['OS_default_prefilter_picture']['S']['div_imageInfos_deletion']='#<div id="imageInfos">.*<table id="standard" class="infoTable">#s';
33$pattern['OS_default_prefilter_picture']['R']['div_imageInfos_deletion']='<table id="standard" class="infoTable">';
34?>
Note: See TracBrowser for help on using the repository browser.