Index: extensions/LLGBO2/admin/llgbo_admin.php =================================================================== --- extensions/LLGBO2/admin/llgbo_admin.php (revision 6241) +++ extensions/LLGBO2/admin/llgbo_admin.php (revision 6259) @@ -34,5 +34,17 @@ include(LLGBO_PATH.'defaultvalues.php'); - +/* ****************************************************** */ +/* Plugin template initialisation for admin panel display */ +/* ****************************************************** */ +global $template , $conf,$lang; +{$template->assign( 'LLGBO_VERSION' , LLGBO_INFO_VERSION);} +$me = get_plugin_data($plugin_id); +$template->assign('LLGBOINFO',''); +// +$query =" SELECT ID FROM piwigo_themes where id like '%gally%' " ; +$result = pwg_query($query); + while ($row = pwg_db_fetch_assoc($result)) + { $template->assign( 'GALLY', 'Msg'); } +// // +-----------------------------------------------------------------------+ // | Tabssheet @@ -50,5 +62,5 @@ $disptabframe = 'false'; $disptabheader = 'false'; - +$tabsheet->select($page['tab']); if (!isset($_POST['llgbo_frame']) ) {$disptabframe = $conf['LLGBO_SETTINGS'][0] ;} @@ -97,13 +109,4 @@ {$template->set_filenames( array('llgbo_admin_content' => dirname(__FILE__).'/llgbo_adminheader.tpl') );} $tabsheet->select($page['tab']); -/* ****************************************************** */ -/* Plugin template initialisation for admin panel display */ -/* ****************************************************** */ -global $template , $conf,$lang; -{$template->assign( 'LLGBO_VERSION' , LLGBO_INFO_VERSION);} -$me = get_plugin_data($plugin_id); -$template->assign('LLGBOINFO',''); -// Load configuration settings from database - $template->append('head_elements', Index: extensions/LLGBO2/admin/llgbo_adminframe.tpl =================================================================== --- extensions/LLGBO2/admin/llgbo_adminframe.tpl (revision 6241) +++ extensions/LLGBO2/admin/llgbo_adminframe.tpl (revision 6259) @@ -1,5 +1,5 @@ {if !empty($LLGBOINFO)}