Changeset 10108


Ignore:
Timestamp:
04/06/11 16:51:56 (9 years ago)
Author:
flop25
Message:

Regex changed : use [\s]* instead of [\r\t\n]*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/floPure/Pure_autumn/themeconf.inc.php

    r10104 r10108  
    2626function Pure_autumn_prefilter_cat($content, &$smarty) 
    2727{ 
    28   $search = '#<li>[\r\t\n]*<div class="thumbnailCategory">#'; 
     28  $search = '#<li>[\s]*<div class="thumbnailCategory">#'; 
    2929   
    3030  $replacement = '<li class="{cycle values="cat_1,cat_2,cat_3,cat_4"}" > 
     
    4646function Pure_autumn_prefilter_thumbnails($content, &$smarty) 
    4747{ 
    48   $search = '#<li>[\r\t\n]*<span class="wrap1">#'; 
     48  $search = '#<li>[\s]*<span class="wrap1">#'; 
    4949   
    5050  $replacement = '<li class="thumb_{"1"|mt_rand:5}"  > 
Note: See TracChangeset for help on using the changeset viewer.