Changeset 16145 for extensions/LLGBO2/main.inc.php
- Timestamp:
- Jun 28, 2012, 6:23:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/main.inc.php
r15107 r16145 2 2 /* 3 3 Plugin Name: Look_like_gbo2 4 Version: 2.4. B4 Version: 2.4.D 5 5 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251 6 6 Author: GBo … … 8 8 Description: Display thumbnail under button. Add navigation on picture look like GBo Gallery 9 9 Add a border around picture ...... 10 2.4.A Compliance Piwigo 2.4 + jquery 11 2.4.B Compliance with Theme Stripped and plugin Piwishak 10 2.4.A Beta1 Compliance Piwigo 2.4 + jquery 11 2.4.B beta 2 Compliance with Theme Stripped and plugin Piwishak 12 2.4.C First version for official Piwigo 2.4 13 2.4.D Compliance with Theme Simple 12 14 */ 13 15 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 14 16 15 17 global $conf; 16 define ('LLGBO_INFO_VERSION','2.4. B');18 define ('LLGBO_INFO_VERSION','2.4.D'); 17 19 if (!defined('LLGBO_PATH')) 18 20 {define('LLGBO_PATH' ,get_root_url().'plugins/'.basename(dirname(__FILE__)) . '/');} … … 117 119 // ----------- add CSS tooltip in footer -------------------- 118 120 //----------------------------------------------------------------- 119 If (( $conf['LLGBO'][1] == 'true' ) /* tooltip */121 If ((($conf['LLGBO_SETTINGS'][1] == 'true' ) /* tooltip */ 120 122 or ($conf['LLGBO_SETTINGS'] [2] == 'true' ) /* exif under bt */ ) 121 123 { $template->append('footer_elements',$sweetcss); … … 143 145 // ------------------------ 144 146 // End frame 145 $search = '{$ALT_IMG}{/if}">'; 147 $search = '{foreach from=$current.unique_derivatives'; 148 $replacement = "\n".'{$llgbo.FRAME_END}'."\n"."</div> <!-- end GBO frame -->"."\n".$search; 146 149 if (( strpos(strtoupper($themeconf['name']) , 'STRIPPED') === 0) ) 147 {$search = 'class="hideTabs">'; }148 $replacement = $search."\n".'{$llgbo.FRAME_END}'."\n"."</div> <!-- end GBO frame -->"; 150 {$search = 'class="hideTabs">'; 151 $replacement = $search."\n".'{$llgbo.FRAME_END}'."\n"."</div> <!-- end GBO frame -->";} 149 152 return str_replace($search, $replacement, $content); 150 153 }
Note: See TracChangeset
for help on using the changeset viewer.