Changeset 17145


Ignore:
Timestamp:
Jul 26, 2012, 9:59:50 PM (8 years ago)
Author:
flop25
Message:

fix for 2.4.2 : the regex was corrected

File:
1 edited

Legend:

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

    r16034 r17145  
    3434        <div class="thumbnailCategory">';
    3535  }
    36   elseif ($pwgversion_array[0].$pwgversion_array[1]=="24")
     36  elseif ($pwgversion_array[0].$pwgversion_array[1]=="24" or $pwgversion_array[0].$pwgversion_array[1]=="25" )
    3737  {
    38     $search = '#<li class="\{if \$smarty\.foreach\.comment_loop\.index is odd\}odd\{else\}even\{/if\}">#';
     38    $search = '#<li class="\{if \$smarty\.foreach.*odd\{else\}even\{/if\}">#s';
    3939    $replacement = '<li class="{cycle values="cat_1,cat_2,cat_3,cat_4"}" >';
    4040  }
Note: See TracChangeset for help on using the changeset viewer.