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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 196 - (show annotations)
Sat Oct 15 21:07:29 2011 UTC (13 years, 3 months ago) by fraynaud
File size: 15585 byte(s)
modificatif et transfert : zones nouvellement creees (stats shon lotisst 
...)
remarques diverses atreal : cartouche nom, instruction
menu option sig



1 <?php
2 /**
3 * Ce fichier permet de configurer quelles actions vont etre disponibles
4 * dans le menu.
5 *
6 *
7 *
8 * @package openmairie_exemple
9 * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $
10 */
11
12 /**
13 * $menu est le tableau associatif qui contient tout le menu de
14 * l'application, il contient lui meme un tableau par rubrique, puis chaque
15 * rubrique contient un tableau par lien
16 *
17 * Caracteristiques :
18 * --- tableau rubrik
19 * - title [obligatoire]
20 * - description (texte qui s'affiche au survol de la rubrique)
21 * - href (contenu du lien href)
22 * - class (classe css qui s'affiche sur la rubrique)
23 * - right (droit que l'utilisateur doit avoir pour visionner cette rubrique)
24 * - links [obligatoire]
25 *
26 * --- tableau links
27 * - title [obligatoire]
28 * - href [obligatoire] (contenu du lien href)
29 * - class (classe css qui s'affiche sur l'element)
30 * - right (droit que l'utilisateur doit avoir pour visionner cet element)
31 * - target (pour ouvrir le lien dans une nouvelle fenetre)
32 */
33 $menu = array();
34
35 // {{{ Rubrique application
36 // inserer ici vos tables principales
37
38 $rubrik = array(
39 "title" => _("Instruction"),
40 "class" => "application",
41 "right" => "menu_application",
42 );
43 $links = array();
44 // *** APPLICATION ***
45 // inserez ici les tables de votra application
46 // ========================================================================
47 /*
48 array_push($links,
49 array(
50 "href" => "../scr/tab.php?obj=nom_table",
51 "class" => "nom_table",
52 "title" => _("nom_table"),
53 "right" => "nom_table"
54 ));
55 */
56 // ========================================================================
57
58
59 array_push($links,
60 array(
61 "href" => "../scr/tab.php?obj=PC",
62 "class" => "dossier",
63 "title" => _("PC"),
64 "right" => "dossier"
65 ));
66
67 array_push($links,
68 array(
69 "href" => "../scr/tab.php?obj=DP",
70 "class" => "dossier",
71 "title" => _("DP"),
72 "right" => "dossier"
73 ));
74
75
76 array_push($links,
77 array(
78 "href" => "../scr/tab.php?obj=PD",
79 "class" => "dossier",
80 "title" => _("PD"),
81 "right" => "dossier"
82 ));
83
84 array_push($links,
85 array(
86 "href" => "../scr/tab.php?obj=PA",
87 "class" => "dossier",
88 "title" => _("PA"),
89 "right" => "dossier"
90 ));
91
92 array_push($links,
93 array(
94 "title" => "<hr/>",
95 "right" => array("gen"),
96 ));
97
98 array_push($links,
99 array(
100 "href" => "../scr/tab.php?obj=PC_accueil",
101 "class" => "dossier",
102 "title" => _("PC - accueil"),
103 "right" => "dossier"
104 ));
105
106 array_push($links,
107 array(
108 "href" => "../scr/tab.php?obj=DP_accueil",
109 "class" => "dossier",
110 "title" => _("DP - accueil"),
111 "right" => "dossier"
112 ));
113
114
115 array_push($links,
116 array(
117 "href" => "../scr/tab.php?obj=PD_accueil",
118 "class" => "dossier",
119 "title" => _("PD - accueil"),
120 "right" => "dossier"
121 ));
122
123 array_push($links,
124 array(
125 "href" => "../scr/tab.php?obj=PA_accueil",
126 "class" => "dossier",
127 "title" => _("PA - accueil"),
128 "right" => "dossier"
129 ));
130 array_push($links,
131 array(
132 "title" => "<hr/>",
133 "right" => array("gen"),
134 ));
135
136 array_push($links,
137 array(
138 "href" => "../app/recherchedossier.php",
139 "class" => "dossier",
140 "title" => _("Recherche dossier"),
141 "right" => "recherchedossier"
142 ));
143
144 $rubrik['links'] = $links;
145 array_push($menu, $rubrik);
146
147 // {{{ Rubrique EXPORT
148 $rubrik = array(
149 "title" => _("Export"),
150 "class" => "edition",
151 "right" => "menu_export",
152 );
153
154 $links = array();
155 array_push($links,
156 array(
157 "href" => "../scr/edition.php",
158 "class" => "edition",
159 "title" => _("Edition"),
160 "right" => "edition"
161 ));
162 array_push($links,
163 array(
164 "href" => "../app/edition_p.php",
165 "class" => "edition",
166 "title" => _("Edition date depot"),
167 "right" => "edition"
168 ));
169
170 array_push($links,
171 array(
172 "href" => "../app/edition_d.php",
173 "class" => "edition",
174 "title" => _("Edition date decision"),
175 "right" => "edition"
176 ));
177
178 array_push($links,
179 array(
180 "title" => "<hr/>",
181 "right" => array("reqmo", "export_pc_tab", "export_dp_tab", "export_sitadel_tab")
182 ));
183
184 array_push($links,
185 array(
186 "href" => "../scr/reqmo.php",
187 "class" => "reqmo",
188 "title" => _("Requetes memorisees"),
189 "right" => "reqmo"
190 ));
191
192 array_push($links,
193 array(
194 "href" => "../app/export_pc.php",
195 "class" => "reqmo",
196 "title" => _("export PC Lascot"),
197 "right" => "ecport_pc"
198 ));
199
200 array_push($links,
201 array(
202 "href" => "../app/export_dp.php",
203 "class" => "reqmo",
204 "title" => _("export DP Lascot"),
205 "right" => "export_dp"
206 ));
207
208 array_push($links,
209 array(
210 "href" => "../app/export_sitadel.php",
211 "class" => "reqmo",
212 "title" => _("export sitadel"),
213 "right" => "export_sitadel"
214 ));
215
216 array_push($links,
217 array(
218 "href" => "../app/sitadel.php",
219 "class" => "reqmo",
220 "title" => _("export")._("sitadel")." 2",
221 "right" => "export_sitadel"
222 ));
223
224
225 $rubrik['links'] = $links;
226 array_push($menu, $rubrik);
227 // }}}
228
229 // {{{ Rubrique TRAITEMENT
230
231 $rubrik = array(
232 "title" => _("Traitement"),
233 "class" => "traitement",
234 "right" => "menu_traitement",
235 );
236 $links = array();
237 // *** TRAITEMENT ***
238 // inserez le lien d acces au traitement
239 // ========================================================================
240 /*
241 array_push($links,
242 array(
243 "href" => "../trt/nom_du_traitement.php",
244 "class" => "traitement",
245 "title" => _("Traitement"),
246 "right" => "traitement"
247 ));
248 */
249 // ========================================================================
250 array_push($links,
251 array(
252 "href" => "../scr/form.php?obj=dossier_numeromanuel",
253 "class" => "traitement",
254 "title" => _("numero manuel"),
255 "right" => "traitement"
256 ));
257
258 array_push($links,
259 array(
260 "href" => "../scr/tab.php?obj=PC_modificatif",
261 "class" => "traitement",
262 "title" => _("modificatif transfert"),
263 "right" => "traitement"
264 ));
265
266 array_push($links,
267 array(
268 "href" => "../app/num_dossier.php",
269 "class" => "traitement",
270 "title" => _("remise a 0"),
271 "right" => "traitement"
272 ));
273
274 $rubrik['links'] = $links;
275 array_push($menu, $rubrik);
276 // }}}
277
278
279
280 // {{{ Rubrique parametrage de l'application
281
282 $rubrik = array(
283 "title" => _("Parametrage"),
284 "class" => "parametrage",
285 "right" => "menu_parametrage",
286 );
287 $links = array();
288 // *** TABLES DE PARAMETRAGE ***
289 // inserer ici vos tables de parametres
290 // ========================================================================
291 /*
292 array_push($links,
293 array(
294 "href" => "../scr/tab.php?obj=nom_table",
295 "class" => "nom_table",
296 "title" => _("nom_table"),
297 "right" => "nom_table"
298 ));
299 */
300 // ========================================================================
301
302
303 // param gaux
304
305 array_push($links,
306 array(
307 "href" => "../scr/tab.php?obj=architecte",
308 "class" => "architecte",
309 "title" => _("architecte"),
310 "right" => "architecte"
311 ));
312
313
314
315 array_push($links,
316 array(
317 "href" => "../scr/tab.php?obj=service",
318 "class" => "service",
319 "title" => _("service"),
320 "right" => "service"
321 ));
322
323 array_push($links,
324 array(
325 "href" => "../scr/tab.php?obj=travaux",
326 "class" => "travaux",
327 "title" => _("travaux"),
328 "right" => "travaux"
329 ));
330
331 array_push($links,
332 array(
333 "href" => "../scr/tab.php?obj=regle",
334 "class" => "regle",
335 "title" => _("regle"),
336 "right" => "regle"
337 ));
338
339 array_push($links,
340 array(
341 "href" => "../scr/tab.php?obj=categorie_demandeur",
342 "class" => "categorie_demandeur",
343 "title" => _("categorie_demandeur"),
344 "right" => "categorie_demandeur"
345 ));
346
347 array_push($links,
348 array(
349 "href" => "../scr/tab.php?obj=destination",
350 "class" => "destination",
351 "title" => _("destination"),
352 "right" => "destination"
353 ));
354
355 array_push($links,
356 array(
357 "href" => "../scr/tab.php?obj=nature",
358 "class" => "nature",
359 "title" => _("nature"),
360 "right" => "nature"
361 ));
362
363 // workflows
364 array_push($links,
365 array(
366 "title" => "<hr/>",
367 "right" => array("action_tab", "transition_tab", "etat_tab",
368 "evenement_tab", "bible", "avis")
369 ));
370
371 array_push($links,
372 array(
373 "href" => "../scr/tab.php?obj=action",
374 "class" => "action",
375 "title" => _("action"),
376 "right" => "action"
377 ));
378
379 array_push($links,
380 array(
381 "href" => "../scr/tab.php?obj=transition",
382 "class" => "transition",
383 "title" => _("transition"),
384 "right" => "transition"
385 ));
386
387 array_push($links,
388 array(
389 "href" => "../scr/tab.php?obj=etat",
390 "class" => "etat",
391 "title" => _("etat"),
392 "right" => "etat"
393 ));
394
395 array_push($links,
396 array(
397 "href" => "../scr/tab.php?obj=evenement",
398 "class" => "evenement",
399 "title" => _("evenement"),
400 "right" => "evenement"
401 ));
402
403 array_push($links,
404 array(
405 "href" => "../scr/tab.php?obj=bible",
406 "class" => "bible",
407 "title" => _("bible"),
408 "right" => "bible"
409 ));
410
411 array_push($links,
412 array(
413 "href" => "../scr/tab.php?obj=avis",
414 "class" => "avis",
415 "title" => _("avis"),
416 "right" => "avis"
417 ));
418
419 // cadastre interne
420 array_push($links,
421 array(
422 "title" => "<hr/>",
423 "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")
424 ));
425
426 array_push($links,
427 array(
428 "href" => "../scr/tab.php?obj=civilite",
429 "class" => "civilite",
430 "title" => _("civilite"),
431 "right" => "civilite"
432 ));
433
434
435
436
437 array_push($links,
438 array(
439 "href" => "../scr/tab.php?obj=parametre",
440 "class" => "parametre",
441 "title" => _("parametre")." "._("statistique"),
442 "right" => "parametre"
443 ));
444
445
446 $rubrik['links'] = $links;
447 array_push($menu, $rubrik);
448
449 // sig
450
451 $rubrik = array(
452 "title" => _("SIG"),
453 "class" => "sig",
454 "right" => "menu_sig",
455 );
456 $links = array();
457 array_push($links,
458 array(
459 "href" => "../scr/tab.php?obj=parcelle",
460 "class" => "parcelle",
461 "title" => _("parcelle"),
462 "right" => "parcelle"
463 ));
464
465 array_push($links,
466 array(
467 "href" => "../scr/tab.php?obj=proprietaire",
468 "class" => "proprietaire",
469 "title" => _("proprietaire"),
470 "right" => "proprietaire"
471 ));
472
473
474 array_push($links,
475 array(
476 "href" => "../scr/tab.php?obj=rivoli",
477 "class" => "rivoli",
478 "title" => _("rivoli"),
479 "right" => "rivoli"
480 ));
481
482 // servitudes
483 array_push($links,
484 array(
485 "title" => "<hr/>",
486 "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")
487 ));
488 array_push($links,
489 array(
490 "href" => "../scr/tab.php?obj=pos",
491 "class" => "pos",
492 "title" => _("pos"),
493 "right" => "pos"
494 ));
495 array_push($links,
496 array(
497 "href" => "../scr/tab.php?obj=servitude_surfacique",
498 "class" => "servitude",
499 "title" => _("servitude")." "._("surfacique"),
500 "right" => "servitude"
501 ));
502 array_push($links,
503 array(
504 "href" => "../scr/tab.php?obj=servitude_ligne",
505 "class" => "servitude",
506 "title" => _("servitude")." "._("ligne"),
507 "right" => "servitude"
508 ));
509 array_push($links,
510 array(
511 "href" => "../scr/tab.php?obj=servitude_point",
512 "class" => "servitude",
513 "title" => _("servitude")." "._("point"),
514 "right" => "servitude"
515 ));
516
517 array_push($links,
518 array(
519 "href" => "../scr/tab.php?obj=parcelle_lot",
520 "class" => "parcelle",
521 "title" => _("parcelle")." "._("lot"),
522 "right" => "parcelle_lot"
523 ));
524 $rubrik['links'] = $links;
525 array_push($menu, $rubrik);
526
527
528
529 // {{{ Rubrique ADMINISTRATION
530 //
531 $rubrik = array(
532 "title" => _("Administration"),
533 "class" => "administration",
534 "right" => "menu_administration",
535 );
536 //
537 $links = array();
538 array_push($links,
539 array(
540 "href" => "../scr/tab.php?obj=om_collectivite",
541 "class" => "collectivite",
542 "title" => _("om_collectivite"),
543 "right" => "om_collectivite_tab"
544 ));
545 array_push($links,
546 array(
547 "href" => "../scr/tab.php?obj=om_parametre",
548 "class" => "collectivite",
549 "title" => _("om_parametre"),
550 "right" => "om_parametre_tab"
551 ));
552
553
554 array_push($links,
555 array(
556 "title" => "<hr/>",
557 "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")
558 ));
559 array_push($links,
560 array(
561 "href" => "../scr/tab.php?obj=om_profil",
562 "class" => "profil",
563 "title" => _("om_profil"),
564 "right" => "om_profil_tab"
565 ));
566 array_push($links,
567 array(
568 "href" => "../scr/tab.php?obj=om_droit",
569 "class" => "droit",
570 "title" => _("om_droit"),
571 "right" => "om_droit_multi"
572 ));
573 array_push($links,
574 array(
575 "href" => "../scr/tab.php?obj=om_utilisateur",
576 "class" => "utilisateur",
577 "title" => _("om_utilisateur"),
578 "right" => "om_utilisateur_tab"
579 ));
580 array_push($links,
581 array(
582 "title" => "<hr/>",
583 "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),
584 ));
585 array_push($links,
586 array(
587 "href" => "../scr/tab.php?obj=om_etat",
588 "class" => "etat",
589 "title" => _("om_etat"),
590 "right" => "om_etat_tab"
591 ));
592 array_push($links,
593 array(
594 "href" => "../scr/tab.php?obj=om_sousetat",
595 "class" => "sousetat",
596 "title" => _("om_sousetat"),
597 "right" => "om_sousetat_tab"
598 ));
599 array_push($links,
600 array(
601 "href" => "../scr/tab.php?obj=om_lettretype",
602 "class" => "lettretype",
603 "title" => _("om_lettretype"),
604 "right" => "om_lettretype_tab"
605 ));
606 array_push($links,
607 array(
608 "href" => "../scr/tab.php?obj=om_sig_point",
609 "class" => "om_sig_point",
610 "title" => _("om SIG"),
611 "right" => "om_sig_point_tab"
612 ));
613 array_push($links,
614 array(
615 "href" => "../scr/tab.php?obj=om_widget",
616 "class" => "om_widget",
617 "title" => _("widget"),
618 "right" => "om_widget"
619 ));
620 array_push($links,
621 array(
622 "title" => "<hr/>",
623 "right" => array("import"),
624 ));
625 array_push($links,
626 array(
627 "href" => "../scr/import.php",
628 "class" => "import",
629 "title" => _("Import"),
630 "right" => "import"
631 ));
632
633 array_push($links,
634 array(
635 "title" => "<hr/>",
636 "right" => array("gen"),
637 ));
638 array_push($links,
639 array(
640 "title" => _("Generateur"),
641 "href" => "../scr/gen.php",
642 "class" => "generator",
643 "right" => "gen",
644 ));
645 $rubrik['links'] = $links;
646 array_push($menu, $rubrik);
647 // }}}
648
649 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26