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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142 - (show annotations)
Tue Sep 27 14:52:41 2011 UTC (13 years, 4 months ago) by fraynaud
File size: 14988 byte(s)
gestion des lotissements 


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26