[ Index ] |
|
Code source de e107 0.7.8 |
1 if (ADMIN) { 2 global $ns, $pref; 3 ob_start(); 4 //Show upper_right menu if the function exists 5 $tmp = explode(".",e_PAGE); 6 $adminmenu_func = $tmp[0]."_adminmenu"; 7 if(function_exists($adminmenu_func)){ 8 if (!$parm) { 9 call_user_func($adminmenu_func,$adminmenu_parms); 10 } else { 11 ob_end_clean(); 12 return 'pre'; 13 } 14 } 15 $plugindir = (str_replace("/","",str_replace("..","",e_PLUGIN))."/"); 16 $plugpath = e_PLUGIN.str_replace(basename(e_SELF),"",str_replace($plugindir,"",strstr(e_SELF,$plugindir)))."admin_menu.php"; 17 if(file_exists($plugpath)){ 18 if (!$parm) { 19 @require_once($plugpath); 20 } else { 21 ob_end_clean(); 22 return 'pre'; 23 } 24 } 25 $ret = ob_get_contents(); 26 ob_end_clean(); 27 return $ret; 28 }
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 |