/[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 28 by fraynaud, Mon Jul 18 17:34:05 2011 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(  $rubrik = array(
16      "title" => _("Instruction"),      "title" => _("Autorisation"),
17      "class" => "application",      "class" => "autorisation",
18      "right" => "menu_application",      "right" => "menu_autorisation",
19  );  );
20    //
21  $links = array();  $links = array();
 // *** APPLICATION ***  
 // inserez ici les tables de votra application  
 // ========================================================================  
 /*  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=nom_table",  
         "class" => "nom_table",  
         "title" => _("nom_table"),  
         "right" => "nom_table"  
     ));  
 */  
 // ========================================================================  
   
 /*  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=dossier",  
         "class" => "dossier",  
         "title" => _("dossier"),  
         "right" => "dossier"  
     ));  
 */  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC",  
         "class" => "dossier",  
         "title" => _("PC"),  
         "right" => "dossier"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=DP",  
         "class" => "dossier",  
         "title" => _("DP"),  
         "right" => "dossier"  
     ));  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PD",  
         "class" => "dossier",  
         "title" => _("PD"),  
         "right" => "dossier"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PA",  
         "class" => "dossier",  
         "title" => _("PA"),  
         "right" => "dossier"  
     ));  
   
 array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("gen"),  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC_accueil",  
         "class" => "dossier",  
         "title" => _("PC - accueil"),  
         "right" => "dossier"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=DP_accueil",  
         "class" => "dossier",  
         "title" => _("DP - accueil"),  
         "right" => "dossier"  
     ));  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PD_accueil",  
         "class" => "dossier",  
         "title" => _("PD - accueil"),  
         "right" => "dossier"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PA_accueil",  
         "class" => "dossier",  
         "title" => _("PA - accueil"),  
         "right" => "dossier"  
     ));  
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("gen"),  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../scr/recherchedossier.php",  
         "class" => "dossier",  
         "title" => _("Recherche dossier"),  
         "right" => "recherchedossier"  
     ));  
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;  $rubrik['links'] = $links;
32  array_push($menu, $rubrik);  //
33    $menu[] = $rubrik;
34    // }}}
35    
36  // {{{ Rubrique EXPORT  // {{{ Rubrique GUICHET UNIQUE
37    //
38  $rubrik = array(  $rubrik = array(
39      "title" => _("Export"),      "title" => _("Guichet Unique"),
40        "class" => "guichet_unique",
41        "right" => "menu_guichet_unique",
42    );
43    //
44    $links = array();
45    //
46    $links[] = array(
47        "href" => "../scr/dashboard.php",
48        "class" => "tableau-de-bord",
49        "title" => _("tableau de bord"),
50        "open" => array("dashboard.php|",),
51    );
52    //
53    $links[] = array(
54        "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        ),
61    );
62    $links[] = array(
63        "title" => "<hr/>",
64        "right" => array(
65            "demande_nouveau_dossier_ajouter",
66            "demande_dossier_existant_ajouter", "demande_dossier_existant_tab",
67        ),
68    );
69    $links[] = array(
70        "href" => "../scr/form.php?obj=demande_nouveau_dossier&amp;action=0&amp;advs_id=&amp;tricol=&amp;valide=&amp;retour=tab&amp;new=",
71        "class" => "nouveau-dossier",
72        "title" => _("nouveau dossier"),
73        "right" => array(
74            "demande_nouveau_dossier_ajouter",
75        ),
76        "open" => array("form.php|demande_nouveau_dossier",),
77    );
78    $links[] = array(
79        "href" => "../scr/tab.php?obj=demande_dossier_existant",
80        "class" => "dossier-existant",
81        "title" => _("dossier existant"),
82        "right" => array(
83            "demande_dossier_existant_ajouter","demande_dossier_existant_tab",
84        ),
85        "open" => array("tab.php|demande_dossier_existant", "form.php|demande_dossier_existant"),
86    );
87    $links[] = array(
88        "title" => "<hr/>",
89        "right" => array(
90            "demande_consulter", "demande_tab"
91        ),
92    );
93    $links[] = array(
94        "href" => "../scr/tab.php?obj=demande",
95        "class" => "pdf",
96        "title" => _("recepisse"),
97        "right" => array(
98            "demande_consulter", "demande_tab"
99        ),
100        "open" => array("tab.php|demande","form.php|demande"),
101    );
102    //
103    $links[] = array(
104        "class" => "category",
105        "title" => _("affichage reglementaire"),
106        "right" => array(
107            "affichage_reglementaire_registre",
108            "affichage_reglementaire_attestation",
109        ),
110    );
111    $links[] = array(
112        "title" => "<hr/>",
113        "right" => array(
114            "affichage_reglementaire_registre",
115            "affichage_reglementaire_attestation",
116        ),
117    );
118    $links[] = array(
119        "href" => "../app/affichage_reglementaire_registre.php",
120        "class" => "edition",
121        "title" => _("registre"),
122        "right" => array(
123            "affichage_reglementaire_registre",
124        ),
125        "open" => "affichage_reglementaire_registre.php|",
126    );
127    $links[] = array(
128        "href" => "../app/affichage_reglementaire_attestation.php",
129      "class" => "edition",      "class" => "edition",
130      "right" => "menu_export",      "title" => _("attestation"),
131        "right" => array(
132            "affichage_reglementaire_attestation",
133        ),
134        "open" => "affichage_reglementaire_attestation.php|",
135  );  );
136    //
137    /*$links[] = array(
138        "class" => "category",
139        "title" => _("Qualification"),
140        "right" => array("qualification"),
141    );
142    $links[] = array(
143        "title" => "<hr/>",
144        "right" => array("qualification"),
145    );
146    $links[] = array(
147        "href" => "../scr/tab.php?obj=dossier",
148        "class" => "qualification",
149        "title" => _("A Qualifier"),
150        "right" => array("qualification", "qualification_tab", ),
151        "open" => array("tab.php|qualification", "form.php|qualification", ),
152    );*/
153    
154    //
155    $rubrik['links'] = $links;
156    //
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();  $links = array();
169  array_push($links,  //
170      array(  $links[] = array(
171          "href" => "../scr/edition.php",      "href" => "../scr/dashboard.php",
172          "class" => "edition",      "class" => "tableau-de-bord",
173          "title" => _("Edition"),      "title" => _("tableau de bord"),
174          "right" => "edition"      "open" => array("dashboard.php|",),
175      ));  );
176  array_push($links,  // Catégorie DOSSIERS D'INSTRUCTION
177      array(  $links[] = array(
178          "href" => "../trt/edition_p.php",      "class" => "category",
179          "class" => "edition",      "title" => _("dossiers d'instruction"),
180          "title" => _("Edition date depot"),      "right" => array(
181          "right" => "edition"          "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  array_push($links,          "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
185      array(          "dossier_instruction", "dossier_instruction_tab",
186          "href" => "../trt/edition_d.php",          "PC_modificatif", "PC_modificatif_tab",
187          "class" => "edition",      ),
188          "title" => _("Edition date decision"),  );
189          "right" => "edition"  $links[] = array(
190      ));      "title" => "<hr/>",
191        "right" => array(
192      array_push($links,          "dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab",
193      array(          "dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab",
194          "title" => "<hr/>",      ),
195          "right" => array("reqmo", "export_pc_tab", "export_dp_tab", "export_sitadel_tab")  );
196      ));  //
197    $links[] = array(
198  array_push($links,      "href" => "../scr/tab.php?obj=dossier_instruction_mes_encours",
199      array(      "class" => "dossier_instruction_mes_encours",
200          "href" => "../scr/reqmo.php",      "title" => _("mes encours"),
201          "class" => "reqmo",      "right" => array("dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab", ),
202          "title" => _("Requetes memorisees"),      "open" => array("tab.php|dossier_instruction_mes_encours", "form.php|dossier_instruction_mes_encours", ),
203          "right" => "reqmo"  );
204      ));  //
205    $links[] = array(
206      array_push($links,      "href" => "../scr/tab.php?obj=dossier_instruction_tous_encours",
207      array(      "class" => "dossier_instruction_tous_encours",
208          "href" => "../trt/export_pc.php",      "title" => _("tous les encours"),
209          "class" => "reqmo",      "right" => array("dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab", ),
210          "title" => _("export PC Lascot"),      "open" => array("tab.php|dossier_instruction_tous_encours", "form.php|dossier_instruction_tous_encours", ),
211          "right" => "ecport_pc"  );
212      ));  //
213        $links[] = array(
214      array_push($links,      "title" => "<hr/>",
215      array(      "right" => array(
216          "href" => "../trt/export_dp.php",          "dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab",
217          "class" => "reqmo",          "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
218          "title" => _("export DP Lascot"),      ),
219          "right" => "export_dp"  );
220      ));  //
221        $links[] = array(
222      array_push($links,      "href" => "../scr/tab.php?obj=dossier_instruction_mes_clotures",
223      array(      "class" => "dossier_instruction_mes_clotures",
224          "href" => "../trt/export_sitadel.php",      "title" => _("mes clotures"),
225          "class" => "reqmo",      "right" => array("dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab", ),
226          "title" => _("export sitadel"),      "open" => array("tab.php|dossier_instruction_mes_clotures", "form.php|dossier_instruction_mes_clotures", ),
227          "right" => "export_sitadel"  );
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    // 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;  $rubrik['links'] = $links;
357  array_push($menu, $rubrik);  //
358    $menu[] = $rubrik;
359  // }}}  // }}}
360    
361  // {{{ Rubrique TRAITEMENT  // {{{ Rubrique SUIVI
362    //
363    $rubrik = array(
364        "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",
461        "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(  $rubrik = array(
482      "title" => _("Traitement"),      "title" => _("Demandes d'avis"),
483      "class" => "traitement",      "class" => "demande_avis",
484      "right" => "menu_traitement",      "right" => "menu_demande_avis",
485  );  );
486    //
487  $links = array();  $links = array();
488  // *** TRAITEMENT ***  //
489  // inserez le lien d acces au traitement  $links[] = array(
490  // ========================================================================      "href" => "../scr/dashboard.php",
491  /*      "class" => "tableau-de-bord",
492   array_push($links,      "title" => _("tableau de bord"),
493      array(      "open" => array("dashboard.php|",),
494          "href" => "../trt/nom_du_traitement.php",  );
495          "class" => "traitement",  //
496          "title" => _("Traitement"),  $links[] = array(
497          "right" => "traitement"      "title" => "<hr/>",
498      ));      "right" => array(
499  */          "demande_avis_encours", "demande_avis_encours_tab",
500  // ========================================================================          "demande_avis_passee", "demande_avis_passee_tab",
501      array_push($links,          "demande_avis", "demande_avis_tab",
502      array(      ),
503          "href" => "../scr/form.php?obj=dossier_numeromanuel",  );
504          "class" => "traitement",  //
505          "title" => _("numero manuel"),  $links[] = array(
506          "right" => "traitement"      "href" => "../scr/tab.php?obj=demande_avis_encours",
507      ));      "class" => "demande_avis_encours",
508        "title" => _("Demandes en cours"),
509      array_push($links,      "right" => array("demande_avis_encours", "demande_avis_encours_tab", ),
510      array(      "open" => array("tab.php|demande_avis_encours", "form.php|demande_avis_encours", ),
511          "href" => "../scr/tab.php?obj=PC_modificatif",  );
512          "class" => "traitement",  
513          "title" => _("modificatif transfert"),  $links[] = array(
514          "right" => "traitement"      "href" => "../scr/tab.php?obj=demande_avis_passee",
515      ));          "class" => "demande_avis_passee",
516        "title" => _("Demandes passees"),
517      array_push($links,      "right" => array("demande_avis_passee", "demande_avis_passee_tab", ),
518      array(      "open" => array("tab.php|demande_avis_passee", "form.php|demande_avis_passee", ),
519          "href" => "../trt/num_dossier.php",  );
         "class" => "traitement",  
         "title" => _("remise a 0"),  
         "right" => "traitement"  
     ));  
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  // }}}  // }}}
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    
 // {{{  Rubrique parametrage de l'application  
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/tab.php?obj=architecte",  $links[] = array(
628          "class" => "architecte",      "href" => "../scr/tab.php?obj=cerfa",
629          "title" => _("architecte"),      "class" => "cerfa",
630          "right" => "architecte"      "title" => _("cerfa"),
631      ));      "right" => array("cerfa", "cerfa_tab", ),
632        "open" => array("tab.php|cerfa", "form.php|cerfa", ),
633    );
634    //
635    array_push($links,  $links[] = array(
636      array(      "title" => "<hr/>",
637          "href" => "../scr/tab.php?obj=service",      "right" => array(
638          "class" => "service",          "dossier_autorisation_type", "dossier_autorisation_type_tab",
639          "title" => _("service"),          "dossier_autorisation_type_detaille",
640          "right" => "service"          "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
641      ));          "dossier_instruction_type_tab",
642          ),
643    array_push($links,  );
644      array(  //
645          "href" => "../scr/tab.php?obj=travaux",  $links[] = array(
646          "class" => "travaux",      "href" => "../scr/tab.php?obj=dossier_autorisation_type",
647          "title" => _("travaux"),      "class" => "dossier_autorisation_type",
648          "right" => "travaux"      "title" => _("type DA"),
649      ));      "right" => array("dossier_autorisation_type", "dossier_autorisation_type_tab", ),
650        "open" => array("tab.php|dossier_autorisation_type", "form.php|dossier_autorisation_type", ),
651    array_push($links,  );
652      array(  //
653          "href" => "../scr/tab.php?obj=regle",  $links[] = array(
654          "class" => "regle",      "href" => "../scr/tab.php?obj=dossier_autorisation_type_detaille",
655          "title" => _("regle"),      "class" => "dossier_autorisation_type_detaille",
656          "right" => "regle"      "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    array_push($links,  );
660      array(  //
661          "href" => "../scr/tab.php?obj=categorie_demandeur",  $links[] = array(
662          "class" => "categorie_demandeur",      "href" => "../scr/tab.php?obj=dossier_instruction_type",
663          "title" => _("categorie_demandeur"),      "class" => "dossier_instruction_type",
664          "right" => "categorie_demandeur"      "title" => _("type DI"),
665      ));      "right" => array("dossier_instruction_type", "dossier_instruction_type_tab", ),
666          "open" => array("tab.php|dossier_instruction_type", "form.php|dossier_instruction_type", ),
667    array_push($links,  );
668      array(  $links[] = array(
669          "href" => "../scr/tab.php?obj=destination",      "class" => "category",
670          "class" => "destination",      "title" => _("demandes"),
671          "title" => _("destination"),      "right" => array(
672          "right" => "destination"          "demande_type",
673      ));          "demande_type_tab", "demande_nature", "demande_nature_tab",
674        ),
675    array_push($links,  );
676      array(  //
677          "href" => "../scr/tab.php?obj=nature",  $links[] = array(
678          "class" => "nature",      "title" => "<hr/>",
679          "title" => _("nature"),      "right" => array(
680          "right" => "nature"          "demande_type",
681      ));          "demande_type_tab", "demande_nature", "demande_nature_tab",
682        ),
683  // workflows  );
684      array_push($links,  //
685      array(  $links[] = array(
686          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=demande_nature",
687          "right" => array("action_tab", "transition_tab", "etat_tab",      "class" => "demande_nature",
688                           "evenement_tab", "bible", "avis")      "title" => _("nature demande"),
689      ));      "right" => array("demande_nature", "demande_nature_tab", ),
690        "open" => array("tab.php|demande_nature", "form.php|demande_nature", ),
691    array_push($links,  );
692      array(  //
693          "href" => "../scr/tab.php?obj=action",  $links[] = array(
694          "class" => "action",      "href" => "../scr/tab.php?obj=demande_type",
695          "title" => _("action"),      "class" => "demande_type",
696          "right" => "action"      "title" => _("type demande"),
697      ));      "right" => array("demande_type", "demande_type_tab",),
698        "open" => array("tab.php|demande_type", "form.php|demande_type", ),
699    array_push($links,  );
700      array(  //
701          "href" => "../scr/tab.php?obj=transition",  $links[] = array(
702          "class" => "transition",      "class" => "category",
703          "title" => _("transition"),      "title" => _("workflows"),
704          "right" => "transition"      "right" => array(
705      ));          "action", "action_tab", "etat",
706              "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
707      array_push($links,          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
708      array(      ),
709          "href" => "../scr/tab.php?obj=etat",  );
710          "class" => "etat",  //
711          "title" => _("etat"),  $links[] = array(
712          "right" => "etat"      "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=evenement",      ),
718            "class" => "evenement",  );
719            "title" => _("evenement"),  //
720            "right" => "evenement"  $links[] = array(
721        ));      "href" => "../scr/tab.php?obj=etat",
722            "class" => "workflow-etat",
723        array_push($links,      "title" => _("etat"),
724      array(      "right" => array("etat", "etat_tab", ),
725          "href" => "../scr/tab.php?obj=bible",      "open" => array("tab.php|etat", "form.php|etat", ),
726          "class" => "bible",  );
727          "title" => _("bible"),  //
728          "right" => "bible"  $links[] = array(
729      ));      "href" => "../scr/tab.php?obj=action",
730              "class" => "action",
731    array_push($links,      "title" => _("action"),
732      array(      "right" => array("action", "action_tab", ),
733          "href" => "../scr/tab.php?obj=avis",      "open" => array("tab.php|action", "form.php|action", ),
734          "class" => "avis",  );
735          "title" => _("avis"),  //
736          "right" => "avis"  $links[] = array(
737      ));      "href" => "../scr/tab.php?obj=evenement",
738        "class" => "evenement",
739  // cadastre interne      "title" => _("evenement"),
740      array_push($links,      "right" => array("evenement", "evenement_tab", ),
741      array(      "open" => array("tab.php|evenement", "form.php|evenement", ),
742          "title" => "<hr/>",  );
743          "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")  //
744      ));  $links[] = array(
745    array_push($links,      "href" => "../scr/tab.php?obj=bible",
746      array(      "class" => "bible",
747          "href" => "../scr/tab.php?obj=parcelle",      "title" => _("bible"),
748          "class" => "parcelle",      "right" => array("bible", "bible_tab", ),
749          "title" => _("parcelle"),      "open" => array("tab.php|bible", "form.php|bible", ),
750          "right" => "parcelle"  );
751      ));  //
752    $links[] = array(
753    array_push($links,      "href" => "../scr/tab.php?obj=avis_decision",
754      array(      "class" => "avis_decision",
755          "href" => "../scr/tab.php?obj=proprietaire",      "title" => _("avis decision"),
756          "class" => "proprietaire",      "right" => array("avis_decision", "avis_decision_tab", ),
757          "title" => _("proprietaire"),      "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
758          "right" => "proprietaire"  );
759      ));  //
760    $links[] = array(
761    array_push($links,      "class" => "category",
762      array(      "title" => _("editions"),
763          "href" => "../scr/tab.php?obj=civilite",      "right" => array(
764          "class" => "civilite",          "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
765          "title" => _("civilite"),          "om_lettretype", "om_lettretype_tab", "om_requete", "om_requete_tab",
766          "right" => "civilite"          "om_logo", "om_logo_tab",
767      ));      ),
768    );
769    array_push($links,  //
770      array(  $links[] = array(
771          "href" => "../scr/tab.php?obj=pos",      "title" => "<hr/>",
772          "class" => "pos",      "right" => array(
773          "title" => _("pos"),          "om_etat", "om_etat_tab", "om_lettretype", "om_lettretype_tab",
774          "right" => "pos"      ),
775      ));  );
776      //
777    array_push($links,  $links[] = array(
778      array(      "href" => "../scr/tab.php?obj=om_etat",
779          "href" => "../scr/tab.php?obj=rivoli",      "class" => "om_etat",
780          "class" => "rivoli",      "title" => _("om_etat"),
781          "title" => _("rivoli"),      "right" => array("om_etat", "om_etat_tab", ),
782          "right" => "rivoli"      "open" => array("tab.php|om_etat", "form.php|om_etat", ),
783      ));  );
784    //
785    $links[] = array(
786        "href" => "../scr/tab.php?obj=om_lettretype",
787        "class" => "om_lettretype",
788        "title" => _("om_lettretype"),
789        "right" => array("om_lettretype", "om_lettretype_tab"),
790        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
791    );
792    //
793    $links[] = array(
794        "title" => "<hr/>",
795        "right" => array(
796            "om_logo", "om_logo_tab",
797        ),
798    );
799    //
800    $links[] = array(
801        "href" => "../scr/tab.php?obj=om_logo",
802        "class" => "om_logo",
803        "title" => _("om_logo"),
804        "right" => array("om_logo", "om_logo_tab", ),
805        "open" => array("tab.php|om_logo", "form.php|om_logo", ),
806    );
807    //
808  $rubrik['links'] = $links;  $rubrik['links'] = $links;
809  array_push($menu, $rubrik);  //
810    $menu[] = $rubrik;
811    // }}}
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;
1025    //
1026    $menu[] = $rubrik;
1027    // }}}
1028    
1029    // {{{ Rubrique SIG
1030    //
1031    $rubrik = array(
1032        "title" => _("sig"),
1033        "class" => "sig",
1034        "right" => "menu_sig",
1035        "parameters" => array("option_localisation" => "sig_interne", ),
1036    );
1037    //
1038    $links = array();
1039    //
1040    $links[] = array(
1041        "href" => "../scr/tab.php?obj=parcelle",
1042        "class" => "parcelle",
1043        "title" => _("parcelle"),
1044        "right" => array("parcelle", "parcelle_tab"),
1045        "open" => array("tab.php|parcelle", "form.php|parcelle", ),
1046        "parameters" => array("option_localisation" => "sig_interne", ),
1047    );
1048    //
1049    $links[] = array(
1050        "href" => "../scr/tab.php?obj=proprietaire",
1051        "class" => "proprietaire",
1052        "title" => _("proprietaire"),
1053        "right" => array("proprietaire", "proprietaire_tab"),
1054        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
1055        "parameters" => array("option_localisation" => "sig_interne", ),
1056    );
1057    //
1058    $links[] = array(
1059        "class" => "category",
1060        "title" => _("servitudes"),
1061        "right" => array(
1062            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
1063            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
1064            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
1065        ),
1066        "parameters" => array("option_localisation" => "sig_interne", ),
1067    );
1068    //
1069    $links[] = array(
1070        "title" => "<hr/>",
1071        "right" => array(
1072            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
1073            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
1074            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
1075        ),
1076        "parameters" => array("option_localisation" => "sig_interne", ),
1077    );
1078    //
1079    $links[] = array(
1080        "href" => "../scr/tab.php?obj=pos",
1081        "class" => "pos",
1082        "title" => _("pos"),
1083        "right" => array("pos", "pos_tab"),
1084        "open" => array("tab.php|pos", "form.php|pos", ),
1085        "parameters" => array("option_localisation" => "sig_interne", ),
1086    );
1087    //
1088    $links[] = array(
1089        "href" => "../scr/tab.php?obj=servitude_surfacique",
1090        "class" => "servitude_surfacique",
1091        "title" => _("servitude_surfacique"),
1092        "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
1093        "open" => array(
1094            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
1095        ),
1096        "parameters" => array("option_localisation" => "sig_interne", ),
1097    );
1098    //
1099    $links[] = array(
1100        "href" => "../scr/tab.php?obj=servitude_ligne",
1101        "class" => "servitude_ligne",
1102        "title" => _("servitude_ligne"),
1103        "right" => array("servitude_ligne", "servitude_ligne_tab"),
1104        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
1105        "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;
1127    //
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" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
1147  array_push($links,  );
1148      array(  //
1149          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
1150          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
1151          "title" => _("om_parametre"),      "class" => "parametre",
1152          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
1153      ));      "right" => array("om_parametre", "om_parametre_tab", ),
1154        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
1155    );
1156  array_push($links,  //
1157      array(  $links[] = array(
1158          "title" => "<hr/>",      "class" => "category",
1159          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
1160      ));      "right" => array(
1161  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1162      array(          "om_droit", "om_droit_tab", "directory",
1163          "href" => "../scr/tab.php?obj=om_profil",      ),
1164          "class" => "profil",  );
1165          "title" => _("om_profil"),  //
1166          "right" => "om_profil_tab"  $links[] = array(
1167      ));      "title" => "<hr/>",
1168  array_push($links,      "right" => array(
1169      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1170          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
1171          "class" => "droit",      ),
1172          "title" => _("om_droit"),  );
1173          "right" => "om_droit_multi"  //
1174      ));  $links[] = array(
1175  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
1176      array(      "class" => "profil",
1177          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
1178          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
1179          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
1180          "right" => "om_utilisateur_tab"  );
1181      ));  //
1182  array_push($links,  $links[] = array(
1183      array(      "href" => "../scr/tab.php?obj=om_droit",
1184          "title" => "<hr/>",      "class" => "droit",
1185          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "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          "href" => "../scr/tab.php?obj=om_etat",  //
1190          "class" => "etat",  $links[] = array(
1191          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
1192          "right" => "om_etat_tab"      "class" => "utilisateur",
1193      ));      "title" => _("om_utilisateur"),
1194  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
1195      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
1196          "href" => "../scr/tab.php?obj=om_sousetat",  );
1197          "class" => "sousetat",  //
1198          "title" => _("om_sousetat"),  $links[] = array(
1199          "right" => "om_sousetat_tab"      "title" => "<hr/>",
1200      ));      "right" => array("directory", ),
1201  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1202      array(  );
1203          "href" => "../scr/tab.php?obj=om_lettretype",  //
1204          "class" => "lettretype",  $links[] = array(
1205          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
1206          "right" => "om_lettretype_tab"      "class" => "directory",
1207      ));      "title" => _("annuaire"),
1208  array_push($links,      "right" => array("directory", ),
1209      array(      "open" => array("directory.php|", ),
1210          "href" => "../scr/tab.php?obj=om_sig_point",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1211          "class" => "om_sig_point",  );
1212          "title" => _("om SIG"),  //
1213          "right" => "om_sig_point_tab"  $links[] = array(
1214      ));      "class" => "category",
1215  array_push($links,      "title" => _("tableaux de bord"),
1216      array(      "right" => array(
1217          "href" => "../scr/tab.php?obj=om_widget",          "om_widget", "om_widget_tab", "om_dashboard", "om_dashboard_tab",
1218          "class" => "om_widget",      ),
1219          "title" => _("widget"),  );
1220          "right" => "om_widget"  //
1221      ));  $links[] = array(
1222  array_push($links,      "title" => "<hr/>",
1223      array(      "right" => array(
1224          "title" => "<hr/>",          "om_widget", "om_widget_tab", "om_dashboard", "om_dashboard_tab",
1225          "right" => array("import"),      ),
1226      ));  );
1227  array_push($links,  //
1228      array(  $links[] = array(
1229          "href" => "../scr/import.php",      "href" => "../scr/tab.php?obj=om_widget",
1230          "class" => "import",      "class" => "om_widget",
1231          "title" => _("Import"),      "title" => _("om_widget"),
1232          "right" => "import"      "right" => array("om_widget", "om_widget_tab", ),
1233      ));      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
1234    );
1235  array_push($links,  //
1236      array(  $links[] = array(
1237          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=om_dashboard",
1238          "right" => array("gen"),      "class" => "om_dashboard",
1239      ));      "title" => _("om_dashboard"),
1240  array_push($links,      "right" => array( ),
1241      array(      "open" => array("tab.php|om_dashboard", "form.php|om_dashboard", ),
1242          "title" => _("Generateur"),  );
1243          "href" => "../gen/gen.php",  //
1244          "class" => "generator",  $links[] = array(
1245          "right" => "gen",      "class" => "category",
1246      ));      "title" => _("sig"),
1247        "right" => array(
1248            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
1249        ),
1250        "parameters" => array("option_localisation" => "sig_interne", ),
1251    );
1252    //
1253    $links[] = array(
1254        "title" => "<hr/>",
1255        "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.28  
changed lines
  Added in v.1528

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26