getCatalog(); switch ($sub) { case 'domain' : require_once("./admin/acces/domain.inc.php"); break; case 'user_prf' : require_once("./admin/acces/user_prf.inc.php"); break; case 'res_prf' : require_once("./admin/acces/res_prf.inc.php"); break; default : echo window_title($database_window_title.$msg[7].$msg[1003].$msg[1001]); //construction menu $admin_menu_acces = "

".htmlentities($msg["admin_menu_acces"], ENT_QUOTES, $charset)." > !!menu_sous_rub!!

"; $admin_menu_acces.= "
"; foreach($t_cat as $k=>$v) { $lib=htmlentities($v['comment'], ENT_QUOTES, $charset); $admin_menu_acces.= "$lib"; } unset($v); $admin_menu_acces.= "
"; $admin_menu_acces=str_replace('!!menu_sous_rub!!','', $admin_menu_acces); $admin_layout = str_replace('!!menu_contextuel!!', $admin_menu_acces, $admin_layout); print $admin_layout; require_once("$include_path/messages/help/$lang/admin_acces.txt"); break; } ?>