/[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 3117 by vpihour, Wed Aug 6 16:52:01 2014 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 2447 2013-08-27 16:46:03Z fmichon $
8   */   */
9    
10  /**  /**
# Line 20  Line 18 
18   *     - description (texte qui s'affiche au survol de la rubrique)   *     - description (texte qui s'affiche au survol de la rubrique)
19   *     - href (contenu du lien href)   *     - href (contenu du lien href)
20   *     - class (classe css qui s'affiche sur la rubrique)   *     - class (classe css qui s'affiche sur la rubrique)
21   *     - right (droit que l'utilisateur doit avoir pour visionner cette rubrique)   *     - right [optionnel] (droit que l'utilisateur doit avoir pour visionner
22     *                          cette rubrique, si aucun droit n'est mentionne alors
23     *                          si aucun lien n'est present dans cette rubrique, on
24     *                          ne l'affiche pas)
25   *     - links [obligatoire]   *     - links [obligatoire]
26     *     - open [optionnel] permet de définir les critères permettant
27     *           de conserver la rubrique de menu ouverte.
28     *           La définition est une liste de criteres, de type array, contenant des chaines
29     *           de type "script|obj" ou "script|" ou "|obj".
30     *           S'il y a un unique critere on peut ne pas mettre de array
31     *           Si un critere correspond avec l'URL, la rubrique est ouverte.
32     *          
33   *   *
34   * --- tableau links   * --- tableau links
35   *     - title [obligatoire]   *     - title [obligatoire]
# Line 29  Line 37 
37   *     - class (classe css qui s'affiche sur l'element)   *     - class (classe css qui s'affiche sur l'element)
38   *     - right (droit que l'utilisateur doit avoir pour visionner cet element)   *     - right (droit que l'utilisateur doit avoir pour visionner cet element)
39   *     - target (pour ouvrir le lien dans une nouvelle fenetre)   *     - target (pour ouvrir le lien dans une nouvelle fenetre)
40     *     - open [optionnel] idem à ci-dessus. Les "open" de links sont utilises pour la rubrik :
41     *           pas besoin de definir le critere dans rubrik si il est defini dans links
42     *           la correspondance rend le lien actif et la rubrique est ouverte
43     *           exemples :
44     *               open => array("tab.php|users", "form.php|users"),
45     *               open => "|users"
46     *               open => "script.php|"
47   */   */
48    //
49  $menu = array();  $menu = array();
50    
51  // {{{  Rubrique application  // {{{ Rubrique AUTORISATION
52  // inserer ici vos tables principales  //
   
53  $rubrik = array(  $rubrik = array(
54      "title" => _("Application"),      "title" => _("Autorisation"),
55      "class" => "application",      "class" => "autorisation",
56      "right" => "menu_application",      "right" => "menu_autorisation",
57  );  );
58  $links = array();  //
59  // *** APPLICATION ***  $links = array();
 // 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"  
     ));  
