<?php

include (_BO_REP_THEME.TEMPLATE_ADMIN.'/inc/def_icon.inc');
$_MENU['1']['menu'] = "MENU_CONTENU,".@$_PX_icons['100']." ";
$_MENU['1']['1'] = array(MENU_CONTENU_EDITION_A_LA_VOLEE,@$_PX_icons['110'],'../'.PREM_PAGE.'&amp;edit=true.html', 3 ,'');
$_MENU['1']['2'] = array(MENU_CONTENU_MODIFIER_UNE_PAGE,@$_PX_icons['120'],_FILENAME_MODIFIER_UN_FICHIER, 3,'');
$_MENU['1']['3'] = array(MENU_CONTENU_GESTION_RUBRIQUE,@$_PX_icons['130'],_FILENAME_RUBRIQUES, 3,'');
// $_MENU['1']['4'] = array(MENU_CONTENU_AJOUTER_DOC,@$_PX_icons['140'],_FILENAME_XMEDIA, 3,'');
$_MENU['1']['5'] = array(MENU_CONFIG_MENU,@$_PX_icons['320'],_FILENAME_MENU, 2,'');


$_MENU['3']['menu'] = "MENU_CONFIG,".@$_PX_icons['300']." ";
$_MENU['3']['1'] = array(MENU_CONFIG_UTILISATEUR_GROUPES,@$_PX_icons['310'],_FILENAME_GESTION_USERS, 2,'');
// $_MENU['3']['2'] = array(MENU_CONFIG_MENU,@$_PX_icons['320'],_FILENAME_MENU, 2,'');
$_MENU['3']['3'] = array(MENU_CONFIG_MODULES,@$_PX_icons['330'],_FILENAME_CONFIG_MODULES, 2,'');
$_MENU['3']['4'] = array(MENU_CONFIG_FILES_CONFIG,@$_PX_icons['340'],_FILENAME_EDIT_CONFIG, 1,'');
$_MENU['3']['5'] = array(MENU_CONFIG_VIDE_CACHE_ADMIN,@$_PX_icons['350'],'#js',5,"onclick=\"{ ajax('retour_ajax_txt','include/inc/advRmDir.inc','advRmDir', '\'cache/\'', 'false'); setTimeout ('init_full_menu_bo()',250);} \" ");
$_MENU['3']['6'] = array(MENU_CONFIG_VIDE_TMP,@$_PX_icons['360'],'#js',5,"onclick=\"{ ajax('retour_ajax_txt','include/inc/advRmDir.inc','advRmDir', '\'".ADD_PATH_ADMIN."tmp/\'', 'false'); setTimeout ('init_full_menu_bo()',250);} \" ");

