Changeset 11928 for extensions/floPure/Pure_default
- Timestamp:
- Aug 10, 2011, 2:48:38 PM (13 years ago)
- Location:
- extensions/floPure/Pure_default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floPure/Pure_default/local_head.tpl
r10486 r11928 17 17 {/literal} 18 18 {/footer_script} 19 {if isset($MENUBAR) and isset($ELEMENT_CONTENT)} 20 {html_head}{literal} 21 <style> 22 #imageHeaderBar, #imageToolBar { 23 background-image:none; 24 } 25 </style> 26 {/literal}{/html_head} 27 {/if} -
extensions/floPure/Pure_default/theme.css
r10109 r11928 43 43 } 44 44 45 /*--------image--------------*/ 46 #imageHeaderBar .browsePath { 47 font-size: 120%; 48 font-weight: bold; 49 } -
extensions/floPure/Pure_default/themeconf.inc.php
r10295 r11928 86 86 return preg_replace($search, $replacement, $content); 87 87 } 88 /************************************ picture.tpl ************************************/ 89 add_event_handler('loc_begin_picture', 'Pure_default_picture'); 90 function Pure_default_picture() 91 { 92 global $template; 93 $template->set_prefilter('picture', 'Pure_default_prefilter_picture'); 94 } 95 function Pure_default_prefilter_picture($content, &$smarty) 96 { 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 } 88 125 89 126 /**************************** identification.tpl *****************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.