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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 490 - (show annotations)
Thu Oct 11 10:22:44 2012 UTC (12 years, 3 months ago) by vpihour
File size: 19368 byte(s)
Modification du menu de paramètrage et ajout des nouveaux champs au menu service

1 <?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 //
11 $menu = array();
12
13 // {{{ Rubrique APPLICATION
14 //
15 $rubrik = array(
16 "title" => _("instruction"),
17 "class" => "application",
18 "right" => "menu_application",
19 );
20 //
21 $links = array();
22 //
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 $rubrik['links'] = $links;
122 //
123 $menu[] = $rubrik;
124 // }}}
125
126 // {{{ Rubrique EXPORT
127 //
128 $rubrik = array(
129 "title" => _("export"),
130 "class" => "edition",
131 "right" => "menu_export",
132 );
133 //
134 $links = array();
135 //
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 $rubrik['links'] = $links;
198 //
199 $menu[] = $rubrik;
200 // }}}
201
202 // {{{ Rubrique PARAMETRAGE
203 //
204 $rubrik = array(
205 "title" => _("parametrage"),
206 "class" => "parametrage",
207 "right" => "menu_parametrage",
208 );
209 //
210 $links = array();
211 //
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", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
233 "travaux", "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 $links[] = array(
255 "href" => "../scr/tab.php?obj=service_categorie",
256 "class" => "service_categorie",
257 "title" => _("thématique des services"),
258 "right" => array("service_categorie", "service_categorie_tab", ),
259 "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
260 );
261 $links[] = array(
262 "href" => "../scr/tab.php?obj=lien_service_service_categorie",
263 "class" => "lien_service_service_categorie",
264 "title" => _("Lien service / thématique"),
265 "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
266 "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
267 );
268 //
269 $links[] = array(
270 "href" => "../scr/tab.php?obj=travaux",
271 "class" => "travaux",
272 "title" => _("travaux"),
273 "right" => array("travaux", "travaux_tab", ),
274 "open" => array("tab.php|travaux", "form.php|travaux", ),
275 );
276 //
277 $links[] = array(
278 "href" => "../scr/tab.php?obj=categorie_demandeur",
279 "class" => "categorie_demandeur",
280 "title" => _("categorie_demandeur"),
281 "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
282 "open" => array(
283 "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
284 ),
285 );
286 //
287 $links[] = array(
288 "href" => "../scr/tab.php?obj=destination",
289 "class" => "destination",
290 "title" => _("destination"),
291 "right" => array("destination", "destination_tab", ),
292 "open" => array("tab.php|destination", "form.php|destination", ),
293 );
294 //
295 $links[] = array(
296 "href" => "../scr/tab.php?obj=nature",
297 "class" => "nature",
298 "title" => _("nature"),
299 "right" => array("nature", "nature_tab", ),
300 "open" => array("tab.php|nature", "form.php|nature", ),
301 );
302 //
303 $links[] = array(
304 "href" => "../scr/tab.php?obj=rivoli",
305 "class" => "rivoli",
306 "title" => _("rivoli"),
307 "right" => array("rivoli", "rivoli_tab", ),
308 "open" => array("tab.php|rivoli", "form.php|rivoli", ),
309 );
310 //
311 $links[] = array(
312 "href" => "../scr/tab.php?obj=civilite",
313 "class" => "civilite",
314 "title" => _("civilite"),
315 "right" => array("civilite", "civilite_tab", ),
316 "open" => array("tab.php|civilite", "form.php|civilite", ),
317 );
318 //
319 $links[] = array(
320 "href" => "../scr/tab.php?obj=parametre",
321 "class" => "parametre",
322 "title" => _("parametre")." "._("statistique"),
323 "right" => array("parametre", "parametre_tab", ),
324 "open" => array("tab.php|parametre", "form.php|parametre", ),
325 );
326 //
327 $links[] = array(
328 "class" => "category",
329 "title" => _("workflows"),
330 "right" => array(
331 "action", "action_tab", "transition", "transition_tab", "etat",
332 "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis",
333 "avis_tab",
334 ),
335 );
336 //
337 $links[] = array(
338 "title" => "<hr/>",
339 "right" => array(
340 "action", "action_tab", "transition", "transition_tab", "etat",
341 "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis",
342 "avis_tab",
343 ),
344 );
345 //
346 $links[] = array(
347 "href" => "../scr/tab.php?obj=action",
348 "class" => "action",
349 "title" => _("action"),
350 "right" => array("action", "action_tab", ),
351 "open" => array("tab.php|action", "form.php|action", ),
352 );
353 //
354 $links[] = array(
355 "href" => "../scr/tab.php?obj=transition",
356 "class" => "transition",
357 "title" => _("transition"),
358 "right" => array("transition", "transition_tab", ),
359 "open" => array("tab.php|transition", "form.php|transition", ),
360 );
361 //
362 $links[] = array(
363 "href" => "../scr/tab.php?obj=etat",
364 "class" => "etat",
365 "title" => _("etat"),
366 "right" => array("etat", "etat_tab", ),
367 "open" => array("tab.php|etat", "form.php|etat", ),
368 );
369 //
370 $links[] = array(
371 "href" => "../scr/tab.php?obj=evenement",
372 "class" => "evenement",
373 "title" => _("evenement"),
374 "right" => array("evenement", "evenement_tab", ),
375 "open" => array("tab.php|evenement", "form.php|evenement", ),
376 );
377 //
378 $links[] = array(
379 "href" => "../scr/tab.php?obj=bible",
380 "class" => "bible",
381 "title" => _("bible"),
382 "right" => array("bible", "bible_tab", ),
383 "open" => array("tab.php|bible", "form.php|bible", ),
384 );
385 //
386 $links[] = array(
387 "href" => "../scr/tab.php?obj=avis",
388 "class" => "avis",
389 "title" => _("avis"),
390 "right" => array("avis", "avis_tab", ),
391 "open" => array("tab.php|avis", "form.php|avis", ),
392 );
393 //
394 $links[] = array(
395 "class" => "category",
396 "title" => _("editions"),
397 "right" => array(
398 "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
399 "om_lettretype", "om_lettretype_tab",
400 ),
401 );
402 //
403 $links[] = array(
404 "title" => "<hr/>",
405 "right" => array(
406 "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
407 "om_lettretype", "om_lettretype_tab",
408 ),
409 );
410 //
411 $links[] = array(
412 "href" => "../scr/tab.php?obj=om_etat",
413 "class" => "etat",
414 "title" => _("om_etat"),
415 "right" => array("om_etat", "om_etat_tab", ),
416 "open" => array("tab.php|om_etat", "form.php|om_etat", ),
417 );
418 //
419 $links[] = array(
420 "href" => "../scr/tab.php?obj=om_sousetat",
421 "class" => "sousetat",
422 "title" => _("om_sousetat"),
423 "right" => array("om_sousetat", "om_sousetat_tab", ),
424 "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
425 );
426 //
427 $links[] = array(
428 "href" => "../scr/tab.php?obj=om_lettretype",
429 "class" => "lettretype",
430 "title" => _("om_lettretype"),
431 "right" => array("om_lettretype", "om_lettretype_tab"),
432 "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
433 );
434 //
435 $rubrik['links'] = $links;
436 //
437 $menu[] = $rubrik;
438 // }}}
439
440 // {{{ Rubrique SIG
441 //
442 $rubrik = array(
443 "title" => _("sig"),
444 "class" => "sig",
445 "right" => "menu_sig",
446 );
447 //
448 $links = array();
449 //
450 $links[] = array(
451 "href" => "../scr/tab.php?obj=parcelle",
452 "class" => "parcelle",
453 "title" => _("parcelle"),
454 "right" => array("parcelle", "parcelle_tab"),
455 "open" => array("tab.php|parcelle", "form.php|parcelle", ),
456 );
457 //
458 $links[] = array(
459 "href" => "../scr/tab.php?obj=proprietaire",
460 "class" => "proprietaire",
461 "title" => _("proprietaire"),
462 "right" => array("proprietaire", "proprietaire_tab"),
463 "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
464 );
465 //
466 $links[] = array(
467 "class" => "category",
468 "title" => _("servitudes"),
469 "right" => array(
470 "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
471 "servitude_ligne", "servitude_ligne_tab", "servitude_point",
472 "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
473 ),
474 );
475 //
476 $links[] = array(
477 "title" => "<hr/>",
478 "right" => array(
479 "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
480 "servitude_ligne", "servitude_ligne_tab", "servitude_point",
481 "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
482 ),
483 );
484 //
485 $links[] = array(
486 "href" => "../scr/tab.php?obj=pos",
487 "class" => "pos",
488 "title" => _("pos"),
489 "right" => array("pos", "pos_tab"),
490 "open" => array("tab.php|pos", "form.php|pos", ),
491 );
492 //
493 $links[] = array(
494 "href" => "../scr/tab.php?obj=servitude_surfacique",
495 "class" => "servitude_surfacique",
496 "title" => _("servitude_surfacique"),
497 "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
498 "open" => array(
499 "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
500 ),
501 );
502 //
503 $links[] = array(
504 "href" => "../scr/tab.php?obj=servitude_ligne",
505 "class" => "servitude_ligne",
506 "title" => _("servitude_ligne"),
507 "right" => array("servitude_ligne", "servitude_ligne_tab"),
508 "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
509 );
510 //
511 $links[] = array(
512 "href" => "../scr/tab.php?obj=servitude_point",
513 "class" => "servitude_point",
514 "title" => _("servitude_point"),
515 "right" => array("servitude_point", "servitude_point_tab"),
516 "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
517 );
518 //
519 $links[] = array(
520 "href" => "../scr/tab.php?obj=parcelle_lot",
521 "class" => "parcelle_lot",
522 "title" => _("parcelle_lot"),
523 "right" => array("parcelle_lot", "parcelle_lot_tab"),
524 "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
525 );
526 //
527 $rubrik['links'] = $links;
528 //
529 $menu[] = $rubrik;
530 // }}}
531
532 // {{{ Rubrique ADMINISTRATION
533 //
534 $rubrik = array(
535 "title" => _("administration"),
536 "class" => "administration",
537 "right" => "menu_administration",
538 );
539 //
540 $links = array();
541 //
542 $links[] = array(
543 "href" => "../scr/tab.php?obj=om_collectivite",
544 "class" => "collectivite",
545 "title" => _("om_collectivite"),
546 "right" => array("om_collectivite", "om_collectivite_tab", ),
547 "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
548 );
549 //
550 $links[] = array(
551 "href" => "../scr/tab.php?obj=om_parametre",
552 "class" => "parametre",
553 "title" => _("om_parametre"),
554 "right" => array("om_parametre", "om_parametre_tab", ),
555 "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
556 );
557 //
558 $links[] = array(
559 "class" => "category",
560 "title" => _("gestion des utilisateurs"),
561 "right" => array(
562 "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
563 "om_droit", "om_droit_tab", "directory",
564 ),
565 );
566 //
567 $links[] = array(
568 "title" => "<hr/>",
569 "right" => array(
570 "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
571 "om_droit", "om_droit_tab",
572 ),
573 );
574 //
575 $links[] = array(
576 "href" => "../scr/tab.php?obj=om_profil",
577 "class" => "profil",
578 "title" => _("om_profil"),
579 "right" => array("om_profil", "om_profil_tab", ),
580 "open" => array("tab.php|om_profil", "form.php|om_profil", ),
581 );
582 //
583 $links[] = array(
584 "href" => "../scr/tab.php?obj=om_droit",
585 "class" => "droit",
586 "title" => _("om_droit"),
587 "right" => array("om_droit", "om_droit_tab", ),
588 "open" => array("tab.php|om_droit", "form.php|om_droit", ),
589 );
590 //
591 $links[] = array(
592 "href" => "../scr/tab.php?obj=om_utilisateur",
593 "class" => "utilisateur",
594 "title" => _("om_utilisateur"),
595 "right" => array("om_utilisateur", "om_utilisateur_tab", ),
596 "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
597 );
598 //
599 $links[] = array(
600 "title" => "<hr/>",
601 "right" => array("directory", ),
602 "parameters" => array("isDirectoryOptionEnabled" => true, ),
603 );
604 //
605 $links[] = array(
606 "href" => "../scr/directory.php",
607 "class" => "directory",
608 "title" => _("annuaire"),
609 "right" => array("directory", ),
610 "open" => array("directory.php|", ),
611 "parameters" => array("isDirectoryOptionEnabled" => true, ),
612 );
613 //
614 $links[] = array(
615 "class" => "category",
616 "title" => _("tableaux de bord"),
617 "right" => array("om_widget", "om_widget_tab", ),
618 );
619 //
620 $links[] = array(
621 "title" => "<hr/>",
622 "right" => array("om_widget", "om_widget_tab", ),
623 );
624 //
625 $links[] = array(
626 "href" => "../scr/tab.php?obj=om_widget",
627 "class" => "om_widget",
628 "title" => _("widget"),
629 "right" => array("om_widget", "om_widget_tab", ),
630 "open" => array("tab.php|om_widget", "form.php|om_widget", ),
631 );
632 //
633 $links[] = array(
634 "class" => "category",
635 "title" => _("sig"),
636 "right" => array(
637 "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
638 ),
639 );
640 //
641 $links[] = array(
642 "title" => "<hr/>",
643 "right" => array(
644 "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
645 ),
646 );
647 //
648 $links[] = array(
649 "href" => "../scr/tab.php?obj=om_sig_map",
650 "class" => "om_sig_map",
651 "title" => _("om_sig_map"),
652 "right" => array("om_sig_map", "om_sig_map_tab", ),
653 "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
654 );
655 //
656 $links[] = array(
657 "href" => "../scr/tab.php?obj=om_sig_wms",
658 "class" => "om_sig_wms",
659 "title" => _("om_sig_wms"),
660 "right" => array("om_sig_wms", "om_sig_wms_tab", ),
661 "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
662 );
663 //
664 $links[] = array(
665 "class" => "category",
666 "title" => _("options avancees"),
667 "right" => array("import", "gen", ),
668 );
669 //
670 $links[] = array(
671 "title" => "<hr/>",
672 "right" => array("import", ),
673 );
674 //
675 $links[] = array(
676 "href" => "../scr/import.php",
677 "class" => "import",
678 "title" => _("Import"),
679 "right" => array("import", ),
680 "open" => array("import.php|", ),
681 );
682 //
683 $links[] = array(
684 "title" => "<hr/>",
685 "right" => array("gen", ),
686 );
687 //
688 $links[] = array(
689 "title" => _("Generateur"),
690 "href" => "../scr/gen.php",
691 "class" => "generator",
692 "right" => array("gen", ),
693 "open" => array(
694 "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
695 "genetat.php|", "gensousetat.php|", "genlettretype.php|",
696 "genimport.php|",
697 ),
698 );
699 //
700 $rubrik['links'] = $links;
701 //
702 $menu[] = $rubrik;
703 // }}}
704
705 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26