Changeset 29810 for extensions/LLGBO2
- Timestamp:
- Sep 27, 2014, 3:53:30 PM (10 years ago)
- Location:
- extensions/LLGBO2
- Files:
-
- 2 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 ?> -
extensions/LLGBO2/main.inc.php
r29808 r29810 12 12 -- 10-09-2014 13 13 2.7.A Compliance Piwigo 2.7rc1 new administration management 14 2.7.A fix issue with extended description and improve translation 14 2.7.b fix issue with extended description and improve translation 15 improvement for back2Front 15 16 */ 16 17 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); … … 128 129 add_event_handler('loc_begin_picture','llgbo_BeginPicture'); 129 130 add_event_handler('loc_end_picture', 'llgbo_EndPicture'); 130 add_event_handler('render_element_content', 'llgbo_RenderContent', EVENT_HANDLER_PRIORITY_NEUTRAL, 20 );131 add_event_handler('render_element_content', 'llgbo_RenderContent', EVENT_HANDLER_PRIORITY_NEUTRAL, +25 ,20 ); 131 132 } 132 133 ?>
Note: See TracChangeset
for help on using the changeset viewer.