/[openfoncier]/branches/3.14.x/dyn/menu.inc.php
ViewVC logotype

Diff of /branches/3.14.x/dyn/menu.inc.php

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

revision 11 by fraynaud, Mon Feb 28 20:15:19 2011 UTC revision 1185 by vpihour, Wed Jan 9 11:20:26 2013 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 AUTORISATION
14  // inserer ici vos tables principales  //
   
15  $rubrik = array(  $rubrik = array(
16      "title" => _("Application"),      "title" => _("autorisation"),
17      "class" => "application",      "class" => "autorisation",
18      "right" => "menu_application",      "right" => "menu_autorisation",
19  );  );
20    //
21  $links = array();  $links = array();
22  // *** 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"  
     ));  
 */  
 // ========================================================================  
   
 /*  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=dossier",  
         "class" => "dossier",  
         "title" => _("dossier"),  
         "right" => "dossier"  
     ));  
 */  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC",  
         "class" => "dossier",  
         "title" => _("PC"),  
         "right" => "dossier"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=DP",  
         "class" => "dossier",  
         "title" => _("DP"),  
         "right" => "dossier"  
     ));  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PD",  
         "class" => "dossier",  
         "title" => _("PD"),  
         "right" => "dossier"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PA",  
         "class" => "dossier",  
         "title" => _("PA"),  
         "right" => "dossier"  
     ));  
   
 array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("gen"),  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC_accueil",  
         "class" => "dossier",  
         "title" => _("PC - accueil"),  
         "right" => "dossier"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=DP_accueil",  
         "class" => "dossier",  
         "title" => _("DP - accueil"),  
         "right" => "dossier"  
     ));  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PD_accueil",  
         "class" => "dossier",  
         "title" => _("PD - accueil"),  
         "right" => "dossier"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PA_accueil",  
         "class" => "dossier",  
         "title" => _("PA - accueil"),  
         "right" => "dossier"  
     ));  
   
   
