/[openfoncier]/trunk/dyn/menu.inc.php
ViewVC logotype

Diff of /trunk/dyn/menu.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 90 by fraynaud, Thu Aug 25 10:10:35 2011 UTC revision 555 by vpihour, Tue Oct 30 14:05:14 2012 UTC
# Line 3  Line 3 
3   * Ce fichier permet de configurer quelles actions vont etre disponibles   * Ce fichier permet de configurer quelles actions vont etre disponibles
4   * dans le menu.   * dans le menu.
5   *   *
  *  
  *  
6   * @package openmairie_exemple   * @package openmairie_exemple
7   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $
8   */   */
9    
10  /**  //
  * $menu est le tableau associatif qui contient tout le menu de  
  * l'application, il contient lui meme un tableau par rubrique, puis chaque  
  * rubrique contient un tableau par lien  
  *  
  * Caracteristiques :  
  * --- tableau rubrik  
  *     - title [obligatoire]  
  *     - description (texte qui s'affiche au survol de la rubrique)  
  *     - href (contenu du lien href)  
  *     - class (classe css qui s'affiche sur la rubrique)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cette rubrique)  
  *     - links [obligatoire]  
  *  
  * --- tableau links  
  *     - title [obligatoire]  
  *     - href [obligatoire] (contenu du lien href)  
  *     - class (classe css qui s'affiche sur l'element)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cet element)  
  *     - target (pour ouvrir le lien dans une nouvelle fenetre)  
  */  
11  $menu = array();  $menu = array();
12    
13  // {{{  Rubrique application  // {{{ Rubrique APPLICATION
14  // inserer ici vos tables principales  //
   
