Changeset 6283


Ignore:
Timestamp:
05/22/10 19:10:41 (9 years ago)
Author:
EXFTB
Message:

2.1.b with the good label

Location:
extensions/LLGBO2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/admin/llgbo_admin.php

    r6259 r6283  
    3737/* Plugin template initialisation for admin panel display */ 
    3838/* ****************************************************** */ 
    39 global $template , $conf,$lang;  
     39global $template,$prefixeTable, $conf,$lang;  
    4040{$template->assign( 'LLGBO_VERSION' , LLGBO_INFO_VERSION);} 
    4141$me = get_plugin_data($plugin_id); 
    4242$template->assign('LLGBOINFO',''); 
    4343//   
    44 $query =" SELECT ID FROM  piwigo_themes where id like '%gally%' " ; 
     44$query =" SELECT ID FROM ".$prefixeTable."themes where id like '%gally%' " ; 
    4545$result = pwg_query($query); 
    4646 while ($row = pwg_db_fetch_assoc($result)) 
     
    141141        // compliance HD Shadowbox 
    142142          $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'" ; 
    144144      $result = pwg_query($query); 
    145145          while ($row = pwg_db_fetch_assoc($result)) 
  • extensions/LLGBO2/main.inc.php

    r6259 r6283  
    22/* 
    33Plugin Name: Look_like_gbo2  
    4 Version:  2.1.a 
     4Version:  2.1.b 
    55Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251 
    66Author: Ex-Ftb   
     
    1616global $conf;  
    1717 
    18 define ('LLGBO_INFO_VERSION','2.1.a'); 
     18define ('LLGBO_INFO_VERSION','2.1.b'); 
    1919if (!defined('LLGBO_PATH')) 
    2020{define('LLGBO_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');} 
  • extensions/LLGBO2/maintain.inc.php

    r6259 r6283  
    7373 or  (!isset($conf['LLGBOHEADER'])) or (substr_count($conf['LLGBOHEADER'], ',')  != 20))   
    7474        {        
    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'], ','); 
    7975        plugin_install(); } 
    8076} 
     
    8278function plugin_uninstall() 
    8379{ global $prefixeTable; 
    84   $q = ' 
     80   $q = ' 
    8581DELETE FROM '.CONFIG_TABLE.' WHERE param like "LLGBO%" LIMIT 5;'; 
    8682  pwg_query( $q ); 
Note: See TracChangeset for help on using the changeset viewer.