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

Legend:
Removed from v.334  
changed lines
  Added in v.1528

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26