[ Index ] |
|
Code source de e107 0.7.8 |
1 if (ADMIN) { 2 global $ns, $pref, $e107_plug, $array_functions; 3 if (strstr(e_SELF, "/admin.php")) { 4 $active_page = 'x'; 5 } else { 6 $active_page = time(); 7 } 8 $e107_var['x']['text']=ADLAN_52; 9 $e107_var['x']['link']=e_ADMIN.'admin.php'; 10 $e107_var['y']['text']=ADLAN_53; 11 $e107_var['y']['link']=e_BASE."index.php"; 12 13 $text .= show_admin_menu("",$active_page,$e107_var); 14 15 unset($e107_var); 16 foreach ($array_functions as $links_key => $links_value) { 17 $e107_var[$links_key]['text'] = $links_value[1]; 18 $e107_var[$links_key]['link'] = $links_value[0]; 19 } 20 $text .= show_admin_menu(ADLAN_93, time(), $e107_var, FALSE, TRUE, TRUE); 21 unset($e107_var); 22 // Plugin links menu 23 24 $sql = new db; 25 if ($sql -> db_Select("plugin", "*", "plugin_installflag=1")) { 26 //Link Plugin Manager 27 $e107_var['x']['text'] = "<b>".ADLAN_98."</b>"; 28 $e107_var['x']['link'] = e_ADMIN."plugin.php"; 29 $e107_var['x']['perm'] = "P"; 30 31 while($rowplug = $sql -> db_Fetch()) { 32 extract($rowplug); 33 $e107_plug[$rowplug[1]] = $rowplug[3]; 34 include_once(e_PLUGIN.$plugin_path."/plugin.php"); 35 36 // Links Plugins 37 if ($eplug_conffile) { 38 $e107_var['x'.$plugin_id]['text'] = $eplug_caption; 39 $e107_var['x'.$plugin_id]['link'] = e_PLUGIN.$plugin_path."/".$eplug_conffile; 40 $e107_var['x'.$plugin_id]['perm'] = "P".$plugin_id; 41 } 42 unset($eplug_conffile, $eplug_name, $eplug_caption); 43 } 44 45 $text .= show_admin_menu(ADLAN_95, time(), $e107_var, FALSE, TRUE, TRUE); 46 unset($e107_var); 47 } 48 unset($e107_var); 49 $e107_var['x']['text']=ADLAN_46; 50 $e107_var['x']['link']=e_ADMIN."admin.php?logout"; 51 $text .= show_admin_menu("",$act,$e107_var); 52 return $ns -> tablerender(LAN_head_1, $text, array('id' => 'admin_nav', 'style' => 'button_menu'), TRUE); 53 } 54
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |