Ignore:
Timestamp:
Jul 30, 2012, 11:22:42 AM (12 years ago)
Author:
patdenice
Message:

Bug corrected with "Hide main block" option.
Bug corrected with LastComs and 2 or 3 blocks per line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/trunk/functions.inc.php

    r10076 r17208  
    9898  global $page, $template;
    9999
    100   $param = $page['PWG_Stuffs_section'];
     100  $param = $page['stuffs_section'];
    101101
    102102  $urls = array(
     
    148148function hide_main_block_prefilter($content, $smarty)
    149149{
    150   return preg_replace('#(?:<div id="content" class="content">|<div id="subcontent">).*</div>[ \{\*]*<!-- (?:sub|)content -->[ \*\}]*#si', '', $content);
     150  return preg_replace('#(?:<div id="content"|<div id="subcontent").*</div>[ \{\*]*<!-- (?:sub|)content -->[ \*\}]*#si', '', $content);
    151151}
    152152
Note: See TracChangeset for help on using the changeset viewer.