15  $rubrik = array(  $rubrik = array(
16      "title" => _("Instruction"),      "title" => _("instruction"),
17      "class" => "application",      "class" => "application",
18      "right" => "menu_application",      "right" => "menu_application",
19  );  );
20    //
21  $links = array();  $links = array();
22  // *** APPLICATION ***  //
23  // inserez ici les tables de votra application  $links[] = array(
24  // ========================================================================      "href" => "../scr/tab.php?obj=PC",
25  /*      "class" => "dossier",
26    array_push($links,      "title" => _("PC"),
27      array(      "right" => array("PC", "PC_tab", ),
28          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|PC", "form.php|PC", ),
29          "class" => "nom_table",  );
30          "title" => _("nom_table"),  //
31          "right" => "nom_table"  $links[] = array(
32      ));      "href" => "../scr/tab.php?obj=DP",
33  */      "class" => "dossier",
34  // ========================================================================      "title" => _("DP"),
35        "right" => array("DP", "DP_tab", ),
36        "open" => array("tab.php|DP", "form.php|DP", ),
37    array_push($links,  );
38      array(  //
39          "href" => "../scr/tab.php?obj=PC",  $links[] = array(
40          "class" => "dossier",      "href" => "../scr/tab.php?obj=PD",
41          "title" => _("PC"),      "class" => "dossier",
42          "right" => "dossier"      "title" => _("PD"),
43      ));      "right" => array("PD", "PD_tab", ),
44          "open" => array("tab.php|PD", "form.php|PD", ),
45    array_push($links,  );
46      array(  //
47          "href" => "../scr/tab.php?obj=DP",  $links[] = array(
48          "class" => "dossier",      "href" => "../scr/tab.php?obj=PA",
49          "title" => _("DP"),      "class" => "dossier",
50          "right" => "dossier"      "title" => _("PA"),
51      ));      "right" => array("PA", "PA_tab", ),
52        "open" => array("tab.php|PA", "form.php|PA", ),
53    );
54    array_push($links,  //
55      array(  $links[] = array(
56          "href" => "../scr/tab.php?obj=PD",      "title" => "<hr/>",
57          "class" => "dossier",      "right" => array(
58          "title" => _("PD"),          "PC_accueil", "PC_accueil_tab", "DP_accueil", "DP_accueil_tab",
59          "right" => "dossier"          "PD_accueil", "PD_accueil_tab", "PA_accueil", "PA_accueil_tab",
60      ));      ),
61    );
62    array_push($links,  //
63      array(  $links[] = array(
64          "href" => "../scr/tab.php?obj=PA",      "href" => "../scr/tab.php?obj=PC_accueil",
65          "class" => "dossier",      "class" => "dossier",
66          "title" => _("PA"),      "title" => _("PC - accueil"),
67          "right" => "dossier"      "right" => array("PC_accueil", "PC_accueil_tab", ),
68      ));      "open" => array("tab.php|PC_accueil", "form.php|PC_accueil", ),
69    );
70  array_push($links,  //
71      array(  $links[] = array(
72          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=DP_accueil",
73          "right" => array("gen"),      "class" => "dossier",
74      ));      "title" => _("DP - accueil"),
75        "right" => array("DP_accueil", "DP_accueil_tab", ),
76    array_push($links,      "open" => array("tab.php|DP_accueil", "form.php|DP_accueil", ),
77      array(  );
78          "href" => "../scr/tab.php?obj=PC_accueil",  //
79          "class" => "dossier",  $links[] = array(
80          "title" => _("PC - accueil"),      "href" => "../scr/tab.php?obj=PD_accueil",
81          "right" => "dossier"      "class" => "dossier",
82      ));      "title" => _("PD - accueil"),
83          "right" => array("PD_accueil", "PD_accueil_tab", ),
84    array_push($links,      "open" => array("tab.php|PD_accueil", "form.php|PD_accueil", ),
85      array(  );
86          "href" => "../scr/tab.php?obj=DP_accueil",  //
87          "class" => "dossier",  $links[] = array(
88          "title" => _("DP - accueil"),      "href" => "../scr/tab.php?obj=PA_accueil",
89          "right" => "dossier"      "class" => "dossier",
90      ));      "title" => _("PA - accueil"),
91        "right" => array("PA_accueil", "PA_accueil_tab", ),
92        "open" => array("tab.php|PA_accueil", "form.php|PA_accueil", ),
93    array_push($links,  );
94      array(  //
95          "href" => "../scr/tab.php?obj=PD_accueil",  $links[] = array(
96          "class" => "dossier",      "title" => "<hr/>",
97          "title" => _("PD - accueil"),      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
98          "right" => "dossier"  );
99      ));  //
100    $links[] = array(
101    array_push($links,      "href" => "../scr/tab.php?obj=PC_modificatif",
102      array(      "class" => "traitement",
103          "href" => "../scr/tab.php?obj=PA_accueil",      "title" => _("modificatif transfert"),
104          "class" => "dossier",      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
105          "title" => _("PA - accueil"),      "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
106          "right" => "dossier"  );
107      ));  //
108      array_push($links,  $links[] = array(
109      array(      "title" => "<hr/>",
110          "title" => "<hr/>",      "right" => array("recherchedossier", ),
111          "right" => array("gen"),  );
112      ));  //
113    $links[] = array(
114      array_push($links,      "href" => "../app/recherchedossier.php",
115      array(      "class" => "dossier",
116          "href" => "../app/recherchedossier.php",      "title" => _("Recherche dossier"),
117          "class" => "dossier",      "right" => "recherchedossier",
118          "title" => _("Recherche dossier"),      "open" => "recherchedossier.php|",
119          "right" => "recherchedossier"  );
120      ));  $links[] = array(
121        "class" => "category",
122        "title" => _("Consultation"),
123        "right" => array("consultation_mes_retours", "consultation_tous_retours","avis_code_barre"),
124    );
125    $links[] = array(
126        "title" => "<hr/>",
127        "right" => array("consultation_mes_retours", "consultation_tous_retours","avis_code_barre"),
128    );
129    $links[] = array(
130        "href" => "../scr/tab.php?obj=consultation_mes_retours",
131        "class" => "consultation_mes_retours",
132        "title" => _("Mes retours"),
133        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
134        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
135    );
136    $links[] = array(
137        "href" => "../scr/tab.php?obj=consultation_tous_retours",
138        "class" => "consultation_tous_retours",
139        "title" => _("Tous les retours"),
140        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
141        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
142    );
143    $links[] = array(
144        "href" => "../app/avis_code_barre.php",
145        "class" => "avis_code_barre",
146        "title" => _("Retour de consultation"),
147        "right" => array("avis_code_barre", ),
148        "open" => array("avis_code_barre.php|"),
149    );
150    //
151  $rubrik['links'] = $links;  $rubrik['links'] = $links;
152  array_push($menu, $rubrik);  //
153    $menu[] = $rubrik;
154    // }}}
155    
156  // {{{ Rubrique EXPORT  
157    // {{{ Rubrique Demandes d'avis
158    //
159  $rubrik = array(  $rubrik = array(
160      "title" => _("Export"),      "title" => _("Demandes d'avis"),
161      "class" => "edition",      "class" => "demande_avis",
     "right" => "menu_export",  
162  );  );
163    //
164  $links = array();  $links = array();
165  array_push($links,  //
166      array(  $links[] = array(
167          "href" => "../scr/edition.php",      "href" => "../scr/tab.php?obj=demande_encours",
168          "class" => "edition",      "class" => "demande_encours",
169          "title" => _("Edition"),      "title" => _("Demandes en cours"),
170          "right" => "edition"      "right" => array("demande_encours", "demande_encours_tab", ),
171      ));      "open" => array("tab.php|demande_encours", "form.php|demande_encours", ),
172  array_push($links,  );
     array(  
         "href" => "../app/edition_p.php",  
         "class" => "edition",  
         "title" => _("Edition date depot"),  
         "right" => "edition"  
     ));  
   
 array_push($links,  
     array(  
         "href" => "../app/edition_d.php",  
         "class" => "edition",  
         "title" => _("Edition date decision"),  
         "right" => "edition"  
     ));  
   
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("reqmo", "export_pc_tab", "export_dp_tab", "export_sitadel_tab")  
     ));  
   
 array_push($links,  
     array(  
         "href" => "../scr/reqmo.php",  
         "class" => "reqmo",  
         "title" => _("Requetes memorisees"),  
         "right" => "reqmo"  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../app/export_pc.php",  
         "class" => "reqmo",  
         "title" => _("export PC Lascot"),  
         "right" => "ecport_pc"  
     ));  
       
     array_push($links,  
     array(  
         "href" => "../app/export_dp.php",  
         "class" => "reqmo",  
         "title" => _("export DP Lascot"),  
         "right" => "export_dp"  
     ));  
       
     array_push($links,  
     array(  
         "href" => "../app/export_sitadel.php",  
         "class" => "reqmo",  
         "title" => _("export sitadel"),  
         "right" => "export_sitadel"  
     ));  
