array("tab.php|users", "form.php|users"),
* open => "|users"
* open => "script.php|"
*/
$menu = array();
// {{{ Rubrique application
// inserer ici vos tables principales
$rubrik = array(
"title" => _("Application"),
"class" => "application",
"right" => "menu_application",
);
$links = array();
// *** APPLICATION ***
// inserez ici les tables de votra application
// ========================================================================
/*
array_push($links,
array(
"href" => "../scr/tab.php?obj=nom_table",
"class" => "nom_table",
"title" => _("nom_table"),
"right" => "nom_table"
"open" => array(script.php|obj)
));
*/
// ========================================================================
//-- AB-DEB 2012-05-11 - ajout menu exemple
array_push($links,
array(
"href" => "../scr/tab.php?obj=defunt",
"class" => "defunt",
"title" => _("defunt"),
"right" => "defunt"
));
//-- AB-FIN 2012-05-11 - ajout menu exemple
$rubrik['links'] = $links;
array_push($menu, $rubrik);
// {{{ Rubrique EXPORT
$rubrik = array(
"title" => _("Export"),
"class" => "edition",
"right" => "menu_export",
);
$links = array();
array_push($links,
array(
"href" => "../scr/edition.php",
"class" => "edition",
"title" => _("Edition"),
"right" => "edition",
"open" => "edition.php|"
));
array_push($links,
array(
"href" => "../scr/reqmo.php",
"class" => "reqmo",
"title" => _("Requetes memorisees"),
"right" => "reqmo",
"open" => array("reqmo.php|","requeteur.php|")
));
$rubrik['links'] = $links;
array_push($menu, $rubrik);
// }}}
// {{{ Rubrique TRAITEMENT
$rubrik = array(
"title" => _("Traitement"),
"class" => "traitement",
"right" => "menu_traitement",
);
$links = array();
// *** TRAITEMENT ***
// inserez le lien d acces au traitement
// ========================================================================
/*
array_push($links,
array(
"href" => "../trt/nom_du_traitement.php",
"class" => "traitement",
"title" => _("Traitement"),
"right" => "traitement"
));
*/
// ========================================================================
$rubrik['links'] = $links;
array_push($menu, $rubrik);
// }}}
// {{{ Rubrique parametrage de l'application
$rubrik = array(
"title" => _("Parametrage"),
"class" => "parametrage",
"right" => "menu_parametrage",
);
$links = array();
// *** TABLES DE PARAMETRAGE ***
// inserer ici vos tables de parametres
// ========================================================================
/*
array_push($links,
array(
"href" => "../scr/tab.php?obj=nom_table",
"class" => "nom_table",
"title" => _("nom_table"),
"right" => "nom_table"
));
*/
// ========================================================================
array_push($links,
array(
"href" => "../scr/tab.php?obj=commune",
"class" => "commune",
"title" => _("commune"),
"right" => "commune_tab"
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=prestation",
"class" => "prestation",
"title" => _("prestation"),
"right" => "prestation_tab"
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=vehicule",
"class" => "vehicule",
"title" => _("vehicule"),
"right" => "vehicule_tab"
));
array_push($links,
array(
"title" => "
",
"right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_etat",
"class" => "etat",
"title" => _("om_etat"),
"right" => "om_etat_tab",
"open" => "|om_etat"
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_sousetat",
"class" => "sousetat",
"title" => _("om_sousetat"),
"right" => "om_sousetat_tab",
"open" => "|om_sousetat"
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_lettretype",
"class" => "lettretype",
"title" => _("om_lettretype"),
"right" => "om_lettretype_tab",
"open" => "|om_lettretype"
));
$rubrik['links'] = $links;
array_push($menu, $rubrik);
// {{{ Rubrique ADMINISTRATION
//
$rubrik = array(
"title" => _("Administration"),
"class" => "administration",
"right" => "menu_administration",
);
//
$links = array();
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_collectivite",
"class" => "collectivite",
"title" => _("om_collectivite"),
"right" => "om_collectivite_tab",
"open" => array("tab.php|om_collectivite","form.php|om_collectivite",)
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_parametre",
"class" => "collectivite",
"title" => _("om_parametre"),
"right" => "om_parametre_tab",
"open" => "|om_parametre",
));
array_push($links,
array(
"title" => "
",
"right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab",
"directory")
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_profil",
"class" => "profil",
"title" => _("om_profil"),
"right" => "om_profil_tab",
"open" => "|om_profil",
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_droit",
"class" => "droit",
"title" => _("om_droit"),
"right" => "om_droit_multi",
"open" => "|om_droit",
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_utilisateur",
"class" => "utilisateur",
"title" => _("om_utilisateur"),
"right" => "om_utilisateur_tab",
"open" => "|om_utilisateur",
));
array_push($links,
array(
"href" => "../scr/directory.php",
"class" => "directory",
"title" => _("Annuaire"),
"right" => "om_directory",
"open" => "directory.php|",
));
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_sig_point",
"class" => "om_sig_point",
"title" => _("om SIG"),
"right" => "om_sig_point_tab",
"open" => "|om_sig_point",
));
//-- AB-DEB 2012-05-11 - ajout menu om_sig_wms
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_sig_wms",
"class" => "om_sig_wms",
"title" => _("om wms"),
"right" => "om_sig_wms_tab",
"open" => "|om_sig_wms",
));
//-- AB-FIN 2012-05-11 - ajout menu om_sig_wms
array_push($links,
array(
"href" => "../scr/tab.php?obj=om_widget",
"class" => "om_widget",
"title" => _("widget"),
"right" => "om_widget",
"open" => "|om_widget"
));
array_push($links,
array(
"title" => "
",
"right" => array("import"),
));
array_push($links,
array(
"href" => "../scr/import.php",
"class" => "import",
"title" => _("Import"),
"right" => "import",
"open" => "import.php|",
));
array_push($links,
array(
"title" => "
",
"right" => array("gen"),
));
array_push($links,
array(
"title" => _("Generateur"),
"href" => "../scr/gen.php",
"class" => "generator",
"right" => "gen",
"open" => array("gen.php|","genauto.php|",)
));
$rubrik['links'] = $links;
array_push($menu, $rubrik);
// }}}
?>