23  $rubrik['links'] = $links;  $rubrik['links'] = $links;
24  array_push($menu, $rubrik);  //
25    $menu[] = $rubrik;
26    // }}}
27    
28  // {{{ Rubrique EXPORT  // {{{ Rubrique GUICHET UNIQUE
29    //
30  $rubrik = array(  $rubrik = array(
31      "title" => _("Export"),      "title" => _("Guichet Unique"),
32        "class" => "guichet_unique",
33        "right" => "menu_guichet_unique",
34    );
35    //
36    $links = array();
37    //
38    $links[] = array(
39        "class" => "category",
40        "title" => _("demandes"),
41        "right" => array("demande_nouveau_dossier","demande_nouveau_dossier_tab",
42                         "demande_dossier_existant","demande_dossier_existant_tab",),
43    );
44    $links[] = array(
45        "title" => "<hr/>",
46        "right" => array("demande_nouveau_dossier","demande_nouveau_dossier_tab",
47                         "demande_dossier_existant","demande_dossier_existant_tab",
48                         "demande_recepisse_demande","demande_recepisse_demande_tab",),
49    );
50    $links[] = array(
51        "href" => "../scr/form.php?obj=demande_nouveau_dossier&amp;action=0&amp;advs_id=&amp;tricol=&amp;valide=&amp;retour=tab&amp;new=",
52        "class" => "demande",
53        "title" => _("nouveau dossier"),
54        "right" => array("demande_nouveau_dossier", "demande_nouveau_dossier_tab", ),
55        "open" => array("form.php|demande_nouveau_dossier",),
56    );
57    $links[] = array(
58        "href" => "../scr/tab.php?obj=demande_dossier_existant",
59        "class" => "demande_dossier_existant",
60        "title" => _("dossier existant"),
61        "right" => array("demande_dossier_existant", "demande_dossier_existant_tab", ),
62        "open" => array("tab.php|demande_dossier_existant", "form.php|demande_dossier_existant"),
63    );
64    $links[] = array(
65        "href" => "../scr/tab.php?obj=demande",
66        "class" => "demande",
67        "title" => _("recepisse de demande"),
68        "right" => array("demande_recepisse_demande", "demande_recepisse_demande_tab", ),
69        "open" => array("tab.php|demande","form.php|demande"),
70    );
71    //
72    $links[] = array(
73        "class" => "category",
74        "title" => _("Affichage des dossiers"),
75        "right" => array("edition_reglementaire","attestation_affichage",),
76    );
77    $links[] = array(
78        "title" => "<hr/>",
79        "right" => array("edition", "attestation_affichage"),
80    );
81    $links[] = array(
82        "href" => "../app/edition_reglementaire.php",
83      "class" => "edition",      "class" => "edition",
84      "right" => "menu_export",      "title" => _("edition reglementaire"),
85        "right" => "edition_reglementaire",
86        "open" => "edition_reglementaire.php|",
87    );
88    $links[] = array(
89        "href" => "../app/attestation_affichage.php",
90        "class" => "attestation_affichage",
91        "title" => _("attestation d'affichage"),
92        "right" => "attestation_affichage",
93        "open" => "attestation_affichage.php|",
94    );
95    //
96    /*$links[] = array(
97        "class" => "category",
98        "title" => _("Qualification"),
99        "right" => array("qualification"),
100  );  );
101    $links[] = array(
102        "title" => "<hr/>",
103        "right" => array("qualification"),
104    );
105    $links[] = array(
106        "href" => "../scr/tab.php?obj=dossier",
107        "class" => "qualification",
108        "title" => _("A Qualifier"),
109        "right" => array("qualification", "qualification_tab", ),
110        "open" => array("tab.php|qualification", "form.php|qualification", ),
111    );*/
112    //
113    $rubrik['links'] = $links;
114    //
115    $menu[] = $rubrik;
116    // }}}
117    
118    // {{{ Rubrique INSTRUCTION
119    //
120    $rubrik = array(
121        "title" => _("instruction"),
122        "class" => "instruction",
123        "right" => "menu_instruction",
124    );
125    //
126  $links = array();  $links = array();
127  array_push($links,  // Catégorie DOSSIERS D'INSTRUCTION
128      array(  $links[] = array(
129          "href" => "../scr/edition.php",      "class" => "category",
130          "class" => "edition",      "title" => _("dossiers d'instruction"),
131          "title" => _("Edition"),      "right" => array(
132          "right" => "edition"          "dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab",
133      ));          "dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab",
134  array_push($links,          "dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab",
135      array(          "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
136          "href" => "../scr/reqmo.php",          "dossier_instruction", "dossier_instruction_tab",
137          "class" => "reqmo",          "dossiers_limites", "dossiers_limites_tab",
138          "title" => _("Requetes memorisees"),          "PC_modificatif", "PC_modificatif_tab",
139          "right" => "reqmo"      ),
140      ));  );
141    $links[] = array(
142        "title" => "<hr/>",
143        "right" => array(
144            "dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab",
145            "dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab",
146        ),
147    );
148    //
149    $links[] = array(
150        "href" => "../scr/tab.php?obj=dossier_instruction_mes_encours",
151        "class" => "dossier_instruction_mes_encours",
152        "title" => _("mes encours"),
153        "right" => array("dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab", ),
154        "open" => array("tab.php|dossier_instruction_mes_encours", "form.php|dossier_instruction_mes_encours",
155            "form.php|rapport_instruction"),
156    );
157    //
158    $links[] = array(
159        "href" => "../scr/tab.php?obj=dossier_instruction_tous_encours",
160        "class" => "dossier_instruction_tous_encours",
161        "title" => _("tous les encours"),
162        "right" => array("dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab", ),
163        "open" => array("tab.php|dossier_instruction_tous_encours", "form.php|dossier_instruction_tous_encours", ),
164    );
165    //
166    $links[] = array(
167        "title" => "<hr/>",
168        "right" => array(
169            "dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab",
170            "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
171        ),
172    );
173    //
174    $links[] = array(
175        "title" => "<hr/>",
176        "right" => array(
177            "dossiers_limites", "dossiers_limites_tab",
178            "dossiers_limites", "dossiers_limites_tab",
179        ),
180    );
181    //
182    $links[] = array(
183        "href" => "../scr/tab.php?obj=dossier_instruction_mes_clotures",
184        "class" => "dossier_instruction_mes_clotures",
185        "title" => _("mes clotures"),
186        "right" => array("dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab", ),
187        "open" => array("tab.php|dossier_instruction_mes_clotures", "form.php|dossier_instruction_mes_clotures", ),
188    );
189    //
190    $links[] = array(
191        "href" => "../scr/tab.php?obj=dossier_instruction_tous_clotures",
192        "class" => "dossier_instruction_tous_clotures",
193        "title" => _("tous les clotures"),
194        "right" => array("dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab", ),
195        "open" => array("tab.php|dossier_instruction_tous_clotures", "form.php|dossier_instruction_tous_clotures", ),
196    );
197    //
198    $links[] = array(
199        "title" => "<hr/>",
200        "right" => array("PC_modificatif", "PC_modificatif_tab", ),
201    );
202    //
203    $links[] = array(
204        "href" => "../scr/tab.php?obj=PC_modificatif",
205        "class" => "traitement",
206        "title" => _("modificatif transfert"),
207        "right" => array("PC_modificatif", "PC_modificatif_tab", ),
208        "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
209    );
210    //
211    $links[] = array(
212        "title" => "<hr/>",
213        "right" => array(
214            "dossiers_limites", "dossiers_limites_tab",
215        ),
216    );
217    //
218    $links[] = array(
219        "href" => "../scr/tab.php?obj=dossiers_limites",
220        "class" => "dossiers_limites",
221        "title" => _("dossiers limites"),
222        "right" => array("dossiers_limites", "dossiers_limites_tab", ),
223        "open" => array("tab.php|dossiers_limites", "form.php|dossiers_limites", ),
224    );
225    //
226    $links[] = array(
227        "title" => "<hr/>",
228        "right" => array(
229            "dossier_instruction", "dossier_instruction_tab",
230        ),
231    );
232    //
233    $links[] = array(
234        "href" => "../scr/tab.php?obj=dossier_instruction",
235        "class" => "dossier_instruction",
236        "title" => _("recherche"),
237        "right" => array("dossier_instruction", "dossier_instruction_tab", ),
238        "open" => array("tab.php|dossier_instruction", "form.php|dossier_instruction", ),
239    );
240    // Catégorie CONSULTATIONS
241    $links[] = array(
242        "class" => "category",
243        "title" => _("consultations"),
244        "right" => array("consultation_mes_retours", "consultation_tous_retours", ),
245    );
246    $links[] = array(
247        "title" => "<hr/>",
248        "right" => array("consultation_mes_retours", "consultation_tous_retours", ),
249    );
250    $links[] = array(
251        "href" => "../scr/tab.php?obj=consultation_mes_retours",
252        "class" => "consultation_mes_retours",
253        "title" => _("Mes retours"),
254        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
255        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
256    );
257    $links[] = array(
258        "href" => "../scr/tab.php?obj=consultation_tous_retours",
259        "class" => "consultation_tous_retours",
260        "title" => _("Tous les retours"),
261        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
262        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
263    );
264    // Catégorie MESSAGES
265    $links[] = array(
266        "class" => "category",
267        "title" => _("Messages"),
268        "right" => array("messages_mes_retours", "messages_tous_retours"),
269        "parameters" => array("option_ERP" => "true", ),
270    );
271    //
272    $links[] = array(
273        "title" => "<hr/>",
274        "right" => array("messages_mes_retours", "messages_tous_retours"),
275        "parameters" => array("option_ERP" => "true", ),
276    );
277    //
278    $links[] = array(
279        "href" => "../scr/tab.php?obj=messages_mes_retours",
280        "class" => "messages_mes_retours",
281        "title" => _("Mes messages"),
282        "right" => array("messages_mes_retours", "messages_mes_retours_tab", ),
283        "open" => array("tab.php|messages_mes_retours", "form.php|messages_mes_retours", ),
284        "parameters" => array("option_ERP" => "true", ),
285    );
286    //
287    $links[] = array(
288        "href" => "../scr/tab.php?obj=messages_tous_retours",
289        "class" => "messages_tous_retours",
290        "title" => _("Tous les messages"),
291        "right" => array("messages_tous_retours", "messages_tous_retours_tab", ),
292        "open" => array("tab.php|messages_tous_retours", "form.php|messages_tous_retours", ),
293        "parameters" => array("option_ERP" => "true", ),
294    );
295    // Catégorie COMMISSIONS
296    $links[] = array(
297        "class" => "category",
298        "title" => _("commissions"),
299        "right" => array(
300            "commission_mes_retours", "commission_mes_retours_tab",
301            "commission_tous_retours", "commission_tous_retours_tab",
302        ),
303    );
304    $links[] = array(
305        "title" => "<hr/>",
306        "right" => array(
307            "commission_mes_retours", "commission_mes_retours_tab",
308            "commission_tous_retours", "commission_tous_retours_tab",
309        ),
310    );
311    $links[] = array(
312        "href" => "../scr/tab.php?obj=commission_mes_retours",
313        "class" => "commission_mes_retours",
314        "title" => _("Mes retours"),
315        "right" => array("commission_mes_retours", "commission_mes_retours_tab", ),
316        "open" => array("tab.php|commission_mes_retours", "form.php|commission_mes_retours", ),
317    );
318    $links[] = array(
319        "href" => "../scr/tab.php?obj=commission_tous_retours",
320        "class" => "commission_tous_retours",
321        "title" => _("Tous les retours"),
322        "right" => array("commission_tous_retours", "commission_tous_retours_tab", ),
323        "open" => array("tab.php|commission_tous_retours", "form.php|commission_tous_retours", ),
324    );
325    
326    //
327  $rubrik['links'] = $links;  $rubrik['links'] = $links;
328  array_push($menu, $rubrik);  //
329    $menu[] = $rubrik;
330  // }}}  // }}}
331    
332  // {{{ Rubrique TRAITEMENT  // {{{ Rubrique SUIVI
333    //
334    $rubrik = array(
335        "title" => _("Suivi"),
336        "class" => "suivi",
337        "right" => "menu_suivi",
338    );
339    //
340    $links = array();
341    //
342    $links[] = array(
343        "href" => "../app/avis_code_barre.php",
344        "class" => "avis_code_barre",
345        "title" => _("Retour de consultation"),
346        "right" => array("avis_code_barre", ),
347        "open" => array("avis_code_barre.php|", "form.php|consultation", ),
348    );
349    //
350    $rubrik['links'] = $links;
351    //
352    $menu[] = $rubrik;
353    // }}}
354    
355    // {{{ Rubrique DEMANDES D'AVIS
356    //
357  $rubrik = array(  $rubrik = array(
358      "title" => _("Traitement"),      "title" => _("Demandes d'avis"),
359      "class" => "traitement",      "class" => "demande_avis",
360      "right" => "menu_traitement",      "right" => "menu_demande_avis",
361  );  );
362    //
363  $links = array();  $links = array();
364  // *** TRAITEMENT ***  //
365  // inserez le lien d acces au traitement  $links[] = array(
366  // ========================================================================      "href" => "../scr/tab.php?obj=demande_avis_encours",
367  /*      "class" => "demande_avis_encours",
368   array_push($links,      "title" => _("Demandes en cours"),
369      array(      "right" => array("demande_avis_encours", "demande_avis_encours_tab", ),
370          "href" => "../trt/nom_du_traitement.php",      "open" => array("tab.php|demande_avis_encours", "form.php|demande_avis_encours", ),
371          "class" => "traitement",  );
372          "title" => _("Traitement"),  
373          "right" => "traitement"  $links[] = array(
374      ));      "href" => "../scr/tab.php?obj=demande_avis_passee",
375  */      "class" => "demande_avis_passee",
376  // ========================================================================      "title" => _("Demandes passees"),
377        "right" => array("demande_avis_passee", "demande_avis_passee_tab", ),
378        "open" => array("tab.php|demande_avis_passee", "form.php|demande_avis_passee", ),
379    );
380    
381    $links[] = array(
382        "href" => "../scr/tab.php?obj=demande_avis",
383        "class" => "demande_avis",
384        "title" => _("Exports"),
385        "right" => array("demande_avis", "demande_avis_tab", ),
386        "open" => array("tab.php|demande_avis", "form.php|demande_avis", ),
387    );
388    
389    //
390  $rubrik['links'] = $links;  $rubrik['links'] = $links;
391  array_push($menu, $rubrik);  //
392    $menu[] = $rubrik;
393  // }}}  // }}}
394    
395    
396    
397  // {{{  Rubrique parametrage de l'application  // {{{ Rubrique EXPORT
398    //
399    $rubrik = array(
400        "title" => _("export"),
401        "class" => "edition",
402        "right" => "menu_export",
403    );
404    //
405    $links = array();
406    //
407    $links[] = array(
408        "href" => "../scr/edition.php",
409        "class" => "edition",
410        "title" => _("edition"),
411        "right" => "edition",
412        "open" => "edition.php|",
413    );
414    //
415    $links[] = array(
416        "href" => "../app/edition_p.php",
417        "class" => "edition",
418        "title" => _("edition date depot"),
419        "right" => "edition_p",
420        "open" => "edition_p.php|",
421    );
422    //
423    $links[] = array(
424        "href" => "../app/edition_d.php",
425        "class" => "edition",
426        "title" => _("edition date decision"),
427        "right" => "edition_d",
428        "open" => "edition_d.php|",
429    );
430    //
431    $links[] = array(
432        "title" => "<hr/>",
433        "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
434    );
435    //
436    $links[] = array(
437        "href" => "../scr/reqmo.php",
438        "class" => "reqmo",
439        "title" => _("requetes memorisees"),
440        "right" => "reqmo",
441        "open" => array("reqmo.php|", "requeteur.php|", ),
442    );
443    //
444    $links[] = array(
445        "href" => "../app/export_pc.php",
446        "class" => "reqmo",
447        "title" => _("export PC Lascot"),
448        "right" => "export_pc",
449        "open" => "export_pc.php|",
450    );
451    //
452    $links[] = array(
453        "href" => "../app/export_dp.php",
454        "class" => "reqmo",
455        "title" => _("export DP Lascot"),
456        "right" => "export_dp",
457        "open" => "export_dp.php|",
458    );
459    //
460    $links[] = array(
461        "href" => "../app/sitadel.php",
462        "class" => "reqmo",
463        "title" => _("export sitadel")." 2",
464        "right" => "export_sitadel",
465        "open" => "sitadel.php|",
466    );
467    //
468    $rubrik['links'] = $links;
469    //
470    $menu[] = $rubrik;
471    // }}}
472    
473    // {{{ Rubrique PARAMETRAGE
474    //
475  $rubrik = array(  $rubrik = array(
476      "title" => _("Parametrage"),      "title" => _("parametrage"),
477      "class" => "parametrage",      "class" => "parametrage",
478      "right" => "menu_parametrage",      "right" => "menu_parametrage",
479  );  );
480    //
481  $links = array();  $links = array();
482  // *** TABLES DE PARAMETRAGE ***  //
483  // inserer ici vos tables de parametres  // GENERAUX
484  // ========================================================================  $links[] = array(
485  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
486    array_push($links,      "class" => "traitement",
487      array(      "title" => _("numero manuel"),
488          "href" => "../scr/tab.php?obj=nom_table",      "right" => "dossier_numeromanuel",
489          "class" => "nom_table",      "open" => "|dossier_numeromanuel",
490          "title" => _("nom_table"),  );
491          "right" => "nom_table"  //
492      ));  $links[] = array(
493  */      "href" => "../app/num_dossier.php",
494  // ========================================================================      "class" => "traitement",
495        "title" => _("remise a 0"),
496        "right" => "num_dossier",
497  // param gaux      "open" => "num_dossier.php|",
498    );
499    array_push($links,  //
500      array(  $links[] = array(
501          "href" => "../scr/tab.php?obj=architecte",      "title" => "<hr/>",
502          "class" => "architecte",      "right" => array(
503          "title" => _("architecte"),          "architecte", "architecte_tab",
504          "right" => "architecte"           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
505      ));          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
506            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
507        ),
508    );
509    array_push($links,  //
510      array(  $links[] = array(
511          "href" => "../scr/tab.php?obj=service",      "href" => "../scr/tab.php?obj=architecte",
512          "class" => "service",      "class" => "architecte",
513          "title" => _("service"),      "title" => _("architecte"),
514          "right" => "service"      "right" => array("architecte", "architecte_tab", ),
515      ));      "open" => array("tab.php|architecte", "form.php|architecte", ),
516      );
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=travaux",  
         "class" => "travaux",  
         "title" => _("travaux"),  
         "right" => "travaux"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=regle",  
         "class" => "regle",  
         "title" => _("regle"),  
         "right" => "regle"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=categorie_demandeur",  
         "class" => "categorie_demandeur",  
         "title" => _("categorie_demandeur"),  
         "right" => "categorie_demandeur"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=destination",  
         "class" => "destination",  
         "title" => _("destination"),  
         "right" => "destination"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=nature",  
         "class" => "nature",  
         "title" => _("nature"),  
         "right" => "nature"  
     ));  
   
 // workflows  
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("action_tab", "transition_tab", "etat_tab",  
                          "evenement_tab", "bible", "avis")  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=action",  
         "class" => "action",  
         "title" => _("action"),  
         "right" => "action"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=transition",  
         "class" => "transition",  
         "title" => _("transition"),  
         "right" => "transition"  
     ));  
     
     array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=etat",  
         "class" => "etat",  
         "title" => _("etat"),  
         "right" => "etat"  
     ));  
   
     array_push($links,  
       array(  
           "href" => "../scr/tab.php?obj=evenement",  
           "class" => "evenement",  
           "title" => _("evenement"),  
           "right" => "evenement"  
       ));  
       
       array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=bible",  
         "class" => "bible",  
         "title" => _("bible"),  
         "right" => "bible"  
     ));  
         
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=avis",  
         "class" => "avis",  
         "title" => _("avis"),  
         "right" => "avis"  
     ));  
   
 // cadastre interne  
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")  
     ));  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=parcelle",  
         "class" => "parcelle",  
         "title" => _("parcelle"),  
         "right" => "parcelle"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=proprietaire",  
         "class" => "proprietaire",  
         "title" => _("proprietaire"),  
         "right" => "proprietaire"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=civilite",  
         "class" => "civilite",  
         "title" => _("civilite"),  
         "right" => "civilite"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=pos",  
         "class" => "pos",  
         "title" => _("pos"),  
         "right" => "pos"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=rivoli",  
         "class" => "rivoli",  
         "title" => _("rivoli"),  
         "right" => "rivoli"  
     ));  
   
 $rubrik['links'] = $links;  
 array_push($menu, $rubrik);  
