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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 200 - (show annotations)
Mon Oct 17 07:31:00 2011 UTC (13 years, 3 months ago) by fraynaud
File size: 15387 byte(s)
correction des reqmo
acces servitude_point.php
mise au pt sitadel


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/sitadel.php",
211 "class" => "reqmo",
212 "title" => _("export")._("sitadel")." 2",
213 "right" => "export_sitadel"
214 ));
215
216
217 $rubrik['links'] = $links;
218 array_push($menu, $rubrik);
219 // }}}
220
221 // {{{ Rubrique TRAITEMENT
222
223 $rubrik = array(
224 "title" => _("Traitement"),
225 "class" => "traitement",
226 "right" => "menu_traitement",
227 );
228 $links = array();
229 // *** TRAITEMENT ***
230 // inserez le lien d acces au traitement
231 // ========================================================================
232 /*
233 array_push($links,
234 array(
235 "href" => "../trt/nom_du_traitement.php",
236 "class" => "traitement",
237 "title" => _("Traitement"),
238 "right" => "traitement"
239 ));
240 */
241 // ========================================================================
242 array_push($links,
243 array(
244 "href" => "../scr/form.php?obj=dossier_numeromanuel",
245 "class" => "traitement",
246 "title" => _("numero manuel"),
247 "right" => "traitement"
248 ));
249
250 array_push($links,
251 array(
252 "href" => "../scr/tab.php?obj=PC_modificatif",
253 "class" => "traitement",
254 "title" => _("modificatif transfert"),
255 "right" => "traitement"
256 ));
257
258 array_push($links,
259 array(
260 "href" => "../app/num_dossier.php",
261 "class" => "traitement",
262 "title" => _("remise a 0"),
263 "right" => "traitement"
264 ));
265
266 $rubrik['links'] = $links;
267 array_push($menu, $rubrik);
268 // }}}
269
270
271
272 // {{{ Rubrique parametrage de l'application
273
274 $rubrik = array(
275 "title" => _("Parametrage"),
276 "class" => "parametrage",
277 "right" => "menu_parametrage",
278 );
279 $links = array();
280 // *** TABLES DE PARAMETRAGE ***
281 // inserer ici vos tables de parametres
282 // ========================================================================
283 /*
284 array_push($links,
285 array(
286 "href" => "../scr/tab.php?obj=nom_table",
287 "class" => "nom_table",
288 "title" => _("nom_table"),
289 "right" => "nom_table"
290 ));
291 */
292 // ========================================================================
293
294
295 // param gaux
296
297 array_push($links,
298 array(
299 "href" => "../scr/tab.php?obj=architecte",
300 "class" => "architecte",
301 "title" => _("architecte"),
302 "right" => "architecte"
303 ));
304
305
306
307 array_push($links,
308 array(
309 "href" => "../scr/tab.php?obj=service",
310 "class" => "service",
311 "title" => _("service"),
312 "right" => "service"
313 ));
314
315 array_push($links,
316 array(
317 "href" => "../scr/tab.php?obj=travaux",
318 "class" => "travaux",
319 "title" => _("travaux"),
320 "right" => "travaux"
321 ));
322
323 array_push($links,
324 array(
325 "href" => "../scr/tab.php?obj=regle",
326 "class" => "regle",
327 "title" => _("regle"),
328 "right" => "regle"
329 ));
330
331 array_push($links,
332 array(
333 "href" => "../scr/tab.php?obj=categorie_demandeur",
334 "class" => "categorie_demandeur",
335 "title" => _("categorie_demandeur"),
336 "right" => "categorie_demandeur"
337 ));
338
339 array_push($links,
340 array(
341 "href" => "../scr/tab.php?obj=destination",
342 "class" => "destination",
343 "title" => _("destination"),
344 "right" => "destination"
345 ));
346
347 array_push($links,
348 array(
349 "href" => "../scr/tab.php?obj=nature",
350 "class" => "nature",
351 "title" => _("nature"),
352 "right" => "nature"
353 ));
354
355 // workflows
356 array_push($links,
357 array(
358 "title" => "<hr/>",
359 "right" => array("action_tab", "transition_tab", "etat_tab",
360 "evenement_tab", "bible", "avis")
361 ));
362
363 array_push($links,
364 array(
365 "href" => "../scr/tab.php?obj=action",
366 "class" => "action",
367 "title" => _("action"),
368 "right" => "action"
369 ));
370
371 array_push($links,
372 array(
373 "href" => "../scr/tab.php?obj=transition",
374 "class" => "transition",
375 "title" => _("transition"),
376 "right" => "transition"
377 ));
378
379 array_push($links,
380 array(
381 "href" => "../scr/tab.php?obj=etat",
382 "class" => "etat",
383 "title" => _("etat"),
384 "right" => "etat"
385 ));
386
387 array_push($links,
388 array(
389 "href" => "../scr/tab.php?obj=evenement",
390 "class" => "evenement",
391 "title" => _("evenement"),
392 "right" => "evenement"
393 ));
394
395 array_push($links,
396 array(
397 "href" => "../scr/tab.php?obj=bible",
398 "class" => "bible",
399 "title" => _("bible"),
400 "right" => "bible"
401 ));
402
403 array_push($links,
404 array(
405 "href" => "../scr/tab.php?obj=avis",
406 "class" => "avis",
407 "title" => _("avis"),
408 "right" => "avis"
409 ));
410
411 // cadastre interne
412 array_push($links,
413 array(
414 "title" => "<hr/>",
415 "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")
416 ));
417
418 array_push($links,
419 array(
420 "href" => "../scr/tab.php?obj=civilite",
421 "class" => "civilite",
422 "title" => _("civilite"),
423 "right" => "civilite"
424 ));
425
426
427
428
429 array_push($links,
430 array(
431 "href" => "../scr/tab.php?obj=parametre",
432 "class" => "parametre",
433 "title" => _("parametre")." "._("statistique"),
434 "right" => "parametre"
435 ));
436
437
438 $rubrik['links'] = $links;
439 array_push($menu, $rubrik);
440
441 // sig
442
443 $rubrik = array(
444 "title" => _("SIG"),
445 "class" => "sig",
446 "right" => "menu_sig",
447 );
448 $links = array();
449 array_push($links,
450 array(
451 "href" => "../scr/tab.php?obj=parcelle",
452 "class" => "parcelle",
453 "title" => _("parcelle"),
454 "right" => "parcelle"
455 ));
456
457 array_push($links,
458 array(
459 "href" => "../scr/tab.php?obj=proprietaire",
460 "class" => "proprietaire",
461 "title" => _("proprietaire"),
462 "right" => "proprietaire"
463 ));
464
465
466 array_push($links,
467 array(
468 "href" => "../scr/tab.php?obj=rivoli",
469 "class" => "rivoli",
470 "title" => _("rivoli"),
471 "right" => "rivoli"
472 ));
473
474 // servitudes
475 array_push($links,
476 array(
477 "title" => "<hr/>",
478 "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")
479 ));
480 array_push($links,
481 array(
482 "href" => "../scr/tab.php?obj=pos",
483 "class" => "pos",
484 "title" => _("pos"),
485 "right" => "pos"
486 ));
487 array_push($links,
488 array(
489 "href" => "../scr/tab.php?obj=servitude_surfacique",
490 "class" => "servitude",
491 "title" => _("servitude")." "._("surfacique"),
492 "right" => "servitude"
493 ));
494 array_push($links,
495 array(
496 "href" => "../scr/tab.php?obj=servitude_ligne",
497 "class" => "servitude",
498 "title" => _("servitude")." "._("ligne"),
499 "right" => "servitude"
500 ));
501 array_push($links,
502 array(
503 "href" => "../scr/tab.php?obj=servitude_point",
504 "class" => "servitude",
505 "title" => _("servitude")." "._("point"),
506 "right" => "servitude"
507 ));
508
509 array_push($links,
510 array(
511 "href" => "../scr/tab.php?obj=parcelle_lot",
512 "class" => "parcelle",
513 "title" => _("parcelle")." "._("lot"),
514 "right" => "parcelle_lot"
515 ));
516 $rubrik['links'] = $links;
517 array_push($menu, $rubrik);
518
519
520
521 // {{{ Rubrique ADMINISTRATION
522 //
523 $rubrik = array(
524 "title" => _("Administration"),
525 "class" => "administration",
526 "right" => "menu_administration",
527 );
528 //
529 $links = array();
530 array_push($links,
531 array(
532 "href" => "../scr/tab.php?obj=om_collectivite",
533 "class" => "collectivite",
534 "title" => _("om_collectivite"),
535 "right" => "om_collectivite_tab"
536 ));
537 array_push($links,
538 array(
539 "href" => "../scr/tab.php?obj=om_parametre",
540 "class" => "collectivite",
541 "title" => _("om_parametre"),
542 "right" => "om_parametre_tab"
543 ));
544
545
546 array_push($links,
547 array(
548 "title" => "<hr/>",
549 "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")
550 ));
551 array_push($links,
552 array(
553 "href" => "../scr/tab.php?obj=om_profil",
554 "class" => "profil",
555 "title" => _("om_profil"),
556 "right" => "om_profil_tab"
557 ));
558 array_push($links,
559 array(
560 "href" => "../scr/tab.php?obj=om_droit",
561 "class" => "droit",
562 "title" => _("om_droit"),
563 "right" => "om_droit_multi"
564 ));
565 array_push($links,
566 array(
567 "href" => "../scr/tab.php?obj=om_utilisateur",
568 "class" => "utilisateur",
569 "title" => _("om_utilisateur"),
570 "right" => "om_utilisateur_tab"
571 ));
572 array_push($links,
573 array(
574 "title" => "<hr/>",
575 "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),
576 ));
577 array_push($links,
578 array(
579 "href" => "../scr/tab.php?obj=om_etat",
580 "class" => "etat",
581 "title" => _("om_etat"),
582 "right" => "om_etat_tab"
583 ));
584 array_push($links,
585 array(
586 "href" => "../scr/tab.php?obj=om_sousetat",
587 "class" => "sousetat",
588 "title" => _("om_sousetat"),
589 "right" => "om_sousetat_tab"
590 ));
591 array_push($links,
592 array(
593 "href" => "../scr/tab.php?obj=om_lettretype",
594 "class" => "lettretype",
595 "title" => _("om_lettretype"),
596 "right" => "om_lettretype_tab"
597 ));
598 array_push($links,
599 array(
600 "href" => "../scr/tab.php?obj=om_sig_point",
601 "class" => "om_sig_point",
602 "title" => _("om SIG"),
603 "right" => "om_sig_point_tab"
604 ));
605 array_push($links,
606 array(
607 "href" => "../scr/tab.php?obj=om_widget",
608 "class" => "om_widget",
609 "title" => _("widget"),
610 "right" => "om_widget"
611 ));
612 array_push($links,
613 array(
614 "title" => "<hr/>",
615 "right" => array("import"),
616 ));
617 array_push($links,
618 array(
619 "href" => "../scr/import.php",
620 "class" => "import",
621 "title" => _("Import"),
622 "right" => "import"
623 ));
624
625 array_push($links,
626 array(
627 "title" => "<hr/>",
628 "right" => array("gen"),
629 ));
630 array_push($links,
631 array(
632 "title" => _("Generateur"),
633 "href" => "../scr/gen.php",
634 "class" => "generator",
635 "right" => "gen",
636 ));
637 $rubrik['links'] = $links;
638 array_push($menu, $rubrik);
639 // }}}
640
641 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26