Changeset 7937
- Timestamp:
- Nov 29, 2010, 10:01:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/main.inc.php
r7891 r7937 2 2 /* 3 3 Plugin Name: Look_like_gbo2 4 Version: 2.1. h4 Version: 2.1.i 5 5 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251 6 6 Author: Ex-Ftb … … 15 15 2.1.f fix bug with metatda and video 16 16 2.1.g fix bug with HD Shadowbow on first and last picture and navigation on picture 17 2.1.h language De, Sk, Lv and compliance GMaps */ 17 2.1.h language De, Sk, Lv and compliance GMaps 18 2.1.i Improve compliance with gally */ 18 19 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 19 20 /* création d'une instance de la classe */ … … 21 22 global $conf; 22 23 23 define ('LLGBO_INFO_VERSION','2.1. h');24 define ('LLGBO_INFO_VERSION','2.1.i'); 24 25 if (!defined('LLGBO_PATH')) 25 26 {define('LLGBO_PATH' ,get_root_url().'plugins/'.basename(dirname(__FILE__)) . '/');} … … 213 214 ///////////////////////////////////////////////////////////////// 214 215 if ($ThePicture['is_picture'] <> 1 ) { return $content; ; } 215 //echo strpos(strtoupper($tpl_name) , 'GALLY'); 216 217 //if (( strpos(strtoupper($tpl_name) , 'GALLY') === 0) ) 218 // { return $content; ; } // Not compliant with Gally 216 219 217 ///////////////////////////////////////////////////////////////// 220 218 If (($conf['LLGBO_SETTINGS'] [1] == 'true' )/* tooltip display */ or ($conf['LLGBO_SETTINGS'] [0] == 'true') /* frame */ ) … … 323 321 {$template->clear_assign('FRAME_BEGIN') ;} 324 322 323 //-------- compliance gally --------------------------------- 324 //echo strpos(strtoupper($tpl_name) , 'GALLY'); 325 326 if (( strpos(strtoupper($tpl_name) , 'GALLY') === 0) ) 327 { 328 $template->append('head_elements',"\n".' <STYLE type="text/css">#theImage{position:static;}</STYLE>'); 329 } 330 // ------------------------------------------------ 325 331 $template->set_filenames( array('default_content'=> dirname(__FILE__).'/template/picture_content.tpl') ); 326 332 return $template->parse( 'default_content', true);
Note: See TracChangeset
for help on using the changeset viewer.