$_MENU['4']['menu'] = "MENU_ACTION,".@$_PX_icons['400']." ";
$_MENU['4']['1'] = array(txt_on_off('detect_user_agent',MENU_ACTION_ON_USER_AGENT,MENU_ACTION_OFF_USER_AGENT),@$_PX_icons['410'],'#js',1,"onclick=\"{ajax('retour_ajax_txt','include/inc/on_off_table.inc','on_off_table', '\'detect_user_agent\',\'".ADD_PATH_ADMIN.TBL_SYS_CONFIG_INC."\',\'_PX_config\' ', '".addslashes(MENU_ACTION_ON_OFF_USER_AGENT_ALT)."');setTimeout ('init_full_menu_bo()',250);}\"");
$_MENU['4']['2'] = array(txt_on_off('afficher_stats',MENU_ACTION_ON_STAT,MENU_ACTION_OFF_STAT),@$_PX_icons['420'],'#js',1,"onclick=\"{ajax('retour_ajax_txt','include/inc/on_off_table.inc','on_off_table', '\'afficher_stats\',\'".ADD_PATH_ADMIN.TBL_SYS_CONFIG_INC."\',\'_PX_config\' ', '".addslashes(MENU_ACTION_ON_OFF_STAT_ALT)."');setTimeout ('init_full_menu_bo()',250);}\"");
$_MENU['4']['3'] = array(txt_on_off('fermeture_du_site',MENU_ACTION_CLOSE_PUBLIC_SITE,MENU_ACTION_OPEN_PUBLIC_SITE),@$_PX_icons['430'],'#js',1,"onclick=\"ajax('bulle','include/inc/on_off_table.inc','on_off_table', '\'fermeture_du_site\' ,\'".ADD_PATH_ADMIN.TBL_SYS_CONFIG_INC."\',\'_PX_config\' ', '".addslashes(MENU_ACTION_CLOSE_PUBLIC_SITE_ALT)."');setTimeout ('init_full_menu_bo()',250);}\"");
// $_MENU['4']['4'] = array(txt_on_off('ajax_request',MENU_ACTION_ON_AJAX,MENU_ACTION_OFF_AJAX),@$_PX_icons['440'],'#js',2,"onclick=\"{ajax('ajax','include/inc/on_off_table.inc','on_off_table', '\'ajax_request\',\'".ADD_PATH_ADMIN.TBL_SYS_CONFIG_INC."\',\'_PX_config\' ', '".addslashes(MENU_ACTION_ON_OFF_AJAX)."');setTimeout ('init_full_menu_bo()',250);}\"");
// $_MENU['4']['5'] = array(txt_on_off('cache_public',MENU_ACTION_ON_CACHE,MENU_ACTION_OFF_CACHE),@$_PX_icons['450'],'#js',2,"onclick=\"{ajax('retour_ajax_txt','include/inc/on_off_table.inc','on_off_table', '\'cache_public\',\'".ADD_PATH_ADMIN.TBL_SYS_CONFIG_INC."\',\'_PX_config\' ', '".addslashes(MENU_ACTION_ON_OFF_CACHE_ALT)."'); setTimeout ('init_full_menu_bo()',250);} \"");
$_MENU['4']['6'] = array(MENU_ACTION_VIDE_CACHE,@$_PX_icons['460'],'#js',2,"onclick=\"{ ajax('retour_ajax_txt','include/inc/advRmDir.inc','advRmDir', '\'".ADD_PATH_ADMIN."cache/\'', 'Cache  vide!' ); setTimeout ('init_full_menu_bo()',250);}\"");


$_MENU['5']['menu'] = "MENU_TOOLS,".@$_PX_icons['500']." ";
$_MENU['5']['1'] = array(MENU_TOOLS_FILE_LANG,@$_PX_icons['510'],_FILENAME_EDIT_FILE_LANG, 2,'');
$_MENU['5']['2'] = array(MENU_TOOLS_FILE_REVISIONS,@$_PX_icons['520'],_FILENAME_EDIT_REVISION, 2,'');
$_MENU['5']['3'] = array(MENU_TOOLS_TEMPLATE,@$_PX_icons['530'],'edit_template.php', 1,'');
if ( (defined('BO_MOD_RESTORE'))AND(_USER_PERSO__GRP<=1) )
	$_MENU['5']['4'] = array(MENU_RESTORE_ZIP,@$_PX_icons['540'],'#js',1,"onclick=\"{ ajax('form_ajax_txt','"._BO_REP_MOD."restore/functions.inc','restore', ' \'\'','' ); add_close('".$_SERVER['PHP_SELF']."','close','parent.getElementById(\'form_ajax\').style=none;parent.getElementById(\'backgd\').style=none;'); montre('form_ajax'); montre('backgd');  false}\"");

$_MENU['6']['menu'] = "MENU_PERSO,".@$_PX_icons['600']." ";
$_MENU['6']['1'] = array(DECONNEXION,@$_PX_icons['610'],'deconnexion.php',10,'');
$_MENU['6']['2'] = array(MENU_PERSO_MODIF_USER,@$_PX_icons['620'],'gestion_users.php?user='._USER_PERSO__LOGIN,3,'');
// $_MENU['6']['3'] = array(MENU_PERSO_URL1,@$_PX_icons['630'],_USER_PERSO__URL_1,10,'');
// $_MENU['6']['4'] = array(MENU_PERSO_URL2,@$_PX_icons['640'],_USER_PERSO__URL_2,10,'');

