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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26