Changeset 10076 for extensions/PWG_Stuffs/trunk
- Timestamp:
- Apr 5, 2011, 7:08:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/trunk/functions.inc.php
r9736 r10076 148 148 function hide_main_block_prefilter($content, $smarty) 149 149 { 150 return preg_replace('# <div id="content" class="content">.*</div> <!-- content -->#s', '', $content);150 return preg_replace('#(?:<div id="content" class="content">|<div id="subcontent">).*</div>[ \{\*]*<!-- (?:sub|)content -->[ \*\}]*#si', '', $content); 151 151 } 152 152
Note: See TracChangeset
for help on using the changeset viewer.