173    
174    $links[] = array(
175        "href" => "../scr/tab.php?obj=demande_passee",
176        "class" => "demande_passee",
177        "title" => _("Demandes passees"),
178        "right" => array("demande_passee", "demande_passee_tab", ),
179        "open" => array("tab.php|demande_passee", "form.php|demande_passee", ),
180    );
181    
182    $links[] = array(
183        "href" => "../scr/tab.php?obj=demande_export",
184        "class" => "demande_export",
185        "title" => _("Exports"),
186        "right" => array("demande_export", "demande_export_tab", ),
187        "open" => array("tab.php|demande_export", "form.php|demande_export", ),
188    );
189    
190    //
191  $rubrik['links'] = $links;  $rubrik['links'] = $links;
192  array_push($menu, $rubrik);  //
193    $menu[] = $rubrik;
194  // }}}  // }}}
195    
 // {{{ Rubrique TRAITEMENT  
196    
197    
198    // {{{ Rubrique EXPORT
199    //
200  $rubrik = array(  $rubrik = array(
201      "title" => _("Traitement"),      "title" => _("export"),
202      "class" => "traitement",      "class" => "edition",
203      "right" => "menu_traitement",      "right" => "menu_export",
204  );  );
205    //
206  $links = array();  $links = array();
207  // *** TRAITEMENT ***  //
208  // inserez le lien d acces au traitement  $links[] = array(
209  // ========================================================================      "href" => "../scr/edition.php",
210  /*      "class" => "edition",
211   array_push($links,      "title" => _("edition"),
212      array(      "right" => "edition",
213          "href" => "../trt/nom_du_traitement.php",      "open" => "edition.php|",
214          "class" => "traitement",  );
215          "title" => _("Traitement"),  //
216          "right" => "traitement"  $links[] = array(
217      ));      "href" => "../app/edition_p.php",
218  */      "class" => "edition",
219  // ========================================================================      "title" => _("edition date depot"),
220      array_push($links,      "right" => "edition_p",
221      array(      "open" => "edition_p.php|",
222          "href" => "../scr/form.php?obj=dossier_numeromanuel",  );
223          "class" => "traitement",  //
224          "title" => _("numero manuel"),  $links[] = array(
225          "right" => "traitement"      "href" => "../app/edition_d.php",
226      ));      "class" => "edition",
227        "title" => _("edition date decision"),
228      array_push($links,      "right" => "edition_d",
229      array(      "open" => "edition_d.php|",
230          "href" => "../scr/tab.php?obj=PC_modificatif",  );
231          "class" => "traitement",  //
232          "title" => _("modificatif transfert"),  $links[] = array(
233          "right" => "traitement"      "title" => "<hr/>",
234      ));          "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
235    );
236      array_push($links,  //
237      array(  $links[] = array(
238          "href" => "../app/num_dossier.php",      "href" => "../scr/reqmo.php",
239          "class" => "traitement",      "class" => "reqmo",
240          "title" => _("remise a 0"),      "title" => _("requetes memorisees"),
241          "right" => "traitement"      "right" => "reqmo",
242      ));      "open" => array("reqmo.php|", "requeteur.php|", ),
243    );
244    //
245    $links[] = array(
246        "href" => "../app/export_pc.php",
247        "class" => "reqmo",
248        "title" => _("export PC Lascot"),
249        "right" => "export_pc",
250        "open" => "export_pc.php|",
251    );
252    //
253    $links[] = array(
254        "href" => "../app/export_dp.php",
255        "class" => "reqmo",
256        "title" => _("export DP Lascot"),
257        "right" => "export_dp",
258        "open" => "export_dp.php|",
259    );
260    //
261    $links[] = array(
262        "href" => "../app/sitadel.php",
263        "class" => "reqmo",
264        "title" => _("export sitadel")." 2",
265        "right" => "export_sitadel",
266        "open" => "sitadel.php|",
267    );
268    //
269  $rubrik['links'] = $links;  $rubrik['links'] = $links;
270  array_push($menu, $rubrik);  //
271    $menu[] = $rubrik;
272  // }}}  // }}}
273    
274    // {{{ Rubrique PARAMETRAGE
275    //
 // {{{  Rubrique parametrage de l'application  
   
