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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 177 - (show annotations)
Wed Oct 5 16:04:37 2011 UTC (13 years, 4 months ago) by fraynaud
File size: 15398 byte(s)
menu 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/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 array_push($links,
426 array(
427 "href" => "../scr/tab.php?obj=parcelle",
428 "class" => "parcelle",
429 "title" => _("parcelle"),
430 "right" => "parcelle"
431 ));
432
433 array_push($links,
434 array(
435 "href" => "../scr/tab.php?obj=proprietaire",
436 "class" => "proprietaire",
437 "title" => _("proprietaire"),
438 "right" => "proprietaire"
439 ));
440
441 array_push($links,
442 array(
443 "href" => "../scr/tab.php?obj=civilite",
444 "class" => "civilite",
445 "title" => _("civilite"),
446 "right" => "civilite"
447 ));
448
449 array_push($links,
450 array(
451 "href" => "../scr/tab.php?obj=pos",
452 "class" => "pos",
453 "title" => _("pos"),
454 "right" => "pos"
455 ));
456
457 array_push($links,
458 array(
459 "href" => "../scr/tab.php?obj=rivoli",
460 "class" => "rivoli",
461 "title" => _("rivoli"),
462 "right" => "rivoli"
463 ));
464
465 // servitudes
466 array_push($links,
467 array(
468 "title" => "<hr/>",
469 "right" => array("servitude_tab", "servitude_tab", "servitude_tab")
470 ));
471 array_push($links,
472 array(
473 "href" => "../scr/tab.php?obj=servitude_surfacique",
474 "class" => "servitude",
475 "title" => _("servitude")." "._("surfacique"),
476 "right" => "servitude"
477 ));
478 array_push($links,
479 array(
480 "href" => "../scr/tab.php?obj=servitude_ligne",
481 "class" => "servitude",
482 "title" => _("servitude")." "._("ligne"),
483 "right" => "servitude"
484 ));
485 array_push($links,
486 array(
487 "href" => "../scr/tab.php?obj=servitude_point",
488 "class" => "servitude",
489 "title" => _("servitude")." "._("point"),
490 "right" => "servitude"
491 ));
492
493 array_push($links,
494 array(
495 "href" => "../scr/tab.php?obj=parcelle_lot",
496 "class" => "parcelle",
497 "title" => _("parcelle")." "._("lot"),
498 "right" => "parcelle_lot"
499 ));
500
501
502 array_push($links,
503 array(
504 "href" => "../scr/tab.php?obj=parametre",
505 "class" => "parametre",
506 "title" => _("parametre")." "._("statistique"),
507 "right" => "parametre"
508 ));
509
510
511 $rubrik['links'] = $links;
512 array_push($menu, $rubrik);
513
514
515
516
517
518 // {{{ Rubrique ADMINISTRATION
519 //
520 $rubrik = array(
521 "title" => _("Administration"),
522 "class" => "administration",
523 "right" => "menu_administration",
524 );
525 //
526 $links = array();
527 array_push($links,
528 array(
529 "href" => "../scr/tab.php?obj=om_collectivite",
530 "class" => "collectivite",
531 "title" => _("om_collectivite"),
532 "right" => "om_collectivite_tab"
533 ));
534 array_push($links,
535 array(
536 "href" => "../scr/tab.php?obj=om_parametre",
537 "class" => "collectivite",
538 "title" => _("om_parametre"),
539 "right" => "om_parametre_tab"
540 ));
541
542
543 array_push($links,
544 array(
545 "title" => "<hr/>",
546 "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")
547 ));
548 array_push($links,
549 array(
550 "href" => "../scr/tab.php?obj=om_profil",
551 "class" => "profil",
552 "title" => _("om_profil"),
553 "right" => "om_profil_tab"
554 ));
555 array_push($links,
556 array(
557 "href" => "../scr/tab.php?obj=om_droit",
558 "class" => "droit",
559 "title" => _("om_droit"),
560 "right" => "om_droit_multi"
561 ));
562 array_push($links,
563 array(
564 "href" => "../scr/tab.php?obj=om_utilisateur",
565 "class" => "utilisateur",
566 "title" => _("om_utilisateur"),
567 "right" => "om_utilisateur_tab"
568 ));
569 array_push($links,
570 array(
571 "title" => "<hr/>",
572 "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),
573 ));
574 array_push($links,
575 array(
576 "href" => "../scr/tab.php?obj=om_etat",
577 "class" => "etat",
578 "title" => _("om_etat"),
579 "right" => "om_etat_tab"
580 ));
581 array_push($links,
582 array(
583 "href" => "../scr/tab.php?obj=om_sousetat",
584 "class" => "sousetat",
585 "title" => _("om_sousetat"),
586 "right" => "om_sousetat_tab"
587 ));
588 array_push($links,
589 array(
590 "href" => "../scr/tab.php?obj=om_lettretype",
591 "class" => "lettretype",
592 "title" => _("om_lettretype"),
593 "right" => "om_lettretype_tab"
594 ));
595 array_push($links,
596 array(
597 "href" => "../scr/tab.php?obj=om_sig_point",
598 "class" => "om_sig_point",
599 "title" => _("om SIG"),
600 "right" => "om_sig_point_tab"
601 ));
602 array_push($links,
603 array(
604 "href" => "../scr/tab.php?obj=om_widget",
605 "class" => "om_widget",
606 "title" => _("widget"),
607 "right" => "om_widget"
608 ));
609 array_push($links,
610 array(
611 "title" => "<hr/>",
612 "right" => array("import"),
613 ));
614 array_push($links,
615 array(
616 "href" => "../scr/import.php",
617 "class" => "import",
618 "title" => _("Import"),
619 "right" => "import"
620 ));
621
622 array_push($links,
623 array(
624 "title" => "<hr/>",
625 "right" => array("gen"),
626 ));
627 array_push($links,
628 array(
629 "title" => _("Generateur"),
630 "href" => "../scr/gen.php",
631 "class" => "generator",
632 "right" => "gen",
633 ));
634 $rubrik['links'] = $links;
635 array_push($menu, $rubrik);
636 // }}}
637
638 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26