Changeset 30224 for extensions/LLGBO2/main.inc.php
- Timestamp:
- Oct 19, 2014, 7:23:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/main.inc.php
r30030 r30224 2 2 /* 3 3 Plugin Name: Look_like_gbo2 4 Version: 2.7. D4 Version: 2.7.E 5 5 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251 6 6 Author: GBo … … 17 17 2.7.D fix bug with frame and theme P0w0 18 18 improve compatibility with Automatic Size 19 2.7.E fix bug with frame in js resize 19 20 */ 20 21 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); … … 23 24 // | Plugin constants | 24 25 // +-----------------------------------------------------------------------+ 25 define('LLGBO_VERSION', '2.7. D');26 define('LLGBO_VERSION', '2.7.E'); 26 27 define('LLGBO_ID', basename(dirname(__FILE__))); 27 28 define('LLGBO_PATH' , PHPWG_PLUGINS_PATH . LLGBO_ID . '/'); … … 47 48 48 49 $conf['LLGBO2'] = safe_unserialize($conf['LLGBO2_Settings']); 50 51 // auto size must take care of frame size 52 if (($conf['LLGBO2']['frame']) ) //Frame on 53 { $framesize =0; 54 foreach ($conf['LLGBO2']['FR-sizes'] as $cle => $value) 55 { if ( $value > 0) 56 { $framesize = $framesize + ( 2 * $value); } 57 } 58 if (defined('ASIZE_PATH')) 59 { $conf['automatic_size_width_margin']= 12 + $framesize; 60 $conf['automatic_size_height_margin']= 40 + $framesize; 61 } 62 } 49 63 } 50 64 /******************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.