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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 380 - (hide annotations)
Wed Sep 19 06:30:05 2012 UTC (12 years, 4 months ago) by fmichon
File size: 18551 byte(s)
Mise à niveau du paramétrage du menu et des zones de navigation & Mise à niveau des permissions

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     //
121 fraynaud 3 $rubrik['links'] = $links;
122 fmichon 380 //
123     $menu[] = $rubrik;
124     // }}}
125 fraynaud 3
126     // {{{ Rubrique EXPORT
127 fmichon 380 //
128 fraynaud 3 $rubrik = array(
129 fmichon 380 "title" => _("export"),
130 fraynaud 3 "class" => "edition",
131     "right" => "menu_export",
132     );
133 fmichon 380 //
134 fraynaud 3 $links = array();
135 fmichon 380 //
136     $links[] = array(
137     "href" => "../scr/edition.php",
138     "class" => "edition",
139     "title" => _("edition"),
140     "right" => "edition",
141     "open" => "edition.php|",
142     );
143     //
144     $links[] = array(
145     "href" => "../app/edition_p.php",
146     "class" => "edition",
147     "title" => _("edition date depot"),
148     "right" => "edition_p",
149     "open" => "edition_p.php|",
150     );
151     //
152     $links[] = array(
153     "href" => "../app/edition_d.php",
154     "class" => "edition",
155     "title" => _("edition date decision"),
156     "right" => "edition_d",
157     "open" => "edition_d.php|",
158     );
159     //
160     $links[] = array(
161     "title" => "<hr/>",
162     "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
163     );
164     //
165     $links[] = array(
166     "href" => "../scr/reqmo.php",
167     "class" => "reqmo",
168     "title" => _("requetes memorisees"),
169     "right" => "reqmo",
170     "open" => array("reqmo.php|", "requeteur.php|", ),
171     );
172     //
173     $links[] = array(
174     "href" => "../app/export_pc.php",
175     "class" => "reqmo",
176     "title" => _("export PC Lascot"),
177     "right" => "export_pc",
178     "open" => "export_pc.php|",
179     );
180     //
181     $links[] = array(
182     "href" => "../app/export_dp.php",
183     "class" => "reqmo",
184     "title" => _("export DP Lascot"),
185     "right" => "export_dp",
186     "open" => "export_dp.php|",
187     );
188     //
189     $links[] = array(
190     "href" => "../app/sitadel.php",
191     "class" => "reqmo",
192     "title" => _("export sitadel")." 2",
193     "right" => "export_sitadel",
194     "open" => "sitadel.php|",
195     );
196     //
197 fraynaud 3 $rubrik['links'] = $links;
198 fmichon 380 //
199     $menu[] = $rubrik;
200 fraynaud 3 // }}}
201    
202 fmichon 380 // {{{ Rubrique PARAMETRAGE
203     //
204 fraynaud 3 $rubrik = array(
205 fmichon 380 "title" => _("parametrage"),
206 atreal 306 "class" => "parametrage",
207     "right" => "menu_parametrage",
208 fraynaud 3 );
209 fmichon 380 //
210 fraynaud 3 $links = array();
211 fmichon 380 //
212     // GENERAUX
213     $links[] = array(
214     "href" => "../scr/form.php?obj=dossier_numeromanuel",
215     "class" => "traitement",
216     "title" => _("numero manuel"),
217     "right" => "dossier_numeromanuel",
218     "open" => "|dossier_numeromanuel",
219     );
220     //
221     $links[] = array(
222     "href" => "../app/num_dossier.php",
223     "class" => "traitement",
224     "title" => _("remise a 0"),
225     "right" => "num_dossier",
226     "open" => "num_dossier.php|",
227     );
228     //
229     $links[] = array(
230     "title" => "<hr/>",
231     "right" => array(
232     "architecte", "architecte_tab", "service", "service_tab", "travaux",
233     "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
234     "destination", "destination_tab", "nature", "nature_tab", "rivoli",
235     "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
236     ),
237     );
238     //
239     $links[] = array(
240     "href" => "../scr/tab.php?obj=architecte",
241     "class" => "architecte",
242     "title" => _("architecte"),
243     "right" => array("architecte", "architecte_tab", ),
244     "open" => array("tab.php|architecte", "form.php|architecte", ),
245     );
246     //
247     $links[] = array(
248     "href" => "../scr/tab.php?obj=service",
249     "class" => "service",
250     "title" => _("service"),
251     "right" => array("service", "service_tab", ),
252     "open" => array("tab.php|service", "form.php|service", ),
253     );
254     //
255     $links[] = array(
256     "href" => "../scr/tab.php?obj=travaux",
257     "class" => "travaux",
258     "title" => _("travaux"),
259     "right" => array("travaux", "travaux_tab", ),
260     "open" => array("tab.php|travaux", "form.php|travaux", ),
261     );
262     //
263     $links[] = array(
264     "href" => "../scr/tab.php?obj=categorie_demandeur",
265     "class" => "categorie_demandeur",
266     "title" => _("categorie_demandeur"),
267     "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
268     "open" => array(
269     "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
270     ),
271     );
272     //
273     $links[] = array(
274     "href" => "../scr/tab.php?obj=destination",
275     "class" => "destination",
276     "title" => _("destination"),
277     "right" => array("destination", "destination_tab", ),
278     "open" => array("tab.php|destination", "form.php|destination", ),
279     );
280     //
281     $links[] = array(
282     "href" => "../scr/tab.php?obj=nature",
283     "class" => "nature",
284     "title" => _("nature"),
285     "right" => array("nature", "nature_tab", ),
286     "open" => array("tab.php|nature", "form.php|nature", ),
287     );
288     //
289     $links[] = array(
290     "href" => "../scr/tab.php?obj=rivoli",
291     "class" => "rivoli",
292     "title" => _("rivoli"),
293     "right" => array("rivoli", "rivoli_tab", ),
294     "open" => array("tab.php|rivoli", "form.php|rivoli", ),
295     );
296     //
297     $links[] = array(
298     "href" => "../scr/tab.php?obj=civilite",
299     "class" => "civilite",
300     "title" => _("civilite"),
301     "right" => array("civilite", "civilite_tab", ),
302     "open" => array("tab.php|civilite", "form.php|civilite", ),
303     );
304     //
305     $links[] = array(
306     "href" => "../scr/tab.php?obj=parametre",
307     "class" => "parametre",
308     "title" => _("parametre")." "._("statistique"),
309     "right" => array("parametre", "parametre_tab", ),
310     "open" => array("tab.php|parametre", "form.php|parametre", ),
311     );
312     //
313     $links[] = array(
314     "class" => "category",
315     "title" => _("workflows"),
316     "right" => array(
317     "action", "action_tab", "transition", "transition_tab", "etat",
318     "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis",
319     "avis_tab",
320     ),
321     );
322     //
323     $links[] = array(
324     "title" => "<hr/>",
325     "right" => array(
326     "action", "action_tab", "transition", "transition_tab", "etat",
327     "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis",
328     "avis_tab",
329     ),
330     );
331     //
332     $links[] = array(
333     "href" => "../scr/tab.php?obj=action",
334     "class" => "action",
335     "title" => _("action"),
336     "right" => array("action", "action_tab", ),
337     "open" => array("tab.php|action", "form.php|action", ),
338     );
339     //
340     $links[] = array(
341     "href" => "../scr/tab.php?obj=transition",
342     "class" => "transition",
343     "title" => _("transition"),
344     "right" => array("transition", "transition_tab", ),
345     "open" => array("tab.php|transition", "form.php|transition", ),
346     );
347     //
348     $links[] = array(
349     "href" => "../scr/tab.php?obj=etat",
350     "class" => "etat",
351     "title" => _("etat"),
352     "right" => array("etat", "etat_tab", ),
353     "open" => array("tab.php|etat", "form.php|etat", ),
354     );
355     //
356     $links[] = array(
357     "href" => "../scr/tab.php?obj=evenement",
358     "class" => "evenement",
359     "title" => _("evenement"),
360     "right" => array("evenement", "evenement_tab", ),
361     "open" => array("tab.php|evenement", "form.php|evenement", ),
362     );
363     //
364     $links[] = array(
365     "href" => "../scr/tab.php?obj=bible",
366     "class" => "bible",
367     "title" => _("bible"),
368     "right" => array("bible", "bible_tab", ),
369     "open" => array("tab.php|bible", "form.php|bible", ),
370     );
371     //
372     $links[] = array(
373     "href" => "../scr/tab.php?obj=avis",
374     "class" => "avis",
375     "title" => _("avis"),
376     "right" => array("avis", "avis_tab", ),
377     "open" => array("tab.php|avis", "form.php|avis", ),
378     );
379     //
380     $links[] = array(
381     "class" => "category",
382     "title" => _("editions"),
383     "right" => array(
384     "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
385     "om_lettretype", "om_lettretype_tab",
386     ),
387     );
388     //
389     $links[] = array(
390     "title" => "<hr/>",
391     "right" => array(
392     "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
393     "om_lettretype", "om_lettretype_tab",
394     ),
395     );
396     //
397     $links[] = array(
398     "href" => "../scr/tab.php?obj=om_etat",
399     "class" => "etat",
400     "title" => _("om_etat"),
401     "right" => array("om_etat", "om_etat_tab", ),
402     "open" => array("tab.php|om_etat", "form.php|om_etat", ),
403     );
404     //
405     $links[] = array(
406     "href" => "../scr/tab.php?obj=om_sousetat",
407     "class" => "sousetat",
408     "title" => _("om_sousetat"),
409     "right" => array("om_sousetat", "om_sousetat_tab", ),
410     "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
411     );
412     //
413     $links[] = array(
414     "href" => "../scr/tab.php?obj=om_lettretype",
415     "class" => "lettretype",
416     "title" => _("om_lettretype"),
417     "right" => array("om_lettretype", "om_lettretype_tab"),
418     "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
419     );
420     //
421 fraynaud 196 $rubrik['links'] = $links;
422 fmichon 380 //
423     $menu[] = $rubrik;
424     // }}}
425 fraynaud 196
426 fmichon 380 // {{{ Rubrique SIG
427     //
428 fraynaud 196 $rubrik = array(
429 fmichon 380 "title" => _("sig"),
430 fraynaud 196 "class" => "sig",
431     "right" => "menu_sig",
432     );
433 fmichon 380 //
434 fraynaud 196 $links = array();
435 fmichon 380 //
436     $links[] = array(
437     "href" => "../scr/tab.php?obj=parcelle",
438     "class" => "parcelle",
439     "title" => _("parcelle"),
440     "right" => array("parcelle", "parcelle_tab"),
441     "open" => array("tab.php|parcelle", "form.php|parcelle", ),
442     );
443     //
444     $links[] = array(
445     "href" => "../scr/tab.php?obj=proprietaire",
446     "class" => "proprietaire",
447     "title" => _("proprietaire"),
448     "right" => array("proprietaire", "proprietaire_tab"),
449     "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
450     );
451     //
452     $links[] = array(
453     "class" => "category",
454     "title" => _("servitudes"),
455     "right" => array(
456     "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
457     "servitude_ligne", "servitude_ligne_tab", "servitude_point",
458     "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
459     ),
460     );
461     //
462     $links[] = array(
463     "title" => "<hr/>",
464     "right" => array(
465     "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
466     "servitude_ligne", "servitude_ligne_tab", "servitude_point",
467     "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
468     ),
469     );
470     //
471     $links[] = array(
472     "href" => "../scr/tab.php?obj=pos",
473     "class" => "pos",
474     "title" => _("pos"),
475     "right" => array("pos", "pos_tab"),
476     "open" => array("tab.php|pos", "form.php|pos", ),
477     );
478     //
479     $links[] = array(
480     "href" => "../scr/tab.php?obj=servitude_surfacique",
481     "class" => "servitude_surfacique",
482     "title" => _("servitude_surfacique"),
483     "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
484     "open" => array(
485     "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
486     ),
487     );
488     //
489     $links[] = array(
490     "href" => "../scr/tab.php?obj=servitude_ligne",
491     "class" => "servitude_ligne",
492     "title" => _("servitude_ligne"),
493     "right" => array("servitude_ligne", "servitude_ligne_tab"),
494     "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
495     );
496     //
497     $links[] = array(
498     "href" => "../scr/tab.php?obj=servitude_point",
499     "class" => "servitude_point",
500     "title" => _("servitude_point"),
501     "right" => array("servitude_point", "servitude_point_tab"),
502     "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
503     );
504     //
505     $links[] = array(
506     "href" => "../scr/tab.php?obj=parcelle_lot",
507     "class" => "parcelle_lot",
508     "title" => _("parcelle_lot"),
509     "right" => array("parcelle_lot", "parcelle_lot_tab"),
510     "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
511     );
512     //
513 fraynaud 3 $rubrik['links'] = $links;
514 fmichon 380 //
515     $menu[] = $rubrik;
516     // }}}
517 fraynaud 3
518     // {{{ Rubrique ADMINISTRATION
519     //
520     $rubrik = array(
521 fmichon 380 "title" => _("administration"),
522 fraynaud 3 "class" => "administration",
523     "right" => "menu_administration",
524     );
525     //
526     $links = array();
527 fmichon 380 //
528     $links[] = array(
529     "href" => "../scr/tab.php?obj=om_collectivite",
530     "class" => "collectivite",
531     "title" => _("om_collectivite"),
532     "right" => array("om_collectivite", "om_collectivite_tab", ),
533     "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
534     );
535     //
536     $links[] = array(
537     "href" => "../scr/tab.php?obj=om_parametre",
538     "class" => "parametre",
539     "title" => _("om_parametre"),
540     "right" => array("om_parametre", "om_parametre_tab", ),
541     "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
542     );
543     //
544     $links[] = array(
545     "class" => "category",
546     "title" => _("gestion des utilisateurs"),
547     "right" => array(
548     "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
549     "om_droit", "om_droit_tab", "directory",
550     ),
551     );
552     //
553     $links[] = array(
554     "title" => "<hr/>",
555     "right" => array(
556     "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
557     "om_droit", "om_droit_tab",
558     ),
559     );
560     //
561     $links[] = array(
562     "href" => "../scr/tab.php?obj=om_profil",
563     "class" => "profil",
564     "title" => _("om_profil"),
565     "right" => array("om_profil", "om_profil_tab", ),
566     "open" => array("tab.php|om_profil", "form.php|om_profil", ),
567     );
568     //
569     $links[] = array(
570     "href" => "../scr/tab.php?obj=om_droit",
571     "class" => "droit",
572     "title" => _("om_droit"),
573     "right" => array("om_droit", "om_droit_tab", ),
574     "open" => array("tab.php|om_droit", "form.php|om_droit", ),
575     );
576     //
577     $links[] = array(
578     "href" => "../scr/tab.php?obj=om_utilisateur",
579     "class" => "utilisateur",
580     "title" => _("om_utilisateur"),
581     "right" => array("om_utilisateur", "om_utilisateur_tab", ),
582     "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
583     );
584     //
585     $links[] = array(
586     "title" => "<hr/>",
587     "right" => array("directory", ),
588     "parameters" => array("isDirectoryOptionEnabled" => true, ),
589     );
590     //
591     $links[] = array(
592     "href" => "../scr/directory.php",
593     "class" => "directory",
594     "title" => _("annuaire"),
595     "right" => array("directory", ),
596     "open" => array("directory.php|", ),
597     "parameters" => array("isDirectoryOptionEnabled" => true, ),
598     );
599     //
600     $links[] = array(
601     "class" => "category",
602     "title" => _("tableaux de bord"),
603     "right" => array("om_widget", "om_widget_tab", ),
604     );
605     //
606     $links[] = array(
607     "title" => "<hr/>",
608     "right" => array("om_widget", "om_widget_tab", ),
609     );
610     //
611     $links[] = array(
612     "href" => "../scr/tab.php?obj=om_widget",
613     "class" => "om_widget",
614     "title" => _("widget"),
615     "right" => array("om_widget", "om_widget_tab", ),
616     "open" => array("tab.php|om_widget", "form.php|om_widget", ),
617     );
618     //
619     $links[] = array(
620     "class" => "category",
621     "title" => _("sig"),
622     "right" => array(
623     "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
624     ),
625     );
626     //
627     $links[] = array(
628     "title" => "<hr/>",
629     "right" => array(
630     "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
631     ),
632     );
633     //
634     $links[] = array(
635     "href" => "../scr/tab.php?obj=om_sig_map",
636     "class" => "om_sig_map",
637     "title" => _("om_sig_map"),
638     "right" => array("om_sig_map", "om_sig_map_tab", ),
639     "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
640     );
641     //
642     $links[] = array(
643     "href" => "../scr/tab.php?obj=om_sig_wms",
644     "class" => "om_sig_wms",
645     "title" => _("om_sig_wms"),
646     "right" => array("om_sig_wms", "om_sig_wms_tab", ),
647     "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
648     );
649     //
650     $links[] = array(
651     "class" => "category",
652     "title" => _("options avancees"),
653     "right" => array("import", "gen", ),
654     );
655     //
656     $links[] = array(
657     "title" => "<hr/>",
658     "right" => array("import", ),
659     );
660     //
661     $links[] = array(
662     "href" => "../scr/import.php",
663     "class" => "import",
664     "title" => _("Import"),
665     "right" => array("import", ),
666     "open" => array("import.php|", ),
667     );
668     //
669     $links[] = array(
670     "title" => "<hr/>",
671     "right" => array("gen", ),
672     );
673     //
674     $links[] = array(
675     "title" => _("Generateur"),
676     "href" => "../scr/gen.php",
677     "class" => "generator",
678     "right" => array("gen", ),
679     "open" => array(
680     "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
681     "genetat.php|", "gensousetat.php|", "genlettretype.php|",
682     "genimport.php|",
683     ),
684     );
685     //
686 fraynaud 3 $rubrik['links'] = $links;
687 fmichon 380 //
688     $menu[] = $rubrik;
689 fraynaud 3 // }}}
690    
691     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26