Ignore:
Timestamp:
07/11/12 15:16:59 (7 years ago)
Author:
plg
Message:

compatibility with Piwigo 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/hide_title_on_browse_path/main.inc.php

    r12644 r16623  
    2424function hide_title_on_browse_path_prefilter($content, &$smarty) 
    2525{ 
    26   $pattern = '#\{\$LEVEL_SEPARATOR\}\{\$current.TITLE\}#ms'; 
     26  $pattern = '#<span class="browsePathSeparator">\{\$LEVEL_SEPARATOR\}</span><h2>\{\$current.TITLE\}</h2>#ms'; 
    2727  $replacement = ''; 
    2828  return preg_replace($pattern, $replacement, $content); 
Note: See TracChangeset for help on using the changeset viewer.