Ignore:
Timestamp:
Sep 27, 2014, 3:53:30 PM (10 years ago)
Author:
gbo
Message:

improvement for Back2Front

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/include/manage_picture_content.php

    r29808 r29810  
    116116        // --------------------------------------   
    117117                $patern = '/'.'<img(.*)id="theMainImage"(.*)>'.'/';     
    118         $replacement =  $replacement.'{if !empty($llgbo.FRAME_TITLE1)}{$llgbo.FRAME_TITLE1}{$current.TITLE} {$llgbo.FRAME_TITLE3}{/if}{$llgbo.FRAME_SIZE}{$llgbo.FRAME_BEGIN}'."\n".'<img $1 id="theMainImage" $2>'.'{$llgbo.FRAME_END}';
     118        $replacement = '{if !empty($llgbo.FRAME_TITLE1)}{$llgbo.FRAME_TITLE1}{$current.TITLE} {$llgbo.FRAME_TITLE3}{/if}{$llgbo.FRAME_SIZE}{$llgbo.FRAME_BEGIN}'."\n".'<img $1 id="theMainImage" $2>'.'{$llgbo.FRAME_END}';
    119119                $content = preg_replace($patern, $replacement, $content); 
    120         return $content;
     120                return $content;
    121121}
    122122?>
Note: See TracChangeset for help on using the changeset viewer.