517    
518    //
519    $links[] = array(
520        "href" => "../scr/tab.php?obj=travaux",
521        "class" => "travaux",
522        "title" => _("travaux"),
523        "right" => array("travaux", "travaux_tab", ),
524        "open" => array("tab.php|travaux", "form.php|travaux", ),
525    );
526    //
527    $links[] = array(
528        "href" => "../scr/tab.php?obj=categorie_demandeur",
529        "class" => "categorie_demandeur",
530        "title" => _("categorie_demandeur"),
531        "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
532        "open" => array(
533            "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
534        ),
535    );
536    //
537    $links[] = array(
538        "href" => "../scr/tab.php?obj=destination",
539        "class" => "destination",
540        "title" => _("destination"),
541        "right" => array("destination", "destination_tab", ),
542        "open" => array("tab.php|destination", "form.php|destination", ),
543    );
544    //
545    $links[] = array(
546        "href" => "../scr/tab.php?obj=rivoli",
547        "class" => "rivoli",
548        "title" => _("rivoli"),
549        "right" => array("rivoli", "rivoli_tab", ),
550        "open" => array("tab.php|rivoli", "form.php|rivoli", ),
551    );
552    //
553    $links[] = array(
554        "href" => "../scr/tab.php?obj=civilite",
555        "class" => "civilite",
556        "title" => _("civilite"),
557        "right" => array("civilite", "civilite_tab", ),
558        "open" => array("tab.php|civilite", "form.php|civilite", ),
559    );
560    //
561    $links[] = array(
562        "href" => "../scr/tab.php?obj=parametre",
563        "class" => "parametre",
564        "title" => _("parametre")." "._("statistique"),
565        "right" => array("parametre", "parametre_tab", ),
566        "open" => array("tab.php|parametre", "form.php|parametre", ),
567    );
568    
569    //
570    $links[] = array(
571        "class" => "category",
572        "title" => _("workflows"),
573        "right" => array(
574            "action", "action_tab", "transition", "transition_tab", "etat",
575            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
576            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
577        ),
578    );
579    //
580    $links[] = array(
581        "title" => "<hr/>",
582        "right" => array(
583            "action", "action_tab", "transition", "transition_tab", "etat",
584            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
585            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
586        ),
587    );
588    //
589    $links[] = array(
590        "href" => "../scr/tab.php?obj=action",
591        "class" => "action",
592        "title" => _("action"),
593        "right" => array("action", "action_tab", ),
594        "open" => array("tab.php|action", "form.php|action", ),
595    );
596    //
597    $links[] = array(
598        "href" => "../scr/tab.php?obj=transition",
599        "class" => "transition",
600        "title" => _("transition"),
601        "right" => array("transition", "transition_tab", ),
602        "open" => array("tab.php|transition", "form.php|transition", ),
603    );
604    //
605    $links[] = array(
606        "href" => "../scr/tab.php?obj=etat",
607        "class" => "etat",
608        "title" => _("etat"),
609        "right" => array("etat", "etat_tab", ),
610        "open" => array("tab.php|etat", "form.php|etat", ),
611    );
612    //
613    $links[] = array(
614        "href" => "../scr/tab.php?obj=evenement",
615        "class" => "evenement",
616        "title" => _("evenement"),
617        "right" => array("evenement", "evenement_tab", ),
618        "open" => array("tab.php|evenement", "form.php|evenement", ),
619    );
620    //
621    $links[] = array(
622        "href" => "../scr/tab.php?obj=bible",
623        "class" => "bible",
624        "title" => _("bible"),
625        "right" => array("bible", "bible_tab", ),
626        "open" => array("tab.php|bible", "form.php|bible", ),
627    );
628    //
629    $links[] = array(
630        "href" => "../scr/tab.php?obj=avis_decision",
631        "class" => "avis_decision",
632        "title" => _("avis decision"),
633        "right" => array("avis_decision", "avis_decision_tab", ),
634        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
635    );
636    //
637    $links[] = array(
638        "class" => "category",
639        "title" => _("Organisation"),
640        "right" => array(
641            "direction", "direction_tab", "division", "division_tab", "instructeur",
642            "instructeur_tab", "groupe", "groupe_tab", "genre", "genre_tab",
643        ),
644    );
645    $links[] = array(
646        "title" => "<hr/>",
647        "right" => array(
648            "direction", "direction_tab", "division", "division_tab", "instructeur",
649            "instructeur_tab", "groupe", "groupe_tab", "genre", "genre_tab",
650        ),
651    );
652    //
653    $links[] = array(
654        "href" => "../scr/tab.php?obj=genre",
655        "class" => "genre",
656        "title" => _("genre"),
657        "right" => array("genre", "genre_tab", ),
658        "open" => array("tab.php|genre", "form.php|genre", ),
659    );
660    //
661    $links[] = array(
662        "href" => "../scr/tab.php?obj=groupe",
663        "class" => "groupe",
664        "title" => _("groupe"),
665        "right" => array("groupe", "groupe_tab", ),
666        "open" => array("tab.php|groupe", "form.php|groupe", ),
667    );
668    //
669    $links[] = array(
670        "href" => "../scr/tab.php?obj=direction",
671        "class" => "direction",
672        "title" => _("direction"),
673        "right" => array("direction", "direction_tab", ),
674        "open" => array("tab.php|direction", "form.php|direction", ),
675    );
676    //
677    $links[] = array(
678        "href" => "../scr/tab.php?obj=division",
679        "class" => "division",
680        "title" => _("division"),
681        "right" => array("division", "division_tab", ),
682        "open" => array("tab.php|division", "form.php|division", ),
683    );
684    //
685    $links[] = array(
686        "href" => "../scr/tab.php?obj=instructeur",
687        "class" => "instructeur",
688        "title" => _("instructeur"),
689        "right" => array("instructeur", "instructeur_tab", ),
690        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
691    );
692    //
693    $links[] = array(
694        "class" => "category",
695        "title" => _("gestion des commissions"),
696        "right" => array(
697            "comission_type", "comission_type_tab",
698        ),
699    );
700    //
701    $links[] = array(
702        "title" => "<hr/>",
703        "right" => array(
704            "comission_type", "comission_type_tab",
705        ),
706    );
707    //
708    $links[] = array(
709        "href" => "../scr/tab.php?obj=commission_type",
710        "class" => "commission-type",
711        "title" => _("commission_type"),
712        "right" => array("commission_type", "commission_type_tab", ),
713        "open" => array("tab.php|commission_type", "form.php|commission_type", ),
714    );
715    //
716    $links[] = array(
717        "class" => "category",
718        "title" => _("gestion des consultations"),
719        "right" => array(
720            "avis_consultation", "avis_consultation_tab", "service", "service_tab",
721            "service_categorie", "service_categorie_tab",
722            "lien_service_service_categorie", "lien_service_service_categorie_tab",
723        ),
724    );
725    //
726    $links[] = array(
727        "title" => "<hr/>",
728        "right" => array(
729            "avis_consultation", "avis_consultation_tab", "service", "service_tab",
730            "service_categorie", "service_categorie_tab",
731            "lien_service_service_categorie", "lien_service_service_categorie_tab",
732        ),
733    );
734    //
735    $links[] = array(
736        "href" => "../scr/tab.php?obj=avis_consultation",
737        "class" => "avis_consultation",
738        "title" => _("avis consultation"),
739        "right" => array("avis_consultation", "avis_consultation_tab", ),
740        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
741    );
742    //
743    $links[] = array(
744        "href" => "../scr/tab.php?obj=service",
745        "class" => "service",
746        "title" => _("service"),
747        "right" => array("service", "service_tab", ),
748        "open" => array("tab.php|service", "form.php|service", ),
749    );
750    $links[] = array(
751        "href" => "../scr/tab.php?obj=service_categorie",
752        "class" => "service_categorie",
753        "title" => _("thematique des services"),
754        "right" => array("service_categorie", "service_categorie_tab", ),
755        "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
756    );
757    $links[] = array(
758        "href" => "../scr/tab.php?obj=lien_service_service_categorie",
759        "class" => "lien_service_service_categorie",
760        "title" => _("Lien service / thematique"),
761        "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
762        "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
763    );
764    //
765    $links[] = array(
766        "class" => "category",
767        "title" => _("Gestion des dossiers"),
768        "right" => array(
769            "dossier_autorisation_type", "dossier_autorisation_type_tab",
770            "dossier_autorisation_type_detaille",
771            "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
772            "dossier_instruction_type_tab",
773            "lien_evenement_dossier_autorisation_type",
774            "lien_evenement_dossier_autorisation_type_tab",
775            "autorite_competente", "autorite_competente_tab",
776            "affectation_automatique", "affectation_automatique_tab",
777        ),
778    );
779    //
780    $links[] = array(
781        "title" => "<hr/>",
782        "right" => array(
783            "dossier_autorisation_type", "dossier_autorisation_type_tab",
784            "dossier_autorisation_type_detaille",
785            "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
786            "dossier_instruction_type_tab",
787            "lien_evenement_dossier_autorisation_type",
788            "lien_evenement_dossier_autorisation_type_tab",
789            "autorite_competente", "autorite_competente_tab",
790            "affectation_automatique", "affectation_automatique_tab",
791            
792        ),
793    );
794    //
795    $links[] = array(
796        "href" => "../scr/tab.php?obj=dossier_autorisation_type",
797        "class" => "dossier_autorisation_type",
798        "title" => _("dossier")." ".("autorisation")." "._("type"),
799        "right" => array("dossier_autorisation_type", "dossier_autorisation_type_tab", ),
800        "open" => array("tab.php|dossier_autorisation_type", "form.php|dossier_autorisation_type", ),
801    );
802    //
803    $links[] = array(
804        "href" => "../scr/tab.php?obj=dossier_autorisation_type_detaille",
805        "class" => "dossier_autorisation_type_detaille",
806        "title" => _("dossier")." ".("autorisation")." "._("type")." "._("detaille"),
807        "right" => array("dossier_autorisation_type_detaille", "dossier_autorisation_type_detaille_tab", ),
808        "open" => array("tab.php|dossier_autorisation_type_detaille", "form.php|dossier_autorisation_type_detaille", ),
809    );
810    //
811    $links[] = array(
812        "href" => "../scr/tab.php?obj=dossier_instruction_type",
813        "class" => "dossier_instruction_type",
814        "title" => _("dossier")." "._("instruction")." "._("type"),
815        "right" => array("dossier_instruction_type", "dossier_instruction_type_tab", ),
816        "open" => array("tab.php|dossier_instruction_type", "form.php|dossier_instruction_type", ),
817    );
818    //
819    $links[] = array(
820        "href" => "../scr/tab.php?obj=lien_evenement_dossier_autorisation_type",
821        "class" => "lien_evenement_dossier_autorisation_type",
822        "title" => _("lien")." "._("evenement")." "._("dossier")." "._("autorisation")." "._("type"),
823        "right" => array("lien_evenement_dossier_autorisation_type", "lien_evenement_dossier_autorisation_type_tab", ),
824        "open" => array("tab.php|lien_evenement_dossier_autorisation_type", "form.php|lien_evenement_dossier_autorisation_type", ),
825    );
826    //
827    $links[] = array(
828        "href" => "../scr/tab.php?obj=affectation_automatique",
829        "class" => "affectation_automatique",
830        "title" => _("affectation automatique"),
831        "right" => array("affectation_automatique", "affectation_automatique_tab", ),
832        "open" => array("tab.php|affectation_automatique", "form.php|affectation_automatique", ),
833    );
834    //
835    $links[] = array(
836        "href" => "../scr/tab.php?obj=autorite_competente",
837        "class" => "autorite_competente",
838        "title" => _("autorite")." "._("competente"),
839        "right" => array("autorite_competente", "autorite_competente_tab", ),
840        "open" => array("tab.php|autorite_competente", "form.php|autorite_competente", ),
841    );
842    //
843    $links[] = array(
844        "class" => "category",
845        "title" => _("gestion du guichet unique"),
846        "right" => array(
847            "demande_type",
848            "demande_type_tab", "demande_nature", "demande_nature_tab",
849        ),
850    );
851    //
852    $links[] = array(
853        "title" => "<hr/>",
854        "right" => array(
855            "demande_type",
856            "demande_type_tab", "demande_nature", "demande_nature_tab",
857        ),
858    );
859    //
860    $links[] = array(
861        "href" => "../scr/tab.php?obj=demande_nature",
862        "class" => "demande_nature",
863        "title" => _("nature de la demande"),
864        "right" => array("demande_nature", "demande_nature_tab", ),
865        "open" => array("tab.php|demande_nature", "form.php|demande_nature", ),
866    );
867    
868    //
869    $links[] = array(
870        "href" => "../scr/tab.php?obj=demande_type",
871        "class" => "demande_type",
872        "title" => _("type de la demande"),
873        "right" => array("demande_type", "demande_type_tab",),
874        "open" => array("tab.php|demande_type", "form.php|demande_type", ),
875    );
876    //
877    $links[] = array(
878        "class" => "category",
879        "title" => _("editions"),
880        "right" => array(
881            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
882            "om_lettretype", "om_lettretype_tab",
883        ),
884    );
885    //
886    $links[] = array(
887        "title" => "<hr/>",
888        "right" => array(
889            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
890            "om_lettretype", "om_lettretype_tab",
891        ),
892    );
893    //
894    $links[] = array(
895        "href" => "../scr/tab.php?obj=om_etat",
896        "class" => "etat",
897        "title" => _("om_etat"),
898        "right" => array("om_etat", "om_etat_tab", ),
899        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
900    );
901    //
902    $links[] = array(
903        "href" => "../scr/tab.php?obj=om_sousetat",
904        "class" => "sousetat",
905        "title" => _("om_sousetat"),
906        "right" => array("om_sousetat", "om_sousetat_tab", ),
907        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
908    );
909    //
910    $links[] = array(
911        "href" => "../scr/tab.php?obj=om_lettretype",
912        "class" => "lettretype",
913        "title" => _("om_lettretype"),
914        "right" => array("om_lettretype", "om_lettretype_tab"),
915        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
916    );
917    //
918    $rubrik['links'] = $links;
919    //
920    $menu[] = $rubrik;
921    // }}}
922    
923    // {{{ Rubrique SIG
924    //
925    $rubrik = array(
926        "title" => _("sig"),
927        "class" => "sig",
928        "right" => "menu_sig",
929    );
930    //
931    $links = array();
932    //
933    $links[] = array(
934        "href" => "../scr/tab.php?obj=parcelle",
935        "class" => "parcelle",
936        "title" => _("parcelle"),
937        "right" => array("parcelle", "parcelle_tab"),
938        "open" => array("tab.php|parcelle", "form.php|parcelle", ),
939    );
940    //
941    $links[] = array(
942        "href" => "../scr/tab.php?obj=proprietaire",
943        "class" => "proprietaire",
944        "title" => _("proprietaire"),
945        "right" => array("proprietaire", "proprietaire_tab"),
946        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
947    );
948    //
949    $links[] = array(
950        "class" => "category",
951        "title" => _("servitudes"),
952        "right" => array(
953            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
954            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
955            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
956        ),
957    );
958    //
959    $links[] = array(
960        "title" => "<hr/>",
961        "right" => array(
962            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
963            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
964            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
965        ),
966    );
967    //
968    $links[] = array(
969        "href" => "../scr/tab.php?obj=pos",
970        "class" => "pos",
971        "title" => _("pos"),
972        "right" => array("pos", "pos_tab"),
973        "open" => array("tab.php|pos", "form.php|pos", ),
974    );
975    //
976    $links[] = array(
977        "href" => "../scr/tab.php?obj=servitude_surfacique",
978        "class" => "servitude_surfacique",
979        "title" => _("servitude_surfacique"),
980        "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
981        "open" => array(
982            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
983        ),
984    );
985    //
986    $links[] = array(
987        "href" => "../scr/tab.php?obj=servitude_ligne",
988        "class" => "servitude_ligne",
989        "title" => _("servitude_ligne"),
990        "right" => array("servitude_ligne", "servitude_ligne_tab"),
991        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
992    );
993    //
994    $links[] = array(
995        "href" => "../scr/tab.php?obj=servitude_point",
996        "class" => "servitude_point",
997        "title" => _("servitude_point"),
998        "right" => array("servitude_point", "servitude_point_tab"),
999        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
1000    );
1001    //
1002    $links[] = array(
1003        "href" => "../scr/tab.php?obj=parcelle_lot",
1004        "class" => "parcelle_lot",
1005        "title" => _("parcelle_lot"),
1006        "right" => array("parcelle_lot", "parcelle_lot_tab"),
1007        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
1008    );
1009    //
1010    $rubrik['links'] = $links;
1011    //
1012    $menu[] = $rubrik;
1013    // }}}
1014    
1015  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
1016  //  //
1017  $rubrik = array(  $rubrik = array(
1018      "title" => _("Administration"),      "title" => _("administration"),
1019      "class" => "administration",      "class" => "administration",
1020      "right" => "menu_administration",      "right" => "menu_administration",
1021  );  );
1022  //  //
1023  $links = array();  $links = array();
1024  array_push($links,  //
1025      array(  $links[] = array(
1026          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
1027          "class" => "collectivite",      "class" => "collectivite",
1028          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
1029          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
1030      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
1031  array_push($links,  );
1032      array(  //
1033          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
1034          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
1035          "title" => _("om_parametre"),      "class" => "parametre",
1036          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
1037      ));      "right" => array("om_parametre", "om_parametre_tab", ),
1038        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
1039    );
1040  array_push($links,  //
1041      array(  $links[] = array(
1042          "title" => "<hr/>",      "class" => "category",
1043          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
1044      ));      "right" => array(
1045  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1046      array(          "om_droit", "om_droit_tab", "directory",
1047          "href" => "../scr/tab.php?obj=om_profil",      ),
1048          "class" => "profil",  );
1049          "title" => _("om_profil"),  //
1050          "right" => "om_profil_tab"  $links[] = array(
1051      ));      "title" => "<hr/>",
1052  array_push($links,      "right" => array(
1053      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1054          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
1055          "class" => "droit",      ),
1056          "title" => _("om_droit"),  );
1057          "right" => "om_droit_multi"  //
1058      ));  $links[] = array(
1059  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
1060      array(      "class" => "profil",
1061          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
1062          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
1063          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
1064          "right" => "om_utilisateur_tab"  );
1065      ));  //
1066  array_push($links,  $links[] = array(
1067      array(      "href" => "../scr/tab.php?obj=om_droit",
1068          "title" => "<hr/>",      "class" => "droit",
1069          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
1070      ));      "right" => array("om_droit", "om_droit_tab", ),
1071  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
1072      array(  );
1073          "href" => "../scr/tab.php?obj=om_etat",  //
1074          "class" => "etat",  $links[] = array(
1075          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
1076          "right" => "om_etat_tab"      "class" => "utilisateur",
1077      ));      "title" => _("om_utilisateur"),
1078  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
1079      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
1080          "href" => "../scr/tab.php?obj=om_sousetat",  );
1081          "class" => "sousetat",  //
1082          "title" => _("om_sousetat"),  $links[] = array(
1083          "right" => "om_sousetat_tab"      "title" => "<hr/>",
1084      ));      "right" => array("directory", ),
1085  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1086      array(  );
1087          "href" => "../scr/tab.php?obj=om_lettretype",  //
1088          "class" => "lettretype",  $links[] = array(
1089          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
1090          "right" => "om_lettretype_tab"      "class" => "directory",
1091      ));      "title" => _("annuaire"),
1092  array_push($links,      "right" => array("directory", ),
1093      array(      "open" => array("directory.php|", ),
1094          "title" => "<hr/>",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1095          "right" => array("import"),  );
1096      ));  //
1097  array_push($links,  $links[] = array(
1098      array(      "class" => "category",
1099          "href" => "../scr/import.php",      "title" => _("tableaux de bord"),
1100          "class" => "import",      "right" => array(
1101          "title" => _("Import"),          "om_widget", "om_widget_tab", "om_dashboard", "om_dashboard_tab",
1102          "right" => "import"      ),
1103      ));  );
1104    //
1105  array_push($links,  $links[] = array(
1106      array(      "title" => "<hr/>",
1107          "title" => "<hr/>",      "right" => array(
1108          "right" => array("gen"),          "om_widget", "om_widget_tab", "om_dashboard", "om_dashboard_tab",
1109      ));      ),
1110  array_push($links,  );
1111      array(  //
1112          "title" => _("Generateur"),  $links[] = array(
1113          "href" => "../gen/gen.php",      "href" => "../scr/tab.php?obj=om_widget",
1114          "class" => "generator",      "class" => "om_widget",
1115          "right" => "gen",      "title" => _("om_widget"),
1116      ));      "right" => array("om_widget", "om_widget_tab", ),
1117        "open" => array("tab.php|om_widget", "form.php|om_widget", ),
1118    );
1119    //
1120    $links[] = array(
1121        "href" => "../scr/tab.php?obj=om_dashboard",
1122        "class" => "om_dashboard",
1123        "title" => _("om_dashboard"),
1124        "right" => array( ),
1125        "open" => array("tab.php|om_dashboard", "form.php|om_dashboard", ),
1126    );
1127    //
1128    $links[] = array(
1129        "class" => "category",
1130        "title" => _("sig"),
1131        "right" => array(
1132            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
1133        ),
1134    );
1135    //
1136    $links[] = array(
1137        "title" => "<hr/>",
1138        "right" => array(
1139            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
1140        ),
1141    );
1142    //
1143    $links[] = array(
1144        "href" => "../scr/tab.php?obj=om_sig_map",
1145        "class" => "om_sig_map",
1146        "title" => _("om_sig_map"),
1147        "right" => array("om_sig_map", "om_sig_map_tab", ),
1148        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
1149    );
1150    //
1151    $links[] = array(
1152        "href" => "../scr/tab.php?obj=om_sig_wms",
1153        "class" => "om_sig_wms",
1154        "title" => _("om_sig_wms"),
1155        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
1156        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
1157    );
1158    //
1159    $links[] = array(
1160        "class" => "category",
1161        "title" => _("options avancees"),
1162        "right" => array("import", "gen", ),
1163    );
1164    //
1165    $links[] = array(
1166        "title" => "<hr/>",
1167        "right" => array("import", ),
1168    );
1169    //
1170    $links[] = array(
1171        "href" => "../scr/import.php",
1172        "class" => "import",
1173        "title" => _("Import"),
1174        "right" => array("import", ),
1175        "open" => array("import.php|", ),
1176    );
1177    //
1178    $links[] = array(
1179        "title" => "<hr/>",
1180        "right" => array("gen", ),
1181    );
1182    //
1183    $links[] = array(
1184        "title" => _("Generateur"),
1185        "href" => "../scr/gen.php",
1186        "class" => "generator",
1187        "right" => array("gen", ),
1188        "open" => array(
1189            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
1190            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
1191            "genimport.php|",
1192        ),
1193    );
1194    //
1195  $rubrik['links'] = $links;  $rubrik['links'] = $links;
1196  array_push($menu, $rubrik);  //
1197    $menu[] = $rubrik;
1198  // }}}  // }}}
1199    
1200  ?>  ?>

Legend:
Removed from v.11  
changed lines
  Added in v.1185

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26