Changeset 6283 for extensions
- Timestamp:
- May 22, 2010, 7:10:41 PM (15 years ago)
- Location:
- extensions/LLGBO2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/admin/llgbo_admin.php
r6259 r6283 37 37 /* Plugin template initialisation for admin panel display */ 38 38 /* ****************************************************** */ 39 global $template 39 global $template,$prefixeTable, $conf,$lang; 40 40 {$template->assign( 'LLGBO_VERSION' , LLGBO_INFO_VERSION);} 41 41 $me = get_plugin_data($plugin_id); 42 42 $template->assign('LLGBOINFO',''); 43 43 // 44 $query =" SELECT ID FROM piwigo_themes where id like '%gally%' " ;44 $query =" SELECT ID FROM ".$prefixeTable."themes where id like '%gally%' " ; 45 45 $result = pwg_query($query); 46 46 while ($row = pwg_db_fetch_assoc($result)) … … 141 141 // compliance HD Shadowbox 142 142 $shadowbowactive = 0; 143 $query =" SELECT ID FROM piwigo_plugins where id ="."'HDShadowbox'"."and state ='active'" ;143 $query =" SELECT ID FROM ".$prefixeTable."plugins where id ="."'HDShadowbox'"." and state ='active'" ; 144 144 $result = pwg_query($query); 145 145 while ($row = pwg_db_fetch_assoc($result)) -
extensions/LLGBO2/main.inc.php
r6259 r6283 2 2 /* 3 3 Plugin Name: Look_like_gbo2 4 Version: 2.1. a4 Version: 2.1.b 5 5 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251 6 6 Author: Ex-Ftb … … 16 16 global $conf; 17 17 18 define ('LLGBO_INFO_VERSION','2.1. a');18 define ('LLGBO_INFO_VERSION','2.1.b'); 19 19 if (!defined('LLGBO_PATH')) 20 20 {define('LLGBO_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');} -
extensions/LLGBO2/maintain.inc.php
r6259 r6283 73 73 or (!isset($conf['LLGBOHEADER'])) or (substr_count($conf['LLGBOHEADER'], ',') != 20)) 74 74 { 75 echo '1-'.substr_count($conf['LLGBO'], ',');76 echo '2-'.substr_count($conf['LLGBOTOOLTIP'], ',');77 echo '3-'.substr_count($conf['LLGBOFRAME'], ',');78 echo '4-'.substr_count($conf['LLGBOHEADER'], ',');79 75 plugin_install(); } 80 76 } … … 82 78 function plugin_uninstall() 83 79 { global $prefixeTable; 84 $q = '80 $q = ' 85 81 DELETE FROM '.CONFIG_TABLE.' WHERE param like "LLGBO%" LIMIT 5;'; 86 82 pwg_query( $q );
Note: See TracChangeset
for help on using the changeset viewer.