Changeset 29810 for extensions/LLGBO2/include
- Timestamp:
- Sep 27, 2014, 3:53:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/include/manage_picture_content.php
r29808 r29810 116 116 // -------------------------------------- 117 117 $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}'; 119 119 $content = preg_replace($patern, $replacement, $content); 120 120 return $content; 121 121 } 122 122 ?>
Note: See TracChangeset
for help on using the changeset viewer.