$_MENU['7']['menu'] = "MENU_MISSOL,".@$_PX_icons['700']." ";
if ( (defined('BO_MOD_MISSOL'))AND(_USER_PERSO__GRP<=1) ) {
	$_MENU['7']['1'] = array(MENU_MISSOL_APTGET,@$_PX_icons['710'],'#js',1,"onclick=\"{ upload_ajax('form_ajax_txt','"._BO_REP_MOD."update_auto/functions.inc','apt_get_list', '\'".URL_MISSOL."rss/missol.xml\'', '"."' ); add_close('admin.php','close','parent.getElementById(\'form_ajax\').style=none;parent.getElementById(\'backgd\').style=none;'); montre('form_ajax'); montre('backgd');  false}\"");
	$_MENU['7']['2'] = array(MENU_MISSOL_USER,@$_PX_icons['720'],'#js',1,"onclick=\"{ upload_ajax('form_ajax_txt','"._BO_REP_MOD."missol/functions.inc','missol_info_user', ' \'\'','' ); add_close('".$_SERVER['PHP_SELF']."','close','parent.getElementById(\'form_ajax\').style=none;parent.getElementById(\'backgd\').style=none;'); montre('form_ajax'); montre('backgd');  false}\"");
if ( (defined('BO_MOD_FAB_PAQUET'))AND(_USER_PERSO__GRP<=2) )
	$_MENU['7']['3'] = array(MENU_FAB_PAQUET,@$_PX_icons['940'],'#js',1,"onclick=\"{ upload_ajax('form_ajax_txt','"._BO_REP_MOD."fab_paquet/functions.inc','zip_paquet_list', ' \'\'','' ); add_close('".$_SERVER['PHP_SELF']."','close','parent.getElementById(\'form_ajax\').style=none;parent.getElementById(\'backgd\').style=none;'); montre('form_ajax'); montre('backgd');  false}\"");
}

$_MENU['8']['menu'] = "MENU_DIVERS,".@$_PX_icons['800']." ";
if ( (defined('BO_MOD_BACKUP'))AND(_USER_PERSO__GRP<=1) )
	$_MENU['8']['1'] = array(MENU_BACKUP_PAGE,@$_PX_icons['930'],'#js',1,"onclick=\"{ upload_ajax('form_ajax_txt','"._BO_REP_MOD."backup/functions.inc','backup_page', ' \'\'','' ); add_close('".$_SERVER['PHP_SELF']."','close','parent.getElementById(\'form_ajax\').style=none;parent.getElementById(\'backgd\').style=none;'); montre('form_ajax'); montre('backgd');  false}\"");


$_MENU['9']['menu'] = "MENU_DEVELOP,".@$_PX_icons['900']." ";
if ( (defined('DEVELOP'))AND(DEVELOP>0) ) {
$_MENU['9']['1'] = array(MENU_DEVELOP_DEBUG,@$_PX_icons['910'],'#js',1,"onclick=\"{ upload_ajax('form_ajax_txt','include/inc/signal_bug.inc','signal_bug', '\'0\'', '".MENU_DEVELOP_DEBUG_TXT."' ); add_close('admin.php','close','parent.getElementById(\'form_ajax\').style=none;'); montre('form_ajax');  false}\"");
$_MENU['9']['2'] = array(MENU_DEVELOP_TEST,@$_PX_icons['920'],'test.php', 1,'');
if ( (defined('BO_MOD_BACKUP'))AND(_USER_PERSO__GRP<=1) )
	$_MENU['9']['3'] = array(MENU_BACKUP_NOYAU,@$_PX_icons['930'],'#js',1,"onclick=\"{ upload_ajax('form_ajax_txt','"._BO_REP_MOD."backup/functions.inc','zip_noyau', ' \'\'','' ); add_close('".$_SERVER['PHP_SELF']."','close','parent.getElementById(\'form_ajax\').style=none;parent.getElementById(\'backgd\').style=none;'); montre('form_ajax'); montre('backgd');  false}\"");

}
?>