60    
61    $links[] = array(
62        "href" => "../scr/tab.php?obj=dossier_autorisation",
63        "class" => "dossier_autorisation",
64        "title" => _("Dossiers d'autorisation"),
65        "right" => array("dossier_autorisation", "dossier_autorisation_tab", ),
66        "open" => array("tab.php|dossier_autorisation", "dossier_autorisation.php|", ),
67    );
68    
69    // Lien vers les dossiers d'autorisations qui ont une demande d'avis
70    $links[] = array(
71        "href" => "../scr/tab.php?obj=dossier_autorisation_avis",
72        "class" => "dossier_autorisation",
73        "title" => _("Dossiers d'autorisation"),
74        "right" => array("dossier_autorisation_avis", "dossier_autorisation_avis_tab", ),
75        "open" => array("tab.php|dossier_autorisation_avis", "dossier_autorisation_avis.php|", ),
76    );
77    
78    //
79  $rubrik['links'] = $links;  $rubrik['links'] = $links;
80  array_push($menu, $rubrik);  //
81    $menu[] = $rubrik;
82    // }}}
83    
84  // {{{ Rubrique EXPORT  // {{{ Rubrique GUICHET UNIQUE
85    //
86  $rubrik = array(  $rubrik = array(
87      "title" => _("Export"),      "title" => _("Guichet Unique"),
88        "class" => "guichet_unique",
89        "right" => "menu_guichet_unique",
90    );
91    //
92    $links = array();
93    //
94    $links[] = array(
95        "href" => "../scr/dashboard.php",
96        "class" => "tableau-de-bord",
97        "title" => _("tableau de bord"),
98        "right" => "menu_guichet_unique_dashboard",
99        "open" => array("dashboard.php|",),
100    );
101    //
102    $links[] = array(
103        "class" => "category",
104        "title" => _("nouvelle demande"),
105        "right" => array(
106            "demande_nouveau_dossier_ajouter",
107            "demande_dossier_encours_ajouter", "demande_dossier_encours_tab",
108            "demande_autre_dossier_ajouter", "demande_autre_dossier_tab",
109            "demande_consulter","demande_tab",
110        ),
111    );
112    $links[] = array(
113        "title" => "<hr/>",
114        "right" => array(
115            "demande_dossier_encours_ajouter",
116            "demande_dossier_encours_ajouter", "demande_dossier_encours_tab",
117        ),
118    );
119    $links[] = array(
120        "href" => "../scr/form.php?obj=demande_nouveau_dossier&amp;action=0&amp;advs_id=&amp;tricol=&amp;valide=&amp;retour=tab&amp;new=",
121        "class" => "nouveau-dossier",
122        "title" => _("nouveau dossier"),
123        "right" => array(
124            "demande_nouveau_dossier_ajouter",
125        ),
126        "open" => array("form.php|demande_nouveau_dossier",),
127    );
128    $links[] = array(
129        "href" => "../scr/tab.php?obj=demande_dossier_encours",
130        "class" => "dossier-existant",
131        "title" => _("dossier en cours"),
132        "right" => array(
133            "demande_dossier_encours_ajouter","demande_dossier_encours_tab",
134        ),
135        "open" => array("tab.php|demande_dossier_encours", "form.php|demande_dossier_encours"),
136    );
137    $links[] = array(
138        "href" => "../scr/tab.php?obj=demande_autre_dossier",
139        "class" => "autre-dossier",
140        "title" => _("autre dossier"),
141        "right" => array(
142            "demande_autre_dossier_ajouter","demande_autre_dossier_tab",
143        ),
144        "open" => array("tab.php|demande_autre_dossier", "form.php|demande_autre_dossier"),
145    );
146    $links[] = array(
147        "title" => "<hr/>",
148        "right" => array(
149            "demande_consulter", "demande_tab"
150        ),
151    );
152    $links[] = array(
153        "href" => "../scr/tab.php?obj=demande",
154        "class" => "pdf",
155        "title" => _("recepisse"),
156        "right" => array(
157            "demande_consulter", "demande_tab"
158        ),
159        "open" => array("tab.php|demande","form.php|demande"),
160    );
161    $links[] = array(
162        "title" => "<hr/>",
163        "right" => array(
164            "petitionnaire_frequent_consulter", "petitionnaire_frequent_tab"
165        ),
166    );
167    $links[] = array(
168        "href" => "../scr/tab.php?obj=petitionnaire_frequent",
169        "class" => "petitionnaire_frequent",
170        "title" => _("petitionnaire_frequent"),
171        "right" => array(
172            "petitionnaire_frequent_consulter", "petitionnaire_frequent_tab"
173        ),
174        "open" => array("tab.php|petitionnaire_frequent","form.php|petitionnaire_frequent"),
175    );
176    //
177    $links[] = array(
178        "class" => "category",
179        "title" => _("affichage reglementaire"),
180        "right" => array(
181            "affichage_reglementaire_registre",
182            "affichage_reglementaire_attestation",
183        ),
184    );
185    $links[] = array(
186        "title" => "<hr/>",
187        "right" => array(
188            "affichage_reglementaire_registre",
189            "affichage_reglementaire_attestation",
190        ),
191    );
192    $links[] = array(
193        "href" => "../app/affichage_reglementaire_registre.php",
194        "class" => "edition",
195        "title" => _("registre"),
196        "right" => array(
197            "affichage_reglementaire_registre",
198        ),
199        "open" => "affichage_reglementaire_registre.php|",
200    );
201    $links[] = array(
202        "href" => "../app/affichage_reglementaire_attestation.php",
203      "class" => "edition",      "class" => "edition",
204      "right" => "menu_export",      "title" => _("attestation"),
205        "right" => array(
206            "affichage_reglementaire_attestation",
207        ),
208        "open" => "affichage_reglementaire_attestation.php|",
209  );  );
210    //
211    $rubrik['links'] = $links;
212    //
213    $menu[] = $rubrik;
214    // }}}
215    
216    // {{{ Rubrique QUALIFICATION
217    //
218    $rubrik = array(
219        "title" => _("Qualification"),
220        "class" => "qualification",
221        "right" => "qualification_menu",
222    );
223    //
224  $links = array();  $links = array();
225  array_push($links,  //
226      array(  $links[] = array(
227          "href" => "../scr/edition.php",      "href" => "../scr/dashboard.php",
228          "class" => "edition",      "class" => "tableau-de-bord",
229          "title" => _("Edition"),      "title" => _("tableau de bord"),
230          "right" => "edition"      "right" => "menu_qualification_dashboard",
231      ));      "open" => array("dashboard.php|",),
232  array_push($links,  );
233      array(  
234          "href" => "../scr/reqmo.php",  //
235          "class" => "reqmo",  $links[] = array(
236          "title" => _("Requetes memorisees"),      "href" => "../scr/tab.php?obj=dossier_qualifier_qualificateur",
237          "right" => "reqmo"      "class" => "dossier_qualifier_qualificateur",
238      ));      "title" => _("dossiers a qualifier"),
239        "right" => array("dossier_qualifier_qualificateur", "dossier_qualifier_qualificateur_tab", ),
240        "open" => array("tab.php|dossier_qualifier_qualificateur", "form.php|dossier_instruction", ),
241    );
242    
243    //
244  $rubrik['links'] = $links;  $rubrik['links'] = $links;
245  array_push($menu, $rubrik);  //
246    $menu[] = $rubrik;
247  // }}}  // }}}
248    
249  // {{{ Rubrique TRAITEMENT  // {{{ Rubrique INSTRUCTION
250    //
251    $rubrik = array(
252        "title" => _("instruction"),
253        "class" => "instruction",
254        "right" => "menu_instruction",
255    );
256    //
257    $links = array();
258    //
259    $links[] = array(
260        "href" => "../scr/dashboard.php",
261        "class" => "tableau-de-bord",
262        "title" => _("tableau de bord"),
263        "right" => "menu_instruction_dashboard",
264        "open" => array("dashboard.php|",),
265    );
266    // Catégorie DOSSIERS D'INSTRUCTION
267    $links[] = array(
268        "class" => "category",
269        "title" => _("dossiers d'instruction"),
270        "right" => array(
271            "dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab",
272            "dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab",
273            "dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab",
274            "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
275            "dossier_instruction", "dossier_instruction_tab",
276            "PC_modificatif", "PC_modificatif_tab",
277        ),
278    );
279    $links[] = array(
280        "title" => "<hr/>",
281        "right" => array(
282            "dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab",
283            "dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab",
284        ),
285    );
286    //
287    $links[] = array(
288        "href" => "../scr/tab.php?obj=dossier_instruction_mes_encours",
289        "class" => "dossier_instruction_mes_encours",
290        "title" => _("mes encours"),
291        "right" => array("dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab", ),
292        "open" => array("tab.php|dossier_instruction_mes_encours", "form.php|dossier_instruction_mes_encours", ),
293    );
294    //
295    $links[] = array(
296        "href" => "../scr/tab.php?obj=dossier_instruction_tous_encours",
297        "class" => "dossier_instruction_tous_encours",
298        "title" => _("tous les encours"),
299        "right" => array("dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab", ),
300        "open" => array("tab.php|dossier_instruction_tous_encours", "form.php|dossier_instruction_tous_encours", ),
301    );
302    //
303    $links[] = array(
304        "title" => "<hr/>",
305        "right" => array(
306            "dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab",
307            "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
308        ),
309    );
310    //
311    $links[] = array(
312        "href" => "../scr/tab.php?obj=dossier_instruction_mes_clotures",
313        "class" => "dossier_instruction_mes_clotures",
314        "title" => _("mes clotures"),
315        "right" => array("dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab", ),
316        "open" => array("tab.php|dossier_instruction_mes_clotures", "form.php|dossier_instruction_mes_clotures", ),
317    );
318    //
319    $links[] = array(
320        "href" => "../scr/tab.php?obj=dossier_instruction_tous_clotures",
321        "class" => "dossier_instruction_tous_clotures",
322        "title" => _("tous les clotures"),
323        "right" => array("dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab", ),
324        "open" => array("tab.php|dossier_instruction_tous_clotures", "form.php|dossier_instruction_tous_clotures", ),
325    );
326    //
327    $links[] = array(
328        "title" => "<hr/>",
329        "right" => array(
330            "dossier_instruction", "dossier_instruction_tab",
331        ),
332    );
333    //
334    $links[] = array(
335        "href" => "../scr/tab.php?obj=dossier_instruction",
336        "class" => "dossier_instruction_recherche",
337        "title" => _("recherche"),
338        "right" => array("dossier_instruction", "dossier_instruction_tab", ),
339        "open" => array("tab.php|dossier_instruction", "form.php|dossier_instruction", ),
340    );
341    
342    // Catégorier Qualification
343    $links[] = array(
344        "class" => "category",
345        "title" => _("qualification"),
346        "right" => array("dossier_qualifier", "architecte_frequent",),
347    );
348    //
349    $links[] = array(
350        "title" => "<hr/>",
351        "right" => array("dossier_qualifier", "architecte_frequent", ),
352    );
353    //
354    $links[] = array(
355        "href" => "../scr/tab.php?obj=dossier_qualifier",
356        "class" => "dossier_qualifier",
357        "title" => _("dossiers a qualifier"),
358        "right" => array("dossier_qualifier", "dossier_qualifier_tab", ),
359        "open" => array("tab.php|dossier_qualifier", "form.php|dossier_qualifier", ),
360    );
361    //
362    $links[] = array(
363        "href" => "../scr/tab.php?obj=architecte_frequent",
364        "class" => "architecte_frequent",
365        "title" => _("architecte_frequent"),
366        "right" => array("architecte_frequent", "architecte_frequent_tab", ),
367        "open" => array("tab.php|architecte_frequent", "form.php|architecte_frequent", ),
368    );
369    // Catégorie CONSULTATIONS
370    $links[] = array(
371        "class" => "category",
372        "title" => _("consultations"),
373        "right" => array("consultation_mes_retours", "consultation_tous_retours", ),
374    );
375    $links[] = array(
376        "title" => "<hr/>",
377        "right" => array("consultation_mes_retours", "consultation_tous_retours", ),
378    );
379    $links[] = array(
380        "href" => "../scr/tab.php?obj=consultation_mes_retours",
381        "class" => "consultation_mes_retours",
382        "title" => _("Mes retours"),
383        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
384        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
385    );
386    $links[] = array(
387        "href" => "../scr/tab.php?obj=consultation_tous_retours",
388        "class" => "consultation_tous_retours",
389        "title" => _("Tous les retours"),
390        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
391        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
392    );
393    // Catégorie MESSAGES
394    $links[] = array(
395        "class" => "category",
396        "title" => _("Messages"),
397        "right" => array("messages_mes_retours", "messages_tous_retours"),
398        "parameters" => array("option_erp" => "true", ),
399    );
400    //
401    $links[] = array(
402        "title" => "<hr/>",
403        "right" => array("messages_mes_retours", "messages_tous_retours"),
404        "parameters" => array("option_erp" => "true", ),
405    );
406    //
407    $links[] = array(
408        "href" => "../scr/tab.php?obj=messages_mes_retours",
409        "class" => "messages_mes_retours",
410        "title" => _("Mes messages"),
411        "right" => array("messages_mes_retours", "messages_mes_retours_tab", ),
412        "open" => array("tab.php|messages_mes_retours", "form.php|messages_mes_retours", ),
413        "parameters" => array("option_erp" => "true", ),
414    );
415    //
416    $links[] = array(
417        "href" => "../scr/tab.php?obj=messages_tous_retours",
418        "class" => "messages_tous_retours",
419        "title" => _("Tous les messages"),
420        "right" => array("messages_tous_retours", "messages_tous_retours_tab", ),
421        "open" => array("tab.php|messages_tous_retours", "form.php|messages_tous_retours", ),
422        "parameters" => array("option_erp" => "true", ),
423    );
424    // Catégorie COMMISSIONS
425    $links[] = array(
426        "class" => "category",
427        "title" => _("commissions"),
428        "right" => array(
429            "commission_mes_retours", "commission_mes_retours_tab",
430            "commission_tous_retours", "commission_tous_retours_tab",
431        ),
432    );
433    $links[] = array(
434        "title" => "<hr/>",
435        "right" => array(
436            "commission_mes_retours", "commission_mes_retours_tab",
437            "commission_tous_retours", "commission_tous_retours_tab",
438        ),
439    );
440    $links[] = array(
441        "href" => "../scr/tab.php?obj=commission_mes_retours",
442        "class" => "commission_mes_retours",
443        "title" => _("Mes retours"),
444        "right" => array("commission_mes_retours", "commission_mes_retours_tab", ),
445        "open" => array("tab.php|commission_mes_retours", "form.php|commission_mes_retours", ),
446    );
447    $links[] = array(
448        "href" => "../scr/tab.php?obj=commission_tous_retours",
449        "class" => "commission_tous_retours",
450        "title" => _("Tous les retours"),
451        "right" => array("commission_tous_retours", "commission_tous_retours_tab", ),
452        "open" => array("tab.php|commission_tous_retours", "form.php|commission_tous_retours", ),
453    );
454    
455    //
456    $rubrik['links'] = $links;
457    //
458    $menu[] = $rubrik;
459    // }}}
460    
461    // {{{ Rubrique SUIVI
462    //
463    $rubrik = array(
464        "title" => _("Suivi"),
465        "class" => "suivi",
466        "right" => "menu_suivi",
467    );
468    //
469    $links = array();
470    //
471    $links[] = array(
472        "href" => "../scr/dashboard.php",
473        "class" => "tableau-de-bord",
474        "title" => _("tableau de bord"),
475        "right" => "menu_suivi_dashboard",
476        "open" => array("dashboard.php|",),
477    );
478    $links[] = array(
479        "class" => "category",
480        "title" => _("suivi des pieces"),
481        "right" => array(
482            "suivi_retours_de_consultation", "suivi_mise_a_jour_des_dates",
483            "suivi_envoi_lettre_rar", "suivi_bordereaux",
484        ),
485    );
486    //
487    $links[] = array(
488        "title" => "<hr/>",
489        "right" => array(
490            "suivi_retours_de_consultation", "suivi_mise_a_jour_des_dates",
491            "suivi_envoi_lettre_rar", "suivi_bordereaux",
492        ),
493    );
494    //
495    $links[] = array(
496        "title" => "<hr/>",
497        "right" => array(
498            "suivi_mise_a_jour_des_dates",
499        ),
500    );
501    //
502    $links[] = array(
503        "href" => "../app/suivi_mise_a_jour_des_dates.php",
504        "class" => "suivi_mise_a_jour_des_dates",
505        "title" => _("Mise a jour des dates"),
506        "right" => array("suivi_mise_a_jour_des_dates", ),
507        "open" => array("suivi_mise_a_jour_des_dates.php|"),
508    );
509    //
510    $links[] = array(
511        "title" => "<hr/>",
512        "right" => array(
513            "suivi_envoi_lettre_rar",
514        ),
515    );
516    //
517    $links[] = array(
518        "href" => "../app/suivi_envoi_lettre_rar.php",
519        "class" => "edition",
520        "title" => _("envoi lettre RAR"),
521        "right" => array("suivi_envoi_lettre_rar", ),
522        "open" => array("suivi_envoi_lettre_rar.php|"),
523    );
524    //
525    $links[] = array(
526        "title" => "<hr/>",
527        "right" => array(
528            "suivi_bordereaux",
529        ),
530    );
531    //
532    $links[] = array(
533        "href" => "../app/suivi_bordereaux.php",
534        "class" => "edition",
535        "title" => _("Bordereaux"),
536        "right" => array("suivi_bordereaux", ),
537        "open" => array("suivi_bordereaux.php|"),
538    );
539    //
540    $links[] = array(
541        "class" => "category",
542        "title" => _("Demandes d'avis"),
543        "right" => array(
544            "demandes_avis_mise_a_jour_des_dates",
545        ),
546    );
547    //
548    $links[] = array(
549        "href" => "../app/demandes_avis_mise_a_jour_des_dates.php",
550        "class" => "demandes_avis_mise_a_jour_des_dates",
551        "title" => _("Mise a jour des dates"),
552        "right" => array("demandes_avis_mise_a_jour_des_dates", ),
553        "open" => array("demandes_avis_mise_a_jour_des_dates.php|"),
554    );
555    //
556    $links[] = array(
557        "href" => "../app/suivi_retours_de_consultation.php",
558        "class" => "consultation-retour",
559        "title" => _("retours de consultation"),
560        "right" => array(
561            "suivi_retours_de_consultation",
562        ),
563        "open" => array("suivi_retours_de_consultation.php|", "form.php|consultation", ),
564    );
565    // Catégorie COMMISSIONS
566    $links[] = array(
567        "class" => "category",
568        "title" => _("commissions"),
569        "right" => array(
570            "commission", "commission_tab",
571            "commission_demandes_passage", "commission_demandes_passage_tab",
572        ),
573    );
574    //
575    $links[] = array(
576        "title" => "<hr/>",
577        "right" => array(
578            "commission", "commission_tab",
579            "commission_demandes_passage", "commission_demandes_passage_tab",
580        ),
581    );
582    //
583    $links[] = array(
584        "href" => "../scr/tab.php?obj=commission",
585        "class" => "commissions",
586        "title" => _("gestion"),
587        "right" => array("commission", ),
588        "open" => array("tab.php|commission", "form.php|commission", ),
589    );
590    //
591    $links[] = array(
592        "href" => "../scr/tab.php?obj=commission_demandes_passage",
593        "class" => "commissions-demande-passage",
594        "title" => _("demandes"),
595        "right" => array("commission_demandes_passage", ),
596        "open" => array("tab.php|commission_demandes_passage", "form.php|commission_demandes_passage", ),
597    );
598    //
599    $rubrik['links'] = $links;
600    //
601    $menu[] = $rubrik;
602    // }}}
603    
604    // {{{ Rubrique DEMANDES D'AVIS
605    //
606  $rubrik = array(  $rubrik = array(
607      "title" => _("Traitement"),      "title" => _("Demandes d'avis"),
608      "class" => "traitement",      "class" => "demande_avis",
609      "right" => "menu_traitement",      "right" => "menu_demande_avis",
610  );  );
611    //
612  $links = array();  $links = array();
613  // *** TRAITEMENT ***  //
614  // inserez le lien d acces au traitement  $links[] = array(
615  // ========================================================================      "href" => "../scr/dashboard.php",
616  /*      "class" => "tableau-de-bord",
617   array_push($links,      "title" => _("tableau de bord"),
618      array(      "right" => "menu_demande_avis_dashboard",
619          "href" => "../trt/nom_du_traitement.php",      "open" => array("dashboard.php|",),
620          "class" => "traitement",  );
621          "title" => _("Traitement"),  //
622          "right" => "traitement"  $links[] = array(
623      ));      "title" => "<hr/>",
624  */      "right" => array(
625  // ========================================================================          "demande_avis_encours", "demande_avis_encours_tab",
626            "demande_avis_passee", "demande_avis_passee_tab",
627            "demande_avis", "demande_avis_tab",
628        ),
629    );
630    //
631    $links[] = array(
632        "href" => "../scr/tab.php?obj=demande_avis_encours",
633        "class" => "demande_avis_encours",
634        "title" => _("Demandes en cours"),
635        "right" => array("demande_avis_encours", "demande_avis_encours_tab", ),
636        "open" => array("tab.php|demande_avis_encours", "form.php|demande_avis_encours", ),
637    );
638    
639    $links[] = array(
640        "href" => "../scr/tab.php?obj=demande_avis_passee",
641        "class" => "demande_avis_passee",
642        "title" => _("Demandes passees"),
643        "right" => array("demande_avis_passee", "demande_avis_passee_tab", ),
644        "open" => array("tab.php|demande_avis_passee", "form.php|demande_avis_passee", ),
645    );
646    
647    $links[] = array(
648        "href" => "../scr/tab.php?obj=demande_avis",
649        "class" => "demande_avis",
650        "title" => _("Exports"),
651        "right" => array("demande_avis", "demande_avis_tab", ),
652        "open" => array("tab.php|demande_avis", "form.php|demande_avis", ),
653    );
654    
655    //
656  $rubrik['links'] = $links;  $rubrik['links'] = $links;
657  array_push($menu, $rubrik);  //
658    $menu[] = $rubrik;
659  // }}}  // }}}
660    
661    
662    // Commentaire de la rubrique EXPORT qui n'est pas prévue d'être opérationnelle
663    // dans cette version
664    // {{{ Rubrique EXPORT
665    //
666    $rubrik = array(
667       "title" => _("export / import"),
668       "class" => "edition",
669       "right" => "menu_export",
670    );
671    //
672    $links = array();
673    // //
674    // $links[] = array(
675    //    "href" => "../scr/edition.php",
676    //    "class" => "edition",
677    //    "title" => _("edition"),
678    //    "right" => "edition",
679    //    "open" => "edition.php|",
680    // );
681    // //
682    // $links[] = array(
683    //    "href" => "../app/edition_p.php",
684    //    "class" => "edition",
685    //    "title" => _("edition date depot"),
686    //    "right" => "edition_p",
687    //    "open" => "edition_p.php|",
688    // );
689    // //
690    // $links[] = array(
691    //    "href" => "../app/edition_d.php",
692    //    "class" => "edition",
693    //    "title" => _("edition date decision"),
694    //    "right" => "edition_d",
695    //    "open" => "edition_d.php|",
696    // );
697    // //
698    // $links[] = array(
699    //    "title" => "<hr/>",
700    //    "right" => array("reqmo", "export_sitadel", ),
701    // );
702    // //
703    // $links[] = array(
704    //    "href" => "../scr/reqmo.php",
705    //    "class" => "reqmo",
706    //    "title" => _("requetes memorisees"),
707    //    "right" => "reqmo",
708    //    "open" => array("reqmo.php|", "requeteur.php|", ),
709    // );
710    //
711    $links[] = array(
712       "href" => "../app/sitadel.php",
713       "class" => "reqmo",
714       "title" => _("export sitadel"),
715       "right" => "export_sitadel",
716       "open" => "sitadel.php|",
717    );
718    //
719    $links[] = array(
720       "href" => "../app/versement_archives.php",
721       "class" => "versement_archives",
722       "title" => _("versement aux archives"),
723       "right" => "versement_archives",
724       "open" => "versement_archives.php|",
725    );
726    //
727    $links[] = array(
728       "href" => "../app/reqmo_pilot.php",
729       "class" => "reqmo",
730       "title" => _("statistiques a la demande"),
731       "right" => "reqmo_pilot",
732       "open" => "reqmo_pilot.php|",
733    );
734    //
735    $rubrik['links'] = $links;
736    //
737    $menu[] = $rubrik;
738    // }}}
739    
 // {{{  Rubrique parametrage de l'application  
