/[openfoncier]/trunk/dyn/menu.inc.php
ViewVC logotype

Annotation of /trunk/dyn/menu.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 538 - (hide annotations)
Fri Oct 26 09:53:58 2012 UTC (12 years, 3 months ago) by nhaye
File size: 23349 byte(s)
Correction de la gestion d'erreur des retours de consultation, amélioration du menu et ajout du droits pour accéder aux retours de consultation.

1 fraynaud 3 <?php
2     /**
3     * Ce fichier permet de configurer quelles actions vont etre disponibles
4     * dans le menu.
5     *
6     * @package openmairie_exemple
7     * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $
8     */
9    
10 fmichon 380 //
11 fraynaud 3 $menu = array();
12    
13 fmichon 380 // {{{ Rubrique APPLICATION
14     //
15 fraynaud 3 $rubrik = array(
16 fmichon 380 "title" => _("instruction"),
17 fraynaud 3 "class" => "application",
18     "right" => "menu_application",
19     );
20 fmichon 380 //
21 fraynaud 3 $links = array();
22 fmichon 380 //
23     $links[] = array(
24     "href" => "../scr/tab.php?obj=PC",
25     "class" => "dossier",
26     "title" => _("PC"),
27     "right" => array("PC", "PC_tab", ),
28     "open" => array("tab.php|PC", "form.php|PC", ),
29     );
30     //
31     $links[] = array(
32     "href" => "../scr/tab.php?obj=DP",
33     "class" => "dossier",
34     "title" => _("DP"),
35     "right" => array("DP", "DP_tab", ),
36     "open" => array("tab.php|DP", "form.php|DP", ),
37     );
38     //
39     $links[] = array(
40     "href" => "../scr/tab.php?obj=PD",
41     "class" => "dossier",
42     "title" => _("PD"),
43     "right" => array("PD", "PD_tab", ),
44     "open" => array("tab.php|PD", "form.php|PD", ),
45     );
46     //
47     $links[] = array(
48     "href" => "../scr/tab.php?obj=PA",
49     "class" => "dossier",
50     "title" => _("PA"),
51     "right" => array("PA", "PA_tab", ),
52     "open" => array("tab.php|PA", "form.php|PA", ),
53     );
54     //
55     $links[] = array(
56     "title" => "<hr/>",
57     "right" => array(
58     "PC_accueil", "PC_accueil_tab", "DP_accueil", "DP_accueil_tab",
59     "PD_accueil", "PD_accueil_tab", "PA_accueil", "PA_accueil_tab",
60     ),
61     );
62     //
63     $links[] = array(
64     "href" => "../scr/tab.php?obj=PC_accueil",
65     "class" => "dossier",
66     "title" => _("PC - accueil"),
67     "right" => array("PC_accueil", "PC_accueil_tab", ),
68     "open" => array("tab.php|PC_accueil", "form.php|PC_accueil", ),
69     );
70     //
71     $links[] = array(
72     "href" => "../scr/tab.php?obj=DP_accueil",
73     "class" => "dossier",
74     "title" => _("DP - accueil"),
75     "right" => array("DP_accueil", "DP_accueil_tab", ),
76     "open" => array("tab.php|DP_accueil", "form.php|DP_accueil", ),
77     );
78     //
79     $links[] = array(
80     "href" => "../scr/tab.php?obj=PD_accueil",
81     "class" => "dossier",
82     "title" => _("PD - accueil"),
83     "right" => array("PD_accueil", "PD_accueil_tab", ),
84     "open" => array("tab.php|PD_accueil", "form.php|PD_accueil", ),
85     );
86     //
87     $links[] = array(
88     "href" => "../scr/tab.php?obj=PA_accueil",
89     "class" => "dossier",
90     "title" => _("PA - accueil"),
91     "right" => array("PA_accueil", "PA_accueil_tab", ),
92     "open" => array("tab.php|PA_accueil", "form.php|PA_accueil", ),
93     );
94     //
95     $links[] = array(
96     "title" => "<hr/>",
97     "right" => array("PC_modificatif", "PC_modificatif_tab", ),
98     );
99     //
100     $links[] = array(
101     "href" => "../scr/tab.php?obj=PC_modificatif",
102     "class" => "traitement",
103     "title" => _("modificatif transfert"),
104     "right" => array("PC_modificatif", "PC_modificatif_tab", ),
105     "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
106     );
107     //
108     $links[] = array(
109     "title" => "<hr/>",
110     "right" => array("recherchedossier", ),
111     );
112     //
113     $links[] = array(
114     "href" => "../app/recherchedossier.php",
115     "class" => "dossier",
116     "title" => _("Recherche dossier"),
117     "right" => "recherchedossier",
118     "open" => "recherchedossier.php|",
119     );
120 nhaye 496 $links[] = array(
121 nhaye 519 "class" => "category",
122 nhaye 496 "title" => _("Consultation"),
123 nhaye 533 "right" => array("consultation_mes_retours", "consultation_tous_retours","avis_code_barre"),
124 nhaye 496 );
125     $links[] = array(
126 nhaye 519 "title" => "<hr/>",
127 nhaye 533 "right" => array("consultation_mes_retours", "consultation_tous_retours","avis_code_barre"),
128 nhaye 519 );
129     $links[] = array(
130 nhaye 509 "href" => "../scr/tab.php?obj=consultation_mes_retours",
131     "class" => "consultation_mes_retours",
132     "title" => _("Mes retours"),
133     "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
134     "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
135 nhaye 496 );
136 nhaye 498 $links[] = array(
137 nhaye 509 "href" => "../scr/tab.php?obj=consultation_tous_retours",
138     "class" => "consultation_tous_retours",
139     "title" => _("Tous les retours"),
140     "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
141     "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
142 nhaye 498 );
143 nhaye 533 $links[] = array(
144     "href" => "../app/avis_code_barre.php",
145     "class" => "avis_code_barre",
146     "title" => _("Retour de consultation"),
147     "right" => array("avis_code_barre", ),
148 nhaye 538 "open" => array("avis_code_barre.php|"),
149 nhaye 533 );
150 fmichon 380 //
151 fraynaud 3 $rubrik['links'] = $links;
152 fmichon 380 //
153     $menu[] = $rubrik;
154     // }}}
155 fraynaud 3
156 nhaye 538
157     // {{{ Rubrique Demandes d'avis
158     //
159     $rubrik = array(
160     "title" => _("Demandes d'avis"),
161     "class" => "demande_avis",
162     "right" => array("demande_encours", "demande_encours_tab",
163     "demande_passe", "demande_passe_tab",
164     "demande_export", "demande_export_tab",),
165     );
166     //
167     $links = array();
168     //
169     $links[] = array(
170     "href" => "../scr/tab.php?obj=demande_encours",
171     "class" => "demande_encours",
172     "title" => _("Demandes en cours"),
173     "right" => array("demande_encours", "demande_encours_tab", ),
174     "open" => array("tab.php|demande_encours", "form.php|demande_encours", ),
175     );
176    
177     $links[] = array(
178     "href" => "../scr/tab.php?obj=demande_passe",
179     "class" => "demande_passe",
180     "title" => _("Demandes passees"),
181     "right" => array("demande_passe", "demande_passe_tab", ),
182     "open" => array("tab.php|demande_passe", "form.php|demande_passe", ),
183     );
184    
185     $links[] = array(
186     "href" => "../scr/tab.php?obj=demande_export",
187     "class" => "demande_export",
188     "title" => _("Exports"),
189     "right" => array("demande_export", "demande_export_tab", ),
190     "open" => array("tab.php|demande_export", "form.php|demande_export", ),
191     );
192    
193     //
194     $rubrik['links'] = $links;
195     //
196     $menu[] = $rubrik;
197     // }}}
198    
199    
200    
201 fraynaud 3 // {{{ Rubrique EXPORT
202 fmichon 380 //
203 fraynaud 3 $rubrik = array(
204 fmichon 380 "title" => _("export"),
205 fraynaud 3 "class" => "edition",
206     "right" => "menu_export",
207     );
208 fmichon 380 //
209 fraynaud 3 $links = array();
210 fmichon 380 //
211     $links[] = array(
212     "href" => "../scr/edition.php",
213     "class" => "edition",
214     "title" => _("edition"),
215     "right" => "edition",
216     "open" => "edition.php|",
217     );
218     //
219     $links[] = array(
220     "href" => "../app/edition_p.php",
221     "class" => "edition",
222     "title" => _("edition date depot"),
223     "right" => "edition_p",
224     "open" => "edition_p.php|",
225     );
226     //
227     $links[] = array(
228     "href" => "../app/edition_d.php",
229     "class" => "edition",
230     "title" => _("edition date decision"),
231     "right" => "edition_d",
232     "open" => "edition_d.php|",
233     );
234     //
235     $links[] = array(
236     "title" => "<hr/>",
237     "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
238     );
239     //
240     $links[] = array(
241     "href" => "../scr/reqmo.php",
242     "class" => "reqmo",
243     "title" => _("requetes memorisees"),
244     "right" => "reqmo",
245     "open" => array("reqmo.php|", "requeteur.php|", ),
246     );
247     //
248     $links[] = array(
249     "href" => "../app/export_pc.php",
250     "class" => "reqmo",
251     "title" => _("export PC Lascot"),
252     "right" => "export_pc",
253     "open" => "export_pc.php|",
254     );
255     //
256     $links[] = array(
257     "href" => "../app/export_dp.php",
258     "class" => "reqmo",
259     "title" => _("export DP Lascot"),
260     "right" => "export_dp",
261     "open" => "export_dp.php|",
262     );
263     //
264     $links[] = array(
265     "href" => "../app/sitadel.php",
266     "class" => "reqmo",
267     "title" => _("export sitadel")." 2",
268     "right" => "export_sitadel",
269     "open" => "sitadel.php|",
270     );
271     //
272 fraynaud 3 $rubrik['links'] = $links;
273 fmichon 380 //
274     $menu[] = $rubrik;
275 fraynaud 3 // }}}
276    
277 fmichon 380 // {{{ Rubrique PARAMETRAGE
278     //
279 fraynaud 3 $rubrik = array(
280 fmichon 380 "title" => _("parametrage"),
281 atreal 306 "class" => "parametrage",
282     "right" => "menu_parametrage",
283 fraynaud 3 );
284 fmichon 380 //
285 fraynaud 3 $links = array();
286 fmichon 380 //
287     // GENERAUX
288     $links[] = array(
289     "href" => "../scr/form.php?obj=dossier_numeromanuel",
290     "class" => "traitement",
291     "title" => _("numero manuel"),
292     "right" => "dossier_numeromanuel",
293     "open" => "|dossier_numeromanuel",
294     );
295     //
296     $links[] = array(
297     "href" => "../app/num_dossier.php",
298     "class" => "traitement",
299     "title" => _("remise a 0"),
300     "right" => "num_dossier",
301     "open" => "num_dossier.php|",
302     );
303     //
304     $links[] = array(
305     "title" => "<hr/>",
306     "right" => array(
307 vpihour 490 "architecte", "architecte_tab", "service", "service_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
308     "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
309 fmichon 380 "destination", "destination_tab", "nature", "nature_tab", "rivoli",
310     "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
311     ),
312     );
313     //
314     $links[] = array(
315     "href" => "../scr/tab.php?obj=architecte",
316     "class" => "architecte",
317     "title" => _("architecte"),
318     "right" => array("architecte", "architecte_tab", ),
319     "open" => array("tab.php|architecte", "form.php|architecte", ),
320     );
321     //
322     $links[] = array(
323     "href" => "../scr/tab.php?obj=service",
324     "class" => "service",
325     "title" => _("service"),
326     "right" => array("service", "service_tab", ),
327     "open" => array("tab.php|service", "form.php|service", ),
328     );
329 vpihour 490 $links[] = array(
330     "href" => "../scr/tab.php?obj=service_categorie",
331     "class" => "service_categorie",
332 vpihour 491 "title" => _("thematique des services"),
333 vpihour 490 "right" => array("service_categorie", "service_categorie_tab", ),
334     "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
335     );
336     $links[] = array(
337     "href" => "../scr/tab.php?obj=lien_service_service_categorie",
338     "class" => "lien_service_service_categorie",
339 vpihour 491 "title" => _("Lien service / thematique"),
340 vpihour 490 "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
341     "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
342     );
343 fmichon 380 //
344     $links[] = array(
345     "href" => "../scr/tab.php?obj=travaux",
346     "class" => "travaux",
347     "title" => _("travaux"),
348     "right" => array("travaux", "travaux_tab", ),
349     "open" => array("tab.php|travaux", "form.php|travaux", ),
350     );
351     //
352     $links[] = array(
353     "href" => "../scr/tab.php?obj=categorie_demandeur",
354     "class" => "categorie_demandeur",
355     "title" => _("categorie_demandeur"),
356     "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
357     "open" => array(
358     "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
359     ),
360     );
361     //
362     $links[] = array(
363     "href" => "../scr/tab.php?obj=destination",
364     "class" => "destination",
365     "title" => _("destination"),
366     "right" => array("destination", "destination_tab", ),
367     "open" => array("tab.php|destination", "form.php|destination", ),
368     );
369     //
370     $links[] = array(
371     "href" => "../scr/tab.php?obj=nature",
372     "class" => "nature",
373     "title" => _("nature"),
374     "right" => array("nature", "nature_tab", ),
375     "open" => array("tab.php|nature", "form.php|nature", ),
376     );
377     //
378     $links[] = array(
379     "href" => "../scr/tab.php?obj=rivoli",
380     "class" => "rivoli",
381     "title" => _("rivoli"),
382     "right" => array("rivoli", "rivoli_tab", ),
383     "open" => array("tab.php|rivoli", "form.php|rivoli", ),
384     );
385     //
386     $links[] = array(
387     "href" => "../scr/tab.php?obj=civilite",
388     "class" => "civilite",
389     "title" => _("civilite"),
390     "right" => array("civilite", "civilite_tab", ),
391     "open" => array("tab.php|civilite", "form.php|civilite", ),
392     );
393     //
394     $links[] = array(
395     "href" => "../scr/tab.php?obj=parametre",
396     "class" => "parametre",
397     "title" => _("parametre")." "._("statistique"),
398     "right" => array("parametre", "parametre_tab", ),
399     "open" => array("tab.php|parametre", "form.php|parametre", ),
400     );
401     //
402     $links[] = array(
403     "class" => "category",
404     "title" => _("workflows"),
405     "right" => array(
406     "action", "action_tab", "transition", "transition_tab", "etat",
407 vpihour 491 "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
408     "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
409 fmichon 380 ),
410     );
411     //
412     $links[] = array(
413     "title" => "<hr/>",
414     "right" => array(
415     "action", "action_tab", "transition", "transition_tab", "etat",
416 vpihour 491 "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
417     "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
418 fmichon 380 ),
419     );
420     //
421     $links[] = array(
422     "href" => "../scr/tab.php?obj=action",
423     "class" => "action",
424     "title" => _("action"),
425     "right" => array("action", "action_tab", ),
426     "open" => array("tab.php|action", "form.php|action", ),
427     );
428     //
429     $links[] = array(
430     "href" => "../scr/tab.php?obj=transition",
431     "class" => "transition",
432     "title" => _("transition"),
433     "right" => array("transition", "transition_tab", ),
434     "open" => array("tab.php|transition", "form.php|transition", ),
435     );
436     //
437     $links[] = array(
438     "href" => "../scr/tab.php?obj=etat",
439     "class" => "etat",
440     "title" => _("etat"),
441     "right" => array("etat", "etat_tab", ),
442     "open" => array("tab.php|etat", "form.php|etat", ),
443     );
444     //
445     $links[] = array(
446     "href" => "../scr/tab.php?obj=evenement",
447     "class" => "evenement",
448     "title" => _("evenement"),
449     "right" => array("evenement", "evenement_tab", ),
450     "open" => array("tab.php|evenement", "form.php|evenement", ),
451     );
452     //
453     $links[] = array(
454     "href" => "../scr/tab.php?obj=bible",
455     "class" => "bible",
456     "title" => _("bible"),
457     "right" => array("bible", "bible_tab", ),
458     "open" => array("tab.php|bible", "form.php|bible", ),
459     );
460     //
461     $links[] = array(
462 vpihour 491 "href" => "../scr/tab.php?obj=avis_decision",
463     "class" => "avis_decision",
464     "title" => _("avis decision"),
465     "right" => array("avis_decision", "avis_decision_tab", ),
466     "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
467 fmichon 380 );
468     //
469     $links[] = array(
470 vpihour 491 "href" => "../scr/tab.php?obj=avis_consultation",
471     "class" => "avis_consultation",
472     "title" => _("avis consultation"),
473     "right" => array("avis_consultation", "avis_consultation_tab", ),
474     "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
475     );
476     //
477     $links[] = array(
478 fmichon 380 "class" => "category",
479 nhaye 521 "title" => _("Organisation"),
480     "right" => array("direction", "division", "instructeur"),
481     );
482     $links[] = array(
483     "title" => "<hr/>",
484     "right" => array("direction", "division", "instructeur"),
485     );
486     //
487     $links[] = array(
488     "href" => "../scr/tab.php?obj=direction",
489     "class" => "direction",
490     "title" => _("direction"),
491     "right" => array("direction", "direction_tab", ),
492     "open" => array("tab.php|direction", "form.php|direction", ),
493     );
494     //
495     $links[] = array(
496     "href" => "../scr/tab.php?obj=division",
497     "class" => "division",
498     "title" => _("division"),
499     "right" => array("division", "division_tab", ),
500     "open" => array("tab.php|division", "form.php|division", ),
501     );
502     //
503     $links[] = array(
504     "href" => "../scr/tab.php?obj=instructeur",
505     "class" => "instructeur",
506     "title" => _("instructeur"),
507     "right" => array("instructeur", "instructeur_tab", ),
508     "open" => array("tab.php|instructeur", "form.php|instructeur", ),
509     );
510     //
511     $links[] = array(
512     "class" => "category",
513 fmichon 380 "title" => _("editions"),
514     "right" => array(
515     "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
516     "om_lettretype", "om_lettretype_tab",
517     ),
518     );
519     //
520     $links[] = array(
521     "title" => "<hr/>",
522     "right" => array(
523     "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
524     "om_lettretype", "om_lettretype_tab",
525     ),
526     );
527     //
528     $links[] = array(
529     "href" => "../scr/tab.php?obj=om_etat",
530     "class" => "etat",
531     "title" => _("om_etat"),
532     "right" => array("om_etat", "om_etat_tab", ),
533     "open" => array("tab.php|om_etat", "form.php|om_etat", ),
534     );
535     //
536     $links[] = array(
537     "href" => "../scr/tab.php?obj=om_sousetat",
538     "class" => "sousetat",
539     "title" => _("om_sousetat"),
540     "right" => array("om_sousetat", "om_sousetat_tab", ),
541     "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
542     );
543     //
544     $links[] = array(
545     "href" => "../scr/tab.php?obj=om_lettretype",
546     "class" => "lettretype",
547     "title" => _("om_lettretype"),
548     "right" => array("om_lettretype", "om_lettretype_tab"),
549     "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
550     );
551     //
552 fraynaud 196 $rubrik['links'] = $links;
553 fmichon 380 //
554     $menu[] = $rubrik;
555     // }}}
556 fraynaud 196
557 fmichon 380 // {{{ Rubrique SIG
558     //
559 fraynaud 196 $rubrik = array(
560 fmichon 380 "title" => _("sig"),
561 fraynaud 196 "class" => "sig",
562     "right" => "menu_sig",
563     );
564 fmichon 380 //
565 fraynaud 196 $links = array();
566 fmichon 380 //
567     $links[] = array(
568     "href" => "../scr/tab.php?obj=parcelle",
569     "class" => "parcelle",
570     "title" => _("parcelle"),
571     "right" => array("parcelle", "parcelle_tab"),
572     "open" => array("tab.php|parcelle", "form.php|parcelle", ),
573     );
574     //
575     $links[] = array(
576     "href" => "../scr/tab.php?obj=proprietaire",
577     "class" => "proprietaire",
578     "title" => _("proprietaire"),
579     "right" => array("proprietaire", "proprietaire_tab"),
580     "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
581     );
582     //
583     $links[] = array(
584     "class" => "category",
585     "title" => _("servitudes"),
586     "right" => array(
587     "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
588     "servitude_ligne", "servitude_ligne_tab", "servitude_point",
589     "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
590     ),
591     );
592     //
593     $links[] = array(
594     "title" => "<hr/>",
595     "right" => array(
596     "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
597     "servitude_ligne", "servitude_ligne_tab", "servitude_point",
598     "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
599     ),
600     );
601     //
602     $links[] = array(
603     "href" => "../scr/tab.php?obj=pos",
604     "class" => "pos",
605     "title" => _("pos"),
606     "right" => array("pos", "pos_tab"),
607     "open" => array("tab.php|pos", "form.php|pos", ),
608     );
609     //
610     $links[] = array(
611     "href" => "../scr/tab.php?obj=servitude_surfacique",
612     "class" => "servitude_surfacique",
613     "title" => _("servitude_surfacique"),
614     "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
615     "open" => array(
616     "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
617     ),
618     );
619     //
620     $links[] = array(
621     "href" => "../scr/tab.php?obj=servitude_ligne",
622     "class" => "servitude_ligne",
623     "title" => _("servitude_ligne"),
624     "right" => array("servitude_ligne", "servitude_ligne_tab"),
625     "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
626     );
627     //
628     $links[] = array(
629     "href" => "../scr/tab.php?obj=servitude_point",
630     "class" => "servitude_point",
631     "title" => _("servitude_point"),
632     "right" => array("servitude_point", "servitude_point_tab"),
633     "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
634     );
635     //
636     $links[] = array(
637     "href" => "../scr/tab.php?obj=parcelle_lot",
638     "class" => "parcelle_lot",
639     "title" => _("parcelle_lot"),
640     "right" => array("parcelle_lot", "parcelle_lot_tab"),
641     "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
642     );
643     //
644 fraynaud 3 $rubrik['links'] = $links;
645 fmichon 380 //
646     $menu[] = $rubrik;
647     // }}}
648 fraynaud 3
649     // {{{ Rubrique ADMINISTRATION
650     //
651     $rubrik = array(
652 fmichon 380 "title" => _("administration"),
653 fraynaud 3 "class" => "administration",
654     "right" => "menu_administration",
655     );
656     //
657     $links = array();
658 fmichon 380 //
659     $links[] = array(
660     "href" => "../scr/tab.php?obj=om_collectivite",
661     "class" => "collectivite",
662     "title" => _("om_collectivite"),
663     "right" => array("om_collectivite", "om_collectivite_tab", ),
664     "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
665     );
666     //
667     $links[] = array(
668     "href" => "../scr/tab.php?obj=om_parametre",
669     "class" => "parametre",
670     "title" => _("om_parametre"),
671     "right" => array("om_parametre", "om_parametre_tab", ),
672     "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
673     );
674     //
675     $links[] = array(
676     "class" => "category",
677     "title" => _("gestion des utilisateurs"),
678     "right" => array(
679     "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
680     "om_droit", "om_droit_tab", "directory",
681     ),
682     );
683     //
684     $links[] = array(
685     "title" => "<hr/>",
686     "right" => array(
687     "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
688     "om_droit", "om_droit_tab",
689     ),
690     );
691     //
692     $links[] = array(
693     "href" => "../scr/tab.php?obj=om_profil",
694     "class" => "profil",
695     "title" => _("om_profil"),
696     "right" => array("om_profil", "om_profil_tab", ),
697     "open" => array("tab.php|om_profil", "form.php|om_profil", ),
698     );
699     //
700     $links[] = array(
701     "href" => "../scr/tab.php?obj=om_droit",
702     "class" => "droit",
703     "title" => _("om_droit"),
704     "right" => array("om_droit", "om_droit_tab", ),
705     "open" => array("tab.php|om_droit", "form.php|om_droit", ),
706     );
707     //
708     $links[] = array(
709     "href" => "../scr/tab.php?obj=om_utilisateur",
710     "class" => "utilisateur",
711     "title" => _("om_utilisateur"),
712     "right" => array("om_utilisateur", "om_utilisateur_tab", ),
713     "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
714     );
715     //
716     $links[] = array(
717     "title" => "<hr/>",
718     "right" => array("directory", ),
719     "parameters" => array("isDirectoryOptionEnabled" => true, ),
720     );
721     //
722     $links[] = array(
723     "href" => "../scr/directory.php",
724     "class" => "directory",
725     "title" => _("annuaire"),
726     "right" => array("directory", ),
727     "open" => array("directory.php|", ),
728     "parameters" => array("isDirectoryOptionEnabled" => true, ),
729     );
730     //
731     $links[] = array(
732     "class" => "category",
733     "title" => _("tableaux de bord"),
734     "right" => array("om_widget", "om_widget_tab", ),
735     );
736     //
737     $links[] = array(
738     "title" => "<hr/>",
739     "right" => array("om_widget", "om_widget_tab", ),
740     );
741     //
742     $links[] = array(
743     "href" => "../scr/tab.php?obj=om_widget",
744     "class" => "om_widget",
745     "title" => _("widget"),
746     "right" => array("om_widget", "om_widget_tab", ),
747     "open" => array("tab.php|om_widget", "form.php|om_widget", ),
748     );
749     //
750     $links[] = array(
751     "class" => "category",
752     "title" => _("sig"),
753     "right" => array(
754     "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
755     ),
756     );
757     //
758     $links[] = array(
759     "title" => "<hr/>",
760     "right" => array(
761     "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
762     ),
763     );
764     //
765     $links[] = array(
766     "href" => "../scr/tab.php?obj=om_sig_map",
767     "class" => "om_sig_map",
768     "title" => _("om_sig_map"),
769     "right" => array("om_sig_map", "om_sig_map_tab", ),
770     "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
771     );
772     //
773     $links[] = array(
774     "href" => "../scr/tab.php?obj=om_sig_wms",
775     "class" => "om_sig_wms",
776     "title" => _("om_sig_wms"),
777     "right" => array("om_sig_wms", "om_sig_wms_tab", ),
778     "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
779     );
780     //
781     $links[] = array(
782     "class" => "category",
783     "title" => _("options avancees"),
784     "right" => array("import", "gen", ),
785     );
786     //
787     $links[] = array(
788     "title" => "<hr/>",
789     "right" => array("import", ),
790     );
791     //
792     $links[] = array(
793     "href" => "../scr/import.php",
794     "class" => "import",
795     "title" => _("Import"),
796     "right" => array("import", ),
797     "open" => array("import.php|", ),
798     );
799     //
800     $links[] = array(
801     "title" => "<hr/>",
802     "right" => array("gen", ),
803     );
804     //
805     $links[] = array(
806     "title" => _("Generateur"),
807     "href" => "../scr/gen.php",
808     "class" => "generator",
809     "right" => array("gen", ),
810     "open" => array(
811     "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
812     "genetat.php|", "gensousetat.php|", "genlettretype.php|",
813     "genimport.php|",
814     ),
815     );
816     //
817 fraynaud 3 $rubrik['links'] = $links;
818 fmichon 380 //
819     $menu[] = $rubrik;
820 fraynaud 3 // }}}
821    
822     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26