Changeset 11929
- Timestamp:
- Aug 10, 2011, 3:21:19 PM (13 years ago)
- Location:
- extensions/floOS/OS_default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floOS/OS_default/template
-
Property
svn:ignore
set to
_picture.tpl
-
Property
svn:ignore
set to
-
extensions/floOS/OS_default/themeconf.inc.php
r10450 r11929 94 94 return preg_replace($search, $replacement, $content); 95 95 } 96 97 /************************************ picture.tpl ************************************/ 98 add_event_handler('loc_begin_picture', 'OS_default_picture'); 99 function OS_default_picture() 100 { 101 global $template; 102 $template->set_prefilter('picture', 'OS_default_prefilter_picture'); 103 } 104 function OS_default_prefilter_picture($content, &$smarty) 105 { 106 $search = '#<div id="imageInfos">.*<table id="standard" class="infoTable">#s'; 107 $replacement = '<table id="standard" class="infoTable">'; 108 return preg_replace($search, $replacement, $content); 109 } 110 111 112 96 113 ?>
Note: See TracChangeset
for help on using the changeset viewer.