740    
741    // {{{ Rubrique PARAMETRAGE
742    //
743  $rubrik = array(  $rubrik = array(
744      "title" => _("Parametrage"),      "title" => _("parametrage dossiers"),
745      "class" => "parametrage",      "class" => "parametrage",
746      "right" => "menu_parametrage",      "right" => "menu_parametrage",
747  );  );
748    //
749  $links = array();  $links = array();
750  // *** TABLES DE PARAMETRAGE ***  //
751  // inserer ici vos tables de parametres  $links[] = array(
752  // ========================================================================      "class" => "category",
753  /*      "title" => _("dossiers"),
754    array_push($links,      "right" => array(
755      array(          "dossier_autorisation_type", "dossier_autorisation_type_tab",
756          "href" => "../scr/tab.php?obj=nom_table",          "dossier_autorisation_type_detaille",
757          "class" => "nom_table",          "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
758          "title" => _("nom_table"),          "dossier_instruction_type_tab", "cerfa", "cerfa_tab",
759          "right" => "nom_table"      ),
760      ));  );
761  */  //
762  // ========================================================================  $links[] = array(
763        "title" => "<hr/>",
764        "right" => array(
765  // param gaux          "cerfa", "cerfa_tab",
766        ),
767    array_push($links,  );
768      array(  //
769          "href" => "../scr/tab.php?obj=architecte",  $links[] = array(
770          "class" => "architecte",      "href" => "../scr/tab.php?obj=cerfa",
771          "title" => _("architecte"),      "class" => "cerfa",
772          "right" => "architecte"      "title" => _("cerfa"),
773      ));      "right" => array("cerfa", "cerfa_tab", ),
774        "open" => array("tab.php|cerfa", "form.php|cerfa", ),
775    );
776    //
777    array_push($links,  $links[] = array(
778      array(      "title" => "<hr/>",
779          "href" => "../scr/tab.php?obj=service",      "right" => array(
780          "class" => "service",          "dossier_autorisation_type", "dossier_autorisation_type_tab",
781          "title" => _("service"),          "dossier_autorisation_type_detaille",
782          "right" => "service"          "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
783      ));          "dossier_instruction_type_tab",
784          ),
785    array_push($links,  );
786      array(  //
787          "href" => "../scr/tab.php?obj=travaux",  $links[] = array(
788          "class" => "travaux",      "href" => "../scr/tab.php?obj=dossier_autorisation_type",
789          "title" => _("travaux"),      "class" => "dossier_autorisation_type",
790          "right" => "travaux"      "title" => _("type DA"),
791      ));      "right" => array("dossier_autorisation_type", "dossier_autorisation_type_tab", ),
792        "open" => array("tab.php|dossier_autorisation_type", "form.php|dossier_autorisation_type", ),
793    array_push($links,  );
794      array(  //
795          "href" => "../scr/tab.php?obj=regle",  $links[] = array(
796          "class" => "regle",      "href" => "../scr/tab.php?obj=dossier_autorisation_type_detaille",
797          "title" => _("regle"),      "class" => "dossier_autorisation_type_detaille",
798          "right" => "regle"      "title" => _("type DA detaille"),
799      ));      "right" => array("dossier_autorisation_type_detaille", "dossier_autorisation_type_detaille_tab", ),
800        "open" => array("tab.php|dossier_autorisation_type_detaille", "form.php|dossier_autorisation_type_detaille", ),
801    array_push($links,  );
802      array(  //
803          "href" => "../scr/tab.php?obj=categorie_demandeur",  $links[] = array(
804          "class" => "categorie_demandeur",      "href" => "../scr/tab.php?obj=dossier_instruction_type",
805          "title" => _("categorie_demandeur"),      "class" => "dossier_instruction_type",
806          "right" => "categorie_demandeur"      "title" => _("type DI"),
807      ));      "right" => array("dossier_instruction_type", "dossier_instruction_type_tab", ),
808          "open" => array("tab.php|dossier_instruction_type", "form.php|dossier_instruction_type", ),
809    array_push($links,  );
810      array(  //
811          "href" => "../scr/tab.php?obj=destination",  $links[] = array(
812          "class" => "destination",      "title" => "<hr/>",
813          "title" => _("destination"),      "right" => array(
814          "right" => "destination"          "contrainte", "contrainte_tab",
815      ));          "contrainte_souscategorie", "contrainte_souscategorie_tab",
816            "contrainte_categorie", "contrainte_categorie_tab"
817    array_push($links,      ),
818      array(      "parameters" => array(
819          "href" => "../scr/tab.php?obj=nature",          "option_sig" => "sig_externe",
820          "class" => "nature",      ),
821          "title" => _("nature"),  );
822          "right" => "nature"  $links[] = array(
823      ));      "title" => "<hr/>",
824        "right" => array(
825  // workflows          "contrainte", "contrainte_tab",
826      array_push($links,          "contrainte_souscategorie", "contrainte_souscategorie_tab",
827      array(          "contrainte_categorie", "contrainte_categorie_tab"
828          "title" => "<hr/>",      ),
829          "right" => array("action_tab", "transition_tab", "etat_tab",      "parameters" => array(
830                           "evenement_tab", "bible", "avis")          "option_sig" => "sig_interne",
831      ));      ),
832    );
833    array_push($links,  //
834      array(  $links[] = array(
835          "href" => "../scr/tab.php?obj=action",      "href" => "../scr/tab.php?obj=contrainte",
836          "class" => "action",      "class" => "contrainte",
837          "title" => _("action"),      "title" => _("contrainte"),
838          "right" => "action"      "right" => array("contrainte", "contrainte_tab", ),
839      ));      "open" => array("tab.php|contrainte", "form.php|contrainte", ),
840        "parameters" => array(
841    array_push($links,          "option_sig" => "sig_externe",
842      array(      ),
843          "href" => "../scr/tab.php?obj=transition",  );
844          "class" => "transition",  $links[] = array(
845          "title" => _("transition"),      "href" => "../scr/tab.php?obj=contrainte",
846          "right" => "transition"      "class" => "contrainte",
847      ));      "title" => _("contrainte"),
848          "right" => array("contrainte", "contrainte_tab", ),
849      array_push($links,      "open" => array("tab.php|contrainte", "form.php|contrainte", ),
850      array(      "parameters" => array(
851          "href" => "../scr/tab.php?obj=etat",          "option_sig" => "sig_interne",
852          "class" => "etat",      ),
853          "title" => _("etat"),  );
854          "right" => "etat"  //
855      ));  $links[] = array(
856        "href" => "../app/contrainte_synchronisation.php",
857      array_push($links,      "class" => "contrainte",
858        array(      "title" => _("synchronisation des contraintes"),
859            "href" => "../scr/tab.php?obj=evenement",      "right" => array("contrainte", "contrainte_synchronisation", ),
860            "class" => "evenement",      "open" => array("contrainte_synchronisation.php|", ),
861            "title" => _("evenement"),      "parameters" => array(
862            "right" => "evenement"          "option_sig" => "sig_externe",
863        ));      ),
864        );
865        array_push($links,  //
866      array(  $links[] = array(
867          "href" => "../scr/tab.php?obj=bible",      "class" => "category",
868          "class" => "bible",      "title" => _("demandes"),
869          "title" => _("bible"),      "right" => array(
870          "right" => "bible"          "demande_type",
871      ));          "demande_type_tab", "demande_nature", "demande_nature_tab",
872              ),
873    array_push($links,  );
874      array(  //
875          "href" => "../scr/tab.php?obj=avis",  $links[] = array(
876          "class" => "avis",      "title" => "<hr/>",
877          "title" => _("avis"),      "right" => array(
878          "right" => "avis"          "demande_type",
879      ));          "demande_type_tab", "demande_nature", "demande_nature_tab",
880        ),
881  // cadastre interne  );
882      array_push($links,  //
883      array(  $links[] = array(
884          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=demande_nature",
885          "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")      "class" => "demande_nature",
886      ));      "title" => _("nature"),
887    array_push($links,      "right" => array("demande_nature", "demande_nature_tab", ),
888      array(      "open" => array("tab.php|demande_nature", "form.php|demande_nature", ),
889          "href" => "../scr/tab.php?obj=parcelle",  );
890          "class" => "parcelle",  //
891          "title" => _("parcelle"),  $links[] = array(
892          "right" => "parcelle"      "href" => "../scr/tab.php?obj=demande_type",
893      ));      "class" => "demande_type",
894        "title" => _("type"),
895    array_push($links,      "right" => array("demande_type", "demande_type_tab",),
896      array(      "open" => array("tab.php|demande_type", "form.php|demande_type", ),
897          "href" => "../scr/tab.php?obj=proprietaire",  );
898          "class" => "proprietaire",  //
899          "title" => _("proprietaire"),  $links[] = array(
900          "right" => "proprietaire"      "class" => "category",
901      ));      "title" => _("workflows"),
902        "right" => array(
903    array_push($links,          "workflows",
904      array(          "action", "action_tab", "etat",
905          "href" => "../scr/tab.php?obj=civilite",          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
906          "class" => "civilite",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
907          "title" => _("civilite"),      ),
908          "right" => "civilite"  );
909      ));  //
910    $links[] = array(
911    array_push($links,      "title" => "<hr/>",
912      array(      "right" => array(
913          "href" => "../scr/tab.php?obj=pos",          "workflows",
914          "class" => "pos",          "action", "action_tab", "etat",
915          "title" => _("pos"),          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
916          "right" => "pos"          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
917      ));      ),
918      );
919    array_push($links,  //
920      array(  $links[] = array(
921          "href" => "../scr/tab.php?obj=rivoli",      "href" => "../app/workflows.php",
922          "class" => "rivoli",      "class" => "workflows",
923          "title" => _("rivoli"),      "title" => _("workflows"),
924          "right" => "rivoli"      "right" => array("workflows", ),
925      ));      "open" => array("workflows.php|", ),
926    );
927    //
928    $links[] = array(
929        "title" => "<hr/>",
930        "right" => array(
931            "evenement", "evenement_tab",
932        ),
933    );
934    //
935    $links[] = array(
936        "href" => "../scr/tab.php?obj=evenement",
937        "class" => "evenement",
938        "title" => _("evenement"),
939        "right" => array("evenement", "evenement_tab", ),
940        "open" => array("tab.php|evenement", "form.php|evenement", ),
941    );
942    //
943    $links[] = array(
944        "title" => "<hr/>",
945        "right" => array(
946            "action", "action_tab", "etat",
947            "etat_tab", "avis_decision",
948            "avis_decision_tab",
949        ),
950    );
951    //
952    $links[] = array(
953        "href" => "../scr/tab.php?obj=etat",
954        "class" => "workflow-etat",
955        "title" => _("etat"),
956        "right" => array("etat", "etat_tab", ),
957        "open" => array("tab.php|etat", "form.php|etat", ),
958    );
959    //
960    $links[] = array(
961        "href" => "../scr/tab.php?obj=avis_decision",
962        "class" => "avis_decision",
963        "title" => _("avis decision"),
964        "right" => array("avis_decision", "avis_decision_tab", ),
965        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
966    );
967    //
968    $links[] = array(
969        "href" => "../scr/tab.php?obj=action",
970        "class" => "action",
971        "title" => _("action"),
972        "right" => array("action", "action_tab", ),
973        "open" => array("tab.php|action", "form.php|action", ),
974    );
975    //
976    $links[] = array(
977        "title" => "<hr/>",
978        "right" => array(
979            "bible", "bible_tab",
980        ),
981    );
982    //
983    $links[] = array(
984        "href" => "../scr/tab.php?obj=bible",
985        "class" => "bible",
986        "title" => _("bible"),
987        "right" => array("bible", "bible_tab", ),
988        "open" => array("tab.php|bible", "form.php|bible", ),
989    );
990    //
991    $links[] = array(
992        "class" => "category",
993        "title" => _("editions"),
994        "right" => array(
995            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
996            "om_lettretype", "om_lettretype_tab", "om_requete", "om_requete_tab",
997            "om_logo", "om_logo_tab",
998        ),
999    );
1000    //
1001    $links[] = array(
1002        "title" => "<hr/>",
1003        "right" => array(
1004            "om_etat", "om_etat_tab", "om_lettretype", "om_lettretype_tab",
1005        ),
1006    );
1007    //
1008    $links[] = array(
1009        "href" => "../scr/tab.php?obj=om_etat",
1010        "class" => "om_etat",
1011        "title" => _("om_etat"),
1012        "right" => array("om_etat", "om_etat_tab", ),
1013        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
1014    );
1015    //
1016    $links[] = array(
1017        "href" => "../scr/tab.php?obj=om_lettretype",
1018        "class" => "om_lettretype",
1019        "title" => _("om_lettretype"),
1020        "right" => array("om_lettretype", "om_lettretype_tab"),
1021        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
1022    );
1023    //
1024    $links[] = array(
1025        "title" => "<hr/>",
1026        "right" => array(
1027            "om_logo", "om_logo_tab",
1028        ),
1029    );
1030    //
1031    $links[] = array(
1032        "href" => "../scr/tab.php?obj=om_logo",
1033        "class" => "om_logo",
1034        "title" => _("om_logo"),
1035        "right" => array("om_logo", "om_logo_tab", ),
1036        "open" => array("tab.php|om_logo", "form.php|om_logo", ),
1037    );
1038    //
1039  $rubrik['links'] = $links;  $rubrik['links'] = $links;
1040  array_push($menu, $rubrik);  //
1041    $menu[] = $rubrik;
1042    // }}}
1043    
1044    // {{{ Rubrique PARAMETRAGE
1045    //
1046    $rubrik = array(
1047        "title" => _("parametrage"),
1048        "class" => "parametrage",
1049        "right" => "menu_parametrage",
1050    );
1051    //
1052    $links = array();
1053    //
1054    $links[] = array(
1055        "href" => "../scr/tab.php?obj=civilite",
1056        "class" => "civilite",
1057        "title" => _("civilite"),
1058        "right" => array("civilite", "civilite_tab", ),
1059        "open" => array("tab.php|civilite", "form.php|civilite", ),
1060    );
1061    //
1062    $links[] = array(
1063        "href" => "../scr/tab.php?obj=arrondissement",
1064        "class" => "arrondissement",
1065        "title" => _("arrondissement"),
1066        "right" => array("arrondissement", "arrondissement_tab", ),
1067        "open" => array("tab.php|arrondissement", "form.php|arrondissement", ),
1068    );
1069    //
1070    $links[] = array(
1071        "href" => "../scr/tab.php?obj=quartier",
1072        "class" => "quartier",
1073        "title" => _("quartier"),
1074        "right" => array("quartier", "quartier_tab", ),
1075        "open" => array("tab.php|quartier", "form.php|quartier", ),
1076    );
1077    //
1078    $links[] = array(
1079        "class" => "category",
1080        "title" => _("Organisation"),
1081        "right" => array(
1082            "direction", "direction_tab", "division", "division_tab", "instructeur",
1083            "instructeur_tab", "groupe", "groupe_tab", "genre", "genre_tab",
1084            "signataire_arrete", "signataire_arrete_tab",
1085        ),
1086    );
1087    $links[] = array(
1088        "title" => "<hr/>",
1089        "right" => array(
1090            "direction", "direction_tab", "division", "division_tab", "instructeur",
1091            "instructeur_tab", "groupe", "groupe_tab", "genre", "genre_tab",
1092            "signataire_arrete", "signataire_arrete_tab",
1093        ),
1094    );
1095    //
1096    $links[] = array(
1097        "href" => "../scr/tab.php?obj=genre",
1098        "class" => "genre",
1099        "title" => _("genre"),
1100        "right" => array("genre", "genre_tab", ),
1101        "open" => array("tab.php|genre", "form.php|genre", ),
1102    );
1103    //
1104    $links[] = array(
1105        "href" => "../scr/tab.php?obj=groupe",
1106        "class" => "groupe",
1107        "title" => _("groupe"),
1108        "right" => array("groupe", "groupe_tab", ),
1109        "open" => array("tab.php|groupe", "form.php|groupe", ),
1110    );
1111    //
1112    $links[] = array(
1113        "href" => "../scr/tab.php?obj=direction",
1114        "class" => "direction",
1115        "title" => _("direction"),
1116        "right" => array("direction", "direction_tab", ),
1117        "open" => array("tab.php|direction", "form.php|direction", ),
1118    );
1119    //
1120    $links[] = array(
1121        "href" => "../scr/tab.php?obj=division",
1122        "class" => "division",
1123        "title" => _("division"),
1124        "right" => array("division", "division_tab", ),
1125        "open" => array("tab.php|division", "form.php|division", ),
1126    );
1127    //
1128    $links[] = array(
1129        "href" => "../scr/tab.php?obj=instructeur",
1130        "class" => "instructeur",
1131        "title" => _("instructeur"),
1132        "right" => array("instructeur", "instructeur_tab", ),
1133        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
1134    );
1135    //
1136    $links[] = array(
1137        "href" => "../scr/tab.php?obj=signataire_arrete",
1138        "class" => "signataire_arrete",
1139        "title" => _("signataire arrete"),
1140        "right" => array("signataire_arrete", "signataire_arrete", ),
1141        "open" => array("tab.php|signataire_arrete", "form.php|signataire_arrete", ),
1142    );
1143    //
1144    $links[] = array(
1145        "class" => "category",
1146        "title" => _("gestion des commissions"),
1147        "right" => array(
1148            "comission_type", "comission_type_tab",
1149        ),
1150    );
1151    //
1152    $links[] = array(
1153        "title" => "<hr/>",
1154        "right" => array(
1155            "comission_type", "comission_type_tab",
1156        ),
1157    );
1158    //
1159    $links[] = array(
1160        "href" => "../scr/tab.php?obj=commission_type",
1161        "class" => "commission-type",
1162        "title" => _("commission_type"),
1163        "right" => array("commission_type", "commission_type_tab", ),
1164        "open" => array("tab.php|commission_type", "form.php|commission_type", ),
1165    );
1166    //
1167    $links[] = array(
1168        "class" => "category",
1169        "title" => _("gestion des consultations"),
1170        "right" => array(
1171            "avis_consultation", "avis_consultation_tab", "service", "service_tab",
1172            "service_categorie", "service_categorie_tab",
1173            "lien_service_service_categorie", "lien_service_service_categorie_tab",
1174        ),
1175    );
1176    //
1177    $links[] = array(
1178        "title" => "<hr/>",
1179        "right" => array(
1180            "avis_consultation", "avis_consultation_tab", "service", "service_tab",
1181            "service_categorie", "service_categorie_tab",
1182            "lien_service_service_categorie", "lien_service_service_categorie_tab",
1183        ),
1184    );
1185    //
1186    $links[] = array(
1187        "href" => "../scr/tab.php?obj=avis_consultation",
1188        "class" => "avis_consultation",
1189        "title" => _("avis consultation"),
1190        "right" => array("avis_consultation", "avis_consultation_tab", ),
1191        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
1192    );
1193    //
1194    $links[] = array(
1195        "href" => "../scr/tab.php?obj=service",
1196        "class" => "service",
1197        "title" => _("service"),
1198        "right" => array("service", "service_tab", ),
1199        "open" => array("tab.php|service", "form.php|service", ),
1200    );
1201    $links[] = array(
1202        "href" => "../scr/tab.php?obj=service_categorie",
1203        "class" => "service_categorie",
1204        "title" => _("thematique des services"),
1205        "right" => array("service_categorie", "service_categorie_tab", ),
1206        "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
1207    );
1208    $links[] = array(
1209        "href" => "../scr/tab.php?obj=lien_service_service_categorie",
1210        "class" => "lien_service_service_categorie",
1211        "title" => _("Lien service / thematique"),
1212        "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
1213        "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
1214    );
1215    //
1216    $links[] = array(
1217        "class" => "category",
1218        "title" => _("Gestion des dossiers"),
1219        "right" => array(
1220            "dossier_autorisation_type", "dossier_autorisation_type_tab",
1221            "dossier_autorisation_type_detaille",
1222            "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
1223            "dossier_instruction_type_tab",
1224            "autorite_competente", "autorite_competente_tab",
1225            "affectation_automatique", "affectation_automatique_tab",
1226        ),
1227    );
1228    //
1229    $links[] = array(
1230        "title" => "<hr/>",
1231        "right" => array(
1232            "dossier_autorisation_type", "dossier_autorisation_type_tab",
1233            "dossier_autorisation_type_detaille",
1234            "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
1235            "dossier_instruction_type_tab",
1236            "autorite_competente", "autorite_competente_tab",
1237            "affectation_automatique", "affectation_automatique_tab",
1238            
1239        ),
1240    );
1241    //
1242    $links[] = array(
1243        "href" => "../scr/tab.php?obj=etat_dossier_autorisation",
1244        "class" => "etat_dossier_autorisation",
1245        "title" => _("etat dossiers autorisations"),
1246        "right" => array("etat_dossier_autorisation", "etat_dossier_autorisation_tab", ),
1247        "open" => array("tab.php|etat_dossier_autorisation", "form.php|etat_dossier_autorisation", ),
1248    );
1249    //
1250    $links[] = array(
1251        "href" => "../scr/tab.php?obj=affectation_automatique",
1252        "class" => "affectation_automatique",
1253        "title" => _("affectation automatique"),
1254        "right" => array("affectation_automatique", "affectation_automatique_tab", ),
1255        "open" => array("tab.php|affectation_automatique", "form.php|affectation_automatique", ),
1256    );
1257    //
1258    $links[] = array(
1259        "href" => "../scr/tab.php?obj=autorite_competente",
1260        "class" => "autorite_competente",
1261        "title" => _("autorite")." "._("competente"),
1262        "right" => array("autorite_competente", "autorite_competente_tab", ),
1263        "open" => array("tab.php|autorite_competente", "form.php|autorite_competente", ),
1264    );
1265    
1266    //
1267    $rubrik['links'] = $links;
1268    //
1269    $menu[] = $rubrik;
1270    // }}}
1271    
1272    // {{{ Rubrique SIG
1273    //
1274    $rubrik = array(
1275        "title" => _("sig"),
1276        "class" => "sig",
1277        "right" => "menu_sig",
1278        "parameters" => array("option_localisation" => "sig_interne", ),
1279    );
1280    //
1281    $links = array();
1282    //
1283    $links[] = array(
1284        "href" => "../scr/tab.php?obj=parcelle",
1285        "class" => "parcelle",
1286        "title" => _("parcelle"),
1287        "right" => array("parcelle", "parcelle_tab"),
1288        "open" => array("tab.php|parcelle", "form.php|parcelle", ),
1289        "parameters" => array("option_localisation" => "sig_interne", ),
1290    );
1291    //
1292    $links[] = array(
1293        "href" => "../scr/tab.php?obj=proprietaire",
1294        "class" => "proprietaire",
1295        "title" => _("proprietaire"),
1296        "right" => array("proprietaire", "proprietaire_tab"),
1297        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
1298        "parameters" => array("option_localisation" => "sig_interne", ),
1299    );
1300    //
1301    $links[] = array(
1302        "class" => "category",
1303        "title" => _("servitudes"),
1304        "right" => array(
1305            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
1306            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
1307            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
1308        ),
1309        "parameters" => array("option_localisation" => "sig_interne", ),
1310    );
1311    //
1312    $links[] = array(
1313        "title" => "<hr/>",
1314        "right" => array(
1315            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
1316            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
1317            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
1318        ),
1319        "parameters" => array("option_localisation" => "sig_interne", ),
1320    );
1321    //
1322    $links[] = array(
1323        "href" => "../scr/tab.php?obj=pos",
1324        "class" => "pos",
1325        "title" => _("pos"),
1326        "right" => array("pos", "pos_tab"),
1327        "open" => array("tab.php|pos", "form.php|pos", ),
1328        "parameters" => array("option_localisation" => "sig_interne", ),
1329    );
1330    //
1331    $links[] = array(
1332        "href" => "../scr/tab.php?obj=servitude_surfacique",
1333        "class" => "servitude_surfacique",
1334        "title" => _("servitude_surfacique"),
1335        "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
1336        "open" => array(
1337            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
1338        ),
1339        "parameters" => array("option_localisation" => "sig_interne", ),
1340    );
1341    //
1342    $links[] = array(
1343        "href" => "../scr/tab.php?obj=servitude_ligne",
1344        "class" => "servitude_ligne",
1345        "title" => _("servitude_ligne"),
1346        "right" => array("servitude_ligne", "servitude_ligne_tab"),
1347        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
1348        "parameters" => array("option_localisation" => "sig_interne", ),
1349    );
1350    //
1351    $links[] = array(
1352        "href" => "../scr/tab.php?obj=servitude_point",
1353        "class" => "servitude_point",
1354        "title" => _("servitude_point"),
1355        "right" => array("servitude_point", "servitude_point_tab"),
1356        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
1357        "parameters" => array("option_localisation" => "sig_interne", ),
1358    );
1359    //
1360    $links[] = array(
1361        "href" => "../scr/tab.php?obj=parcelle_lot",
1362        "class" => "parcelle_lot",
1363        "title" => _("parcelle_lot"),
1364        "right" => array("parcelle_lot", "parcelle_lot_tab"),
1365        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
1366        "parameters" => array("option_localisation" => "sig_interne", ),
1367    );
1368    //
1369    $rubrik['links'] = $links;
1370    //
1371    $menu[] = $rubrik;
1372    // }}}
1373    
1374  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
1375  //  //
1376  $rubrik = array(  $rubrik = array(
1377      "title" => _("Administration"),      "title" => _("administration"),
1378      "class" => "administration",      "class" => "administration",
1379      "right" => "menu_administration",      "right" => "menu_administration",
1380  );  );
1381  //  //
1382  $links = array();  $links = array();
1383  array_push($links,  //
1384      array(  $links[] = array(
1385          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
1386          "class" => "collectivite",      "class" => "collectivite",
1387          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
1388          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
1389      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
1390  array_push($links,  );
1391      array(  //
1392          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
1393          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
1394          "title" => _("om_parametre"),      "class" => "parametre",
1395          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
1396      ));      "right" => array("om_parametre", "om_parametre_tab", ),
1397        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
1398    );
1399  array_push($links,  //
1400      array(  $links[] = array(
1401          "title" => "<hr/>",      "class" => "category",
1402          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
1403      ));      "right" => array(
1404  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1405      array(          "om_droit", "om_droit_tab", "directory",
1406          "href" => "../scr/tab.php?obj=om_profil",      ),
1407          "class" => "profil",  );
1408          "title" => _("om_profil"),  //
1409          "right" => "om_profil_tab"  $links[] = array(
1410      ));      "title" => "<hr/>",
1411  array_push($links,      "right" => array(
1412      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1413          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
1414          "class" => "droit",      ),
1415          "title" => _("om_droit"),  );
1416          "right" => "om_droit_multi"  //
1417      ));  $links[] = array(
1418  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
1419      array(      "class" => "profil",
1420          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
1421          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
1422          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
1423          "right" => "om_utilisateur_tab"  );
1424      ));  //
1425  array_push($links,  $links[] = array(
1426      array(      "href" => "../scr/tab.php?obj=om_droit",
1427          "title" => "<hr/>",      "class" => "droit",
1428          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
1429      ));      "right" => array("om_droit", "om_droit_tab", ),
1430  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
1431      array(  );
1432          "href" => "../scr/tab.php?obj=om_etat",  //
1433          "class" => "etat",  $links[] = array(
1434          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
1435          "right" => "om_etat_tab"      "class" => "utilisateur",
1436      ));      "title" => _("om_utilisateur"),
1437  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
1438      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
1439          "href" => "../scr/tab.php?obj=om_sousetat",  );
1440          "class" => "sousetat",  //
1441          "title" => _("om_sousetat"),  $links[] = array(
1442          "right" => "om_sousetat_tab"      "title" => "<hr/>",
1443      ));      "right" => array("directory", ),
1444  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1445      array(  );
1446          "href" => "../scr/tab.php?obj=om_lettretype",  //
1447          "class" => "lettretype",  $links[] = array(
1448          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
1449          "right" => "om_lettretype_tab"      "class" => "directory",
1450      ));      "title" => _("annuaire"),
1451  array_push($links,      "right" => array("directory", ),
1452      array(      "open" => array("directory.php|", ),
1453          "title" => "<hr/>",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1454          "right" => array("import"),  );
1455      ));  //
1456  array_push($links,  $links[] = array(
1457      array(      "class" => "category",
1458          "href" => "../scr/import.php",      "title" => _("tableaux de bord"),
1459          "class" => "import",      "right" => array(
1460          "title" => _("Import"),          "om_widget", "om_widget_tab", "om_dashboard",
1461          "right" => "import"      ),
1462      ));  );
1463    //
1464  array_push($links,  $links[] = array(
1465      array(      "title" => "<hr/>",
1466          "title" => "<hr/>",      "right" => array(
1467          "right" => array("gen"),          "om_widget", "om_widget_tab", "om_dashboard",
1468      ));      ),
1469  array_push($links,  );
1470      array(  //
1471          "title" => _("Generateur"),  $links[] = array(
1472          "href" => "../gen/gen.php",      "href" => "../scr/tab.php?obj=om_widget",
1473          "class" => "generator",      "class" => "om_widget",
1474          "right" => "gen",      "title" => _("om_widget"),
1475      ));      "right" => array("om_widget", "om_widget_tab", ),
1476        "open" => array("tab.php|om_widget", "form.php|om_widget", ),
1477    );
1478    //
1479    $links[] = array(
1480        "href" => "../scr/dashboard_composer.php",
1481        "class" => "om_dashboard",
1482        "title" => _("composition"),
1483        "right" => array("om_dashboard", ),
1484        "open" => array("dashboard_composer.php|", ),
1485    );
1486    //
1487    $links[] = array(
1488        "class" => "category",
1489        "title" => _("sig"),
1490        "right" => array(
1491            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
1492        ),
1493        "parameters" => array("option_localisation" => "sig_interne", ),
1494    );
1495    //
1496    $links[] = array(
1497        "title" => "<hr/>",
1498        "right" => array(
1499            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
1500        ),
1501        "parameters" => array("option_localisation" => "sig_interne", ),
1502    );
1503    //
1504    $links[] = array(
1505        "href" => "../scr/tab.php?obj=om_sig_map",
1506        "class" => "om_sig_map",
1507        "title" => _("om_sig_map"),
1508        "right" => array("om_sig_map", "om_sig_map_tab", ),
1509        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
1510        "parameters" => array("option_localisation" => "sig_interne", ),
1511    );
1512    //
1513    $links[] = array(
1514        "href" => "../scr/tab.php?obj=om_sig_wms",
1515        "class" => "om_sig_wms",
1516        "title" => _("om_sig_wms"),
1517        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
1518        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
1519        "parameters" => array("option_localisation" => "sig_interne", ),
1520    );
1521    //
1522    $links[] = array(
1523        "class" => "category",
1524        "title" => _("options avancees"),
1525        "right" => array("import", "gen", "om_requete", "om_requete_tab",
1526                         "om_sousetat", "om_sousetat_tab",),
1527    );
1528    //
1529    $links[] = array(
1530        "title" => "<hr/>",
1531        "right" => array(
1532            "om_sousetat", "om_sousetat_tab",
1533        ),
1534    );
1535    //
1536    $links[] = array(
1537        "href" => "../scr/tab.php?obj=om_sousetat",
1538        "class" => "om_sousetat",
1539        "title" => _("om_sousetat"),
1540        "right" => array("om_sousetat", "om_sousetat_tab", ),
1541        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
1542    );
1543    //
1544    $links[] = array(
1545        "title" => "<hr/>",
1546        "right" => array("om_requete", "om_requete_tab", ),
1547    );
1548    //
1549    $links[] = array(
1550        "href" => "../scr/tab.php?obj=om_requete",
1551        "class" => "om_requete",
1552        "title" => _("om_requete"),
1553        "right" => array("om_requete", "om_requete_tab", ),
1554        "open" => array("tab.php|om_requete", "form.php|om_requete", ),
1555    );
1556    //
1557    $links[] = array(
1558        "title" => "<hr/>",
1559        "right" => array("import", ),
1560    );
1561    //
1562    $links[] = array(
1563        "href" => "../scr/import.php",
1564        "class" => "import",
1565        "title" => _("Import"),
1566        "right" => array("import", ),
1567        "open" => array("import.php|", ),
1568    );
1569    //
1570    $links[] = array(
1571        "title" => "<hr/>",
1572        "right" => array("gen", ),
1573    );
1574    //
1575    $links[] = array(
1576        "title" => _("Generateur"),
1577        "href" => "../scr/gen.php",
1578        "class" => "generator",
1579        "right" => array("gen", ),
1580        "open" => array(
1581            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
1582            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
1583            "genimport.php|",
1584        ),
1585    );
1586    //
1587  $rubrik['links'] = $links;  $rubrik['links'] = $links;
1588  array_push($menu, $rubrik);  //
1589    $menu[] = $rubrik;
1590  // }}}  // }}}
1591    
1592  ?>  ?>

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26