276  $rubrik = array(  $rubrik = array(
277      "title" => _("Parametrage"),      "title" => _("parametrage"),
278      "class" => "parametrage",      "class" => "parametrage",
279      "right" => "menu_parametrage",      "right" => "menu_parametrage",
280  );  );
281    //
282  $links = array();  $links = array();
283  // *** TABLES DE PARAMETRAGE ***  //
284  // inserer ici vos tables de parametres  // GENERAUX
285  // ========================================================================  $links[] = array(
286  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
287    array_push($links,      "class" => "traitement",
288      array(      "title" => _("numero manuel"),
289          "href" => "../scr/tab.php?obj=nom_table",      "right" => "dossier_numeromanuel",
290          "class" => "nom_table",      "open" => "|dossier_numeromanuel",
291          "title" => _("nom_table"),  );
292          "right" => "nom_table"  //
293      ));  $links[] = array(
294  */      "href" => "../app/num_dossier.php",
295  // ========================================================================      "class" => "traitement",
296        "title" => _("remise a 0"),
297        "right" => "num_dossier",
298  // param gaux      "open" => "num_dossier.php|",
299    );
300    array_push($links,  //
301      array(  $links[] = array(
302          "href" => "../scr/tab.php?obj=architecte",      "title" => "<hr/>",
303          "class" => "architecte",      "right" => array(
304          "title" => _("architecte"),          "architecte", "architecte_tab", "service", "service_tab", "instructeur", "instructeur_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
305          "right" => "architecte"          "lien_localisation_nature", "lien_localisation_nature_tab",
306      ));           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
307            "destination", "destination_tab", "nature", "nature_tab", "rivoli",
308            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
309        ),
310    array_push($links,  );
311      array(  //
312          "href" => "../scr/tab.php?obj=service",  $links[] = array(
313          "class" => "service",      "href" => "../scr/tab.php?obj=architecte",
314          "title" => _("service"),      "class" => "architecte",
315          "right" => "service"      "title" => _("architecte"),
316      ));      "right" => array("architecte", "architecte_tab", ),
317          "open" => array("tab.php|architecte", "form.php|architecte", ),
318    array_push($links,  );
319      array(  //
320          "href" => "../scr/tab.php?obj=travaux",  $links[] = array(
321          "class" => "travaux",      "href" => "../scr/tab.php?obj=service",
322          "title" => _("travaux"),      "class" => "service",
323          "right" => "travaux"      "title" => _("service"),
324      ));      "right" => array("service", "service_tab", ),
325        "open" => array("tab.php|service", "form.php|service", ),
326    array_push($links,  );
327      array(  $links[] = array(
328          "href" => "../scr/tab.php?obj=regle",      "href" => "../scr/tab.php?obj=service_categorie",
329          "class" => "regle",      "class" => "service_categorie",
330          "title" => _("regle"),      "title" => _("thematique des services"),
331          "right" => "regle"      "right" => array("service_categorie", "service_categorie_tab", ),
332      ));      "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
333    );
334    array_push($links,  $links[] = array(
335      array(      "href" => "../scr/tab.php?obj=lien_service_service_categorie",
336          "href" => "../scr/tab.php?obj=categorie_demandeur",      "class" => "lien_service_service_categorie",
337          "class" => "categorie_demandeur",      "title" => _("Lien service / thematique"),
338          "title" => _("categorie_demandeur"),      "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
339          "right" => "categorie_demandeur"      "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
340      ));  );
341      //
342    array_push($links,  $links[] = array(
343      array(      "href" => "../scr/tab.php?obj=instructeur",
344          "href" => "../scr/tab.php?obj=destination",      "class" => "instructeur",
345          "class" => "destination",      "title" => _("instructeur"),
346          "title" => _("destination"),      "right" => array("instructeur", "instructeur_tab", ),
347          "right" => "destination"      "open" => array("tab.php|instructeur", "form.php|instructeur", ),
348      ));  );
349    //
350    array_push($links,  $links[] = array(
351      array(      "href" => "../scr/tab.php?obj=lien_localisation_nature",
352          "href" => "../scr/tab.php?obj=nature",      "class" => "lien_localisation_nature",
353          "class" => "nature",      "title" => _("Lien instructeur / localisation / type de dossier"),
354          "title" => _("nature"),      "right" => array("lien_localisation_nature", "lien_localisation_nature_tab", ),
355          "right" => "nature"      "open" => array("tab.php|lien_localisation_nature", "form.php|lien_localisation_nature", ),
356      ));  );
357    //
358  // workflows  $links[] = array(
359      array_push($links,      "href" => "../scr/tab.php?obj=travaux",
360      array(      "class" => "travaux",
361          "title" => "<hr/>",      "title" => _("travaux"),
362          "right" => array("action_tab", "transition_tab", "etat_tab",      "right" => array("travaux", "travaux_tab", ),
363                           "evenement_tab", "bible", "avis")      "open" => array("tab.php|travaux", "form.php|travaux", ),
364      ));  );
365    //
366    array_push($links,  $links[] = array(
367      array(      "href" => "../scr/tab.php?obj=categorie_demandeur",
368          "href" => "../scr/tab.php?obj=action",      "class" => "categorie_demandeur",
369          "class" => "action",      "title" => _("categorie_demandeur"),
370          "title" => _("action"),      "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
371          "right" => "action"      "open" => array(
372      ));          "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
373        ),
374    array_push($links,  );
375      array(  //
376          "href" => "../scr/tab.php?obj=transition",  $links[] = array(
377          "class" => "transition",      "href" => "../scr/tab.php?obj=destination",
378          "title" => _("transition"),      "class" => "destination",
379          "right" => "transition"      "title" => _("destination"),
380      ));      "right" => array("destination", "destination_tab", ),
381          "open" => array("tab.php|destination", "form.php|destination", ),
382      array_push($links,  );
383      array(  //
384          "href" => "../scr/tab.php?obj=etat",  $links[] = array(
385          "class" => "etat",      "href" => "../scr/tab.php?obj=nature",
386          "title" => _("etat"),      "class" => "nature",
387          "right" => "etat"      "title" => _("nature"),
388      ));      "right" => array("nature", "nature_tab", ),
389        "open" => array("tab.php|nature", "form.php|nature", ),
390      array_push($links,  );
391        array(  //
392            "href" => "../scr/tab.php?obj=evenement",  $links[] = array(
393            "class" => "evenement",      "href" => "../scr/tab.php?obj=rivoli",
394            "title" => _("evenement"),      "class" => "rivoli",
395            "right" => "evenement"      "title" => _("rivoli"),
396        ));      "right" => array("rivoli", "rivoli_tab", ),
397            "open" => array("tab.php|rivoli", "form.php|rivoli", ),
398        array_push($links,  );
399      array(  //
400          "href" => "../scr/tab.php?obj=bible",  $links[] = array(
401          "class" => "bible",      "href" => "../scr/tab.php?obj=civilite",
402          "title" => _("bible"),      "class" => "civilite",
403          "right" => "bible"      "title" => _("civilite"),
404      ));      "right" => array("civilite", "civilite_tab", ),
405              "open" => array("tab.php|civilite", "form.php|civilite", ),
406    array_push($links,  );
407      array(  //
408          "href" => "../scr/tab.php?obj=avis",  $links[] = array(
409          "class" => "avis",      "href" => "../scr/tab.php?obj=parametre",
410          "title" => _("avis"),      "class" => "parametre",
411          "right" => "avis"      "title" => _("parametre")." "._("statistique"),
412      ));      "right" => array("parametre", "parametre_tab", ),
413        "open" => array("tab.php|parametre", "form.php|parametre", ),
414  // cadastre interne  );
415      array_push($links,  //
416      array(  $links[] = array(
417          "title" => "<hr/>",      "class" => "category",
418          "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")      "title" => _("workflows"),
419      ));      "right" => array(
420    array_push($links,          "action", "action_tab", "transition", "transition_tab", "etat",
421      array(          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
422          "href" => "../scr/tab.php?obj=parcelle",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
423          "class" => "parcelle",      ),
424          "title" => _("parcelle"),  );
425          "right" => "parcelle"  //
426      ));  $links[] = array(
427        "title" => "<hr/>",
428    array_push($links,      "right" => array(
429      array(          "action", "action_tab", "transition", "transition_tab", "etat",
430          "href" => "../scr/tab.php?obj=proprietaire",          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
431          "class" => "proprietaire",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
432          "title" => _("proprietaire"),      ),
433          "right" => "proprietaire"  );
434      ));  //
435    $links[] = array(
436    array_push($links,      "href" => "../scr/tab.php?obj=action",
437      array(      "class" => "action",
438          "href" => "../scr/tab.php?obj=civilite",      "title" => _("action"),
439          "class" => "civilite",      "right" => array("action", "action_tab", ),
440          "title" => _("civilite"),      "open" => array("tab.php|action", "form.php|action", ),
441          "right" => "civilite"  );
442      ));  //
443    $links[] = array(
444    array_push($links,      "href" => "../scr/tab.php?obj=transition",
445      array(      "class" => "transition",
446          "href" => "../scr/tab.php?obj=pos",      "title" => _("transition"),
447          "class" => "pos",      "right" => array("transition", "transition_tab", ),
448          "title" => _("pos"),      "open" => array("tab.php|transition", "form.php|transition", ),
449          "right" => "pos"  );
450      ));  //
451      $links[] = array(
452    array_push($links,      "href" => "../scr/tab.php?obj=etat",
453      array(      "class" => "etat",
454          "href" => "../scr/tab.php?obj=rivoli",      "title" => _("etat"),
455          "class" => "rivoli",      "right" => array("etat", "etat_tab", ),
456          "title" => _("rivoli"),      "open" => array("tab.php|etat", "form.php|etat", ),
457          "right" => "rivoli"  );
458      ));  //
459    $links[] = array(
460        "href" => "../scr/tab.php?obj=evenement",
461        "class" => "evenement",
462        "title" => _("evenement"),
463        "right" => array("evenement", "evenement_tab", ),
464        "open" => array("tab.php|evenement", "form.php|evenement", ),
465    );
466    //
467    $links[] = array(
468        "href" => "../scr/tab.php?obj=bible",
469        "class" => "bible",
470        "title" => _("bible"),
471        "right" => array("bible", "bible_tab", ),
472        "open" => array("tab.php|bible", "form.php|bible", ),
473    );
474    //
475    $links[] = array(
476        "href" => "../scr/tab.php?obj=avis_decision",
477        "class" => "avis_decision",
478        "title" => _("avis decision"),
479        "right" => array("avis_decision", "avis_decision_tab", ),
480        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
481    );
482    //
483    $links[] = array(
484        "href" => "../scr/tab.php?obj=avis_consultation",
485        "class" => "avis_consultation",
486        "title" => _("avis consultation"),
487        "right" => array("avis_consultation", "avis_consultation_tab", ),
488        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
489    );
490    //
491    $links[] = array(
492        "class" => "category",
493        "title" => _("Organisation"),
494        "right" => array("direction", "division", "instructeur"),
495    );
496    $links[] = array(
497        "title" => "<hr/>",
498        "right" => array("direction", "division", "instructeur"),
499    );
500    //
501    $links[] = array(
502        "href" => "../scr/tab.php?obj=direction",
503        "class" => "direction",
504        "title" => _("direction"),
505        "right" => array("direction", "direction_tab", ),
506        "open" => array("tab.php|direction", "form.php|direction", ),
507    );
508    //
509    $links[] = array(
510        "href" => "../scr/tab.php?obj=division",
511        "class" => "division",
512        "title" => _("division"),
513        "right" => array("division", "division_tab", ),
514        "open" => array("tab.php|division", "form.php|division", ),
515    );
516    //
517    $links[] = array(
518        "href" => "../scr/tab.php?obj=instructeur",
519        "class" => "instructeur",
520        "title" => _("instructeur"),
521        "right" => array("instructeur", "instructeur_tab", ),
522        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
523    );
524    //
525    $links[] = array(
526        "class" => "category",
527        "title" => _("editions"),
528        "right" => array(
529            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
530            "om_lettretype", "om_lettretype_tab",
531        ),
532    );
533    //
534    $links[] = array(
535        "title" => "<hr/>",
536        "right" => array(
537            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
538            "om_lettretype", "om_lettretype_tab",
539        ),
540    );
541    //
542    $links[] = array(
543        "href" => "../scr/tab.php?obj=om_etat",
544        "class" => "etat",
545        "title" => _("om_etat"),
546        "right" => array("om_etat", "om_etat_tab", ),
547        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
548    );
549    //
550    $links[] = array(
551        "href" => "../scr/tab.php?obj=om_sousetat",
552        "class" => "sousetat",
553        "title" => _("om_sousetat"),
554        "right" => array("om_sousetat", "om_sousetat_tab", ),
555        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
556    );
557    //
558    $links[] = array(
559        "href" => "../scr/tab.php?obj=om_lettretype",
560        "class" => "lettretype",
561        "title" => _("om_lettretype"),
562        "right" => array("om_lettretype", "om_lettretype_tab"),
563        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
564    );
565    //
566  $rubrik['links'] = $links;  $rubrik['links'] = $links;
567  array_push($menu, $rubrik);  //
568    $menu[] = $rubrik;
569    // }}}
   
570    
571    // {{{ Rubrique SIG
572    //
573    $rubrik = array(
574        "title" => _("sig"),
575        "class" => "sig",
576        "right" => "menu_sig",
577    );
578    //
579    $links = array();
580    //
581    $links[] = array(
582        "href" => "../scr/tab.php?obj=parcelle",
583        "class" => "parcelle",
584        "title" => _("parcelle"),
585        "right" => array("parcelle", "parcelle_tab"),
586        "open" => array("tab.php|parcelle", "form.php|parcelle", ),
587    );
588    //
589    $links[] = array(
590        "href" => "../scr/tab.php?obj=proprietaire",
591        "class" => "proprietaire",
592        "title" => _("proprietaire"),
593        "right" => array("proprietaire", "proprietaire_tab"),
594        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
595    );
596    //
597    $links[] = array(
598        "class" => "category",
599        "title" => _("servitudes"),
600        "right" => array(
601            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
602            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
603            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
604        ),
605    );
606    //
607    $links[] = array(
608        "title" => "<hr/>",
609        "right" => array(
610            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
611            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
612            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
613        ),
614    );
615    //
616    $links[] = array(
617        "href" => "../scr/tab.php?obj=pos",
618        "class" => "pos",
619        "title" => _("pos"),
620        "right" => array("pos", "pos_tab"),
621        "open" => array("tab.php|pos", "form.php|pos", ),
622    );
623    //
624    $links[] = array(
625        "href" => "../scr/tab.php?obj=servitude_surfacique",
626        "class" => "servitude_surfacique",
627        "title" => _("servitude_surfacique"),
628        "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
629        "open" => array(
630            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
631        ),
632    );
633    //
634    $links[] = array(
635        "href" => "../scr/tab.php?obj=servitude_ligne",
636        "class" => "servitude_ligne",
637        "title" => _("servitude_ligne"),
638        "right" => array("servitude_ligne", "servitude_ligne_tab"),
639        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
640    );
641    //
642    $links[] = array(
643        "href" => "../scr/tab.php?obj=servitude_point",
644        "class" => "servitude_point",
645        "title" => _("servitude_point"),
646        "right" => array("servitude_point", "servitude_point_tab"),
647        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
648    );
649    //
650    $links[] = array(
651        "href" => "../scr/tab.php?obj=parcelle_lot",
652        "class" => "parcelle_lot",
653        "title" => _("parcelle_lot"),
654        "right" => array("parcelle_lot", "parcelle_lot_tab"),
655        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
656    );
657    //
658    $rubrik['links'] = $links;
659    //
660    $menu[] = $rubrik;
661    // }}}
662    
663  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
664  //  //
665  $rubrik = array(  $rubrik = array(
666      "title" => _("Administration"),      "title" => _("administration"),
667      "class" => "administration",      "class" => "administration",
668      "right" => "menu_administration",      "right" => "menu_administration",
669  );  );
670  //  //
671  $links = array();  $links = array();
672  array_push($links,  //
673      array(  $links[] = array(
674          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
675          "class" => "collectivite",      "class" => "collectivite",
676          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
677          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
678      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
679  array_push($links,  );
680      array(  //
681          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
682          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
683          "title" => _("om_parametre"),      "class" => "parametre",
684          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
685      ));      "right" => array("om_parametre", "om_parametre_tab", ),
686        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
687    );
688  array_push($links,  //
689      array(  $links[] = array(
690          "title" => "<hr/>",      "class" => "category",
691          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
692      ));      "right" => array(
693  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
694      array(          "om_droit", "om_droit_tab", "directory",
695          "href" => "../scr/tab.php?obj=om_profil",      ),
696          "class" => "profil",  );
697          "title" => _("om_profil"),  //
698          "right" => "om_profil_tab"  $links[] = array(
699      ));      "title" => "<hr/>",
700  array_push($links,      "right" => array(
701      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
702          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
703          "class" => "droit",      ),
704          "title" => _("om_droit"),  );
705          "right" => "om_droit_multi"  //
706      ));  $links[] = array(
707  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
708      array(      "class" => "profil",
709          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
710          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
711          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
712          "right" => "om_utilisateur_tab"  );
713      ));  //
714  array_push($links,  $links[] = array(
715      array(      "href" => "../scr/tab.php?obj=om_droit",
716          "title" => "<hr/>",      "class" => "droit",
717          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
718      ));      "right" => array("om_droit", "om_droit_tab", ),
719  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
720      array(  );
721          "href" => "../scr/tab.php?obj=om_etat",  //
722          "class" => "etat",  $links[] = array(
723          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
724          "right" => "om_etat_tab"      "class" => "utilisateur",
725      ));      "title" => _("om_utilisateur"),
726  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
727      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
728          "href" => "../scr/tab.php?obj=om_sousetat",  );
729          "class" => "sousetat",  //
730          "title" => _("om_sousetat"),  $links[] = array(
731          "right" => "om_sousetat_tab"      "title" => "<hr/>",
732      ));      "right" => array("directory", ),
733  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
734      array(  );
735          "href" => "../scr/tab.php?obj=om_lettretype",  //
736          "class" => "lettretype",  $links[] = array(
737          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
738          "right" => "om_lettretype_tab"      "class" => "directory",
739      ));      "title" => _("annuaire"),
740  array_push($links,      "right" => array("directory", ),
741      array(      "open" => array("directory.php|", ),
742          "href" => "../scr/tab.php?obj=om_sig_point",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
743          "class" => "om_sig_point",  );
744          "title" => _("om SIG"),  //
745          "right" => "om_sig_point_tab"  $links[] = array(
746      ));      "class" => "category",
747  array_push($links,      "title" => _("tableaux de bord"),
748      array(      "right" => array("om_widget", "om_widget_tab", ),
749          "href" => "../scr/tab.php?obj=om_widget",  );
750          "class" => "om_widget",  //
751          "title" => _("widget"),  $links[] = array(
752          "right" => "om_widget"      "title" => "<hr/>",
753      ));      "right" => array("om_widget", "om_widget_tab", ),
754  array_push($links,  );
755      array(  //
756          "title" => "<hr/>",  $links[] = array(
757          "right" => array("import"),      "href" => "../scr/tab.php?obj=om_widget",
758      ));      "class" => "om_widget",
759  array_push($links,      "title" => _("widget"),
760      array(      "right" => array("om_widget", "om_widget_tab", ),
761          "href" => "../scr/import.php",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
762          "class" => "import",  );
763          "title" => _("Import"),  //
764          "right" => "import"  $links[] = array(
765      ));      "class" => "category",
766        "title" => _("sig"),
767  array_push($links,      "right" => array(
768      array(          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
769          "title" => "<hr/>",      ),
770          "right" => array("gen"),  );
771      ));  //
772  array_push($links,  $links[] = array(
773      array(      "title" => "<hr/>",
774          "title" => _("Generateur"),      "right" => array(
775          "href" => "../scr/gen.php",          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
776          "class" => "generator",      ),
777          "right" => "gen",  );
778      ));  //
779    $links[] = array(
780        "href" => "../scr/tab.php?obj=om_sig_map",
781        "class" => "om_sig_map",
782        "title" => _("om_sig_map"),
783        "right" => array("om_sig_map", "om_sig_map_tab", ),
784        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
785    );
786    //
787    $links[] = array(
788        "href" => "../scr/tab.php?obj=om_sig_wms",
789        "class" => "om_sig_wms",
790        "title" => _("om_sig_wms"),
791        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
792        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
793    );
794    //
795    $links[] = array(
796        "class" => "category",
797        "title" => _("options avancees"),
798        "right" => array("import", "gen", ),
799    );
800    //
801    $links[] = array(
802        "title" => "<hr/>",
803        "right" => array("import", ),
804    );
805    //
806    $links[] = array(
807        "href" => "../scr/import.php",
808        "class" => "import",
809        "title" => _("Import"),
810        "right" => array("import", ),
811        "open" => array("import.php|", ),
812    );
813    //
814    $links[] = array(
815        "title" => "<hr/>",
816        "right" => array("gen", ),
817    );
818    //
819    $links[] = array(
820        "title" => _("Generateur"),
821        "href" => "../scr/gen.php",
822        "class" => "generator",
823        "right" => array("gen", ),
824        "open" => array(
825            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
826            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
827            "genimport.php|",
828        ),
829    );
830    //
831  $rubrik['links'] = $links;  $rubrik['links'] = $links;
832  array_push($menu, $rubrik);  //
833    $menu[] = $rubrik;
834  // }}}  // }}}
835    
836  ?>  ?>

Legend:
Removed from v.90  
changed lines
  Added in v.555

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26