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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10 by fraynaud, Mon Feb 14 20:04:45 2011 UTC revision 555 by vpihour, Tue Oct 30 14:05:14 2012 UTC
# Line 3  Line 3 
3   * Ce fichier permet de configurer quelles actions vont etre disponibles   * Ce fichier permet de configurer quelles actions vont etre disponibles
4   * dans le menu.   * dans le menu.
5   *   *
  *  
  *  
6   * @package openmairie_exemple   * @package openmairie_exemple
7   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $
8   */   */
9    
10  /**  //
  * $menu est le tableau associatif qui contient tout le menu de  
  * l'application, il contient lui meme un tableau par rubrique, puis chaque  
  * rubrique contient un tableau par lien  
  *  
  * Caracteristiques :  
  * --- tableau rubrik  
  *     - title [obligatoire]  
  *     - description (texte qui s'affiche au survol de la rubrique)  
  *     - href (contenu du lien href)  
  *     - class (classe css qui s'affiche sur la rubrique)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cette rubrique)  
  *     - links [obligatoire]  
  *  
  * --- tableau links  
  *     - title [obligatoire]  
  *     - href [obligatoire] (contenu du lien href)  
  *     - class (classe css qui s'affiche sur l'element)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cet element)  
  *     - target (pour ouvrir le lien dans une nouvelle fenetre)  
  */  
11  $menu = array();  $menu = array();
12    
13  // {{{  Rubrique application  // {{{ Rubrique APPLICATION
14  // inserer ici vos tables principales  //
   
15  $rubrik = array(  $rubrik = array(
16      "title" => _("Application"),      "title" => _("instruction"),
17      "class" => "application",      "class" => "application",
18      "right" => "menu_application",      "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    $links[] = array(
121        "class" => "category",
122        "title" => _("Consultation"),
123        "right" => array("consultation_mes_retours", "consultation_tous_retours","avis_code_barre"),
124    );
125    $links[] = array(
126        "title" => "<hr/>",
127        "right" => array("consultation_mes_retours", "consultation_tous_retours","avis_code_barre"),
128    );
129    $links[] = array(
130        "href" => "../scr/tab.php?obj=consultation_mes_retours",
131        "class" => "consultation_mes_retours",
132        "title" => _("Mes retours"),
133        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
134        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
135    );
136    $links[] = array(
137        "href" => "../scr/tab.php?obj=consultation_tous_retours",
138        "class" => "consultation_tous_retours",
139        "title" => _("Tous les retours"),
140        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
141        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
142    );
143    $links[] = array(
144        "href" => "../app/avis_code_barre.php",
145        "class" => "avis_code_barre",
146        "title" => _("Retour de consultation"),
147        "right" => array("avis_code_barre", ),
148        "open" => array("avis_code_barre.php|"),
149    );
150    //
151    $rubrik['links'] = $links;
152    //
153    $menu[] = $rubrik;
154    // }}}
155    
156    
157    // {{{ Rubrique Demandes d'avis
158    //
159    $rubrik = array(
160        "title" => _("Demandes d'avis"),
161        "class" => "demande_avis",
162    );
163    //
164  $links = array();  $links = array();
165  // *** APPLICATION ***  //
166  // inserez ici les tables de votra application  $links[] = array(
167  // ========================================================================      "href" => "../scr/tab.php?obj=demande_encours",
168  /*      "class" => "demande_encours",
169    array_push($links,      "title" => _("Demandes en cours"),
170      array(      "right" => array("demande_encours", "demande_encours_tab", ),
171          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|demande_encours", "form.php|demande_encours", ),
172          "class" => "nom_table",  );
         "title" => _("nom_table"),  
         "right" => "nom_table"  
     ));  
 */  
 // ========================================================================  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=dossier",  
         "class" => "dossier",  
         "title" => _("dossier"),  
         "right" => "dossier"  
     ));  
173    
174    $links[] = array(
175        "href" => "../scr/tab.php?obj=demande_passee",
176        "class" => "demande_passee",
177        "title" => _("Demandes passees"),
178        "right" => array("demande_passee", "demande_passee_tab", ),
179        "open" => array("tab.php|demande_passee", "form.php|demande_passee", ),
180    );
181    
182    $links[] = array(
183        "href" => "../scr/tab.php?obj=demande_export",
184        "class" => "demande_export",
185        "title" => _("Exports"),
186        "right" => array("demande_export", "demande_export_tab", ),
187        "open" => array("tab.php|demande_export", "form.php|demande_export", ),
188    );
189    
190    //
191  $rubrik['links'] = $links;  $rubrik['links'] = $links;
192  array_push($menu, $rubrik);  //
193    $menu[] = $rubrik;
194    // }}}
195    
196    
197    
198  // {{{ Rubrique EXPORT  // {{{ Rubrique EXPORT
199    //
200  $rubrik = array(  $rubrik = array(
201      "title" => _("Export"),      "title" => _("export"),
202      "class" => "edition",      "class" => "edition",
203      "right" => "menu_export",      "right" => "menu_export",
204  );  );
205    //
206  $links = array();  $links = array();
207  array_push($links,  //
208      array(  $links[] = array(
209          "href" => "../scr/edition.php",      "href" => "../scr/edition.php",
210          "class" => "edition",      "class" => "edition",
211          "title" => _("Edition"),      "title" => _("edition"),
212          "right" => "edition"      "right" => "edition",
213      ));      "open" => "edition.php|",
214  array_push($links,  );
215      array(  //
216          "href" => "../scr/reqmo.php",  $links[] = array(
217          "class" => "reqmo",      "href" => "../app/edition_p.php",
218          "title" => _("Requetes memorisees"),      "class" => "edition",
219          "right" => "reqmo"      "title" => _("edition date depot"),
220      ));      "right" => "edition_p",
221        "open" => "edition_p.php|",
222    );
223    //
224    $links[] = array(
225        "href" => "../app/edition_d.php",
226        "class" => "edition",
227        "title" => _("edition date decision"),
228        "right" => "edition_d",
229        "open" => "edition_d.php|",
230    );
231    //
232    $links[] = array(
233        "title" => "<hr/>",
234        "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
235    );
236    //
237    $links[] = array(
238        "href" => "../scr/reqmo.php",
239        "class" => "reqmo",
240        "title" => _("requetes memorisees"),
241        "right" => "reqmo",
242        "open" => array("reqmo.php|", "requeteur.php|", ),
243    );
244    //
245    $links[] = array(
246        "href" => "../app/export_pc.php",
247        "class" => "reqmo",
248        "title" => _("export PC Lascot"),
249        "right" => "export_pc",
250        "open" => "export_pc.php|",
251    );
252    //
253    $links[] = array(
254        "href" => "../app/export_dp.php",
255        "class" => "reqmo",
256        "title" => _("export DP Lascot"),
257        "right" => "export_dp",
258        "open" => "export_dp.php|",
259    );
260    //
261    $links[] = array(
262        "href" => "../app/sitadel.php",
263        "class" => "reqmo",
264        "title" => _("export sitadel")." 2",
265        "right" => "export_sitadel",
266        "open" => "sitadel.php|",
267    );
268    //
269  $rubrik['links'] = $links;  $rubrik['links'] = $links;
270  array_push($menu, $rubrik);  //
271    $menu[] = $rubrik;
272  // }}}  // }}}
273    
274  // {{{ Rubrique TRAITEMENT  // {{{ Rubrique PARAMETRAGE
275    //
276  $rubrik = array(  $rubrik = array(
277      "title" => _("Traitement"),      "title" => _("parametrage"),
278      "class" => "traitement",      "class" => "parametrage",
279      "right" => "menu_traitement",      "right" => "menu_parametrage",
280  );  );
281    //
282  $links = array();  $links = array();
283  // *** TRAITEMENT ***  //
284  // inserez le lien d acces au traitement  // GENERAUX
285  // ========================================================================  $links[] = array(
286  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
287   array_push($links,      "class" => "traitement",
288      array(      "title" => _("numero manuel"),
289          "href" => "../trt/nom_du_traitement.php",      "right" => "dossier_numeromanuel",
290          "class" => "traitement",      "open" => "|dossier_numeromanuel",
291          "title" => _("Traitement"),  );
292          "right" => "traitement"  //
293      ));  $links[] = array(
294  */      "href" => "../app/num_dossier.php",
295  // ========================================================================      "class" => "traitement",
296        "title" => _("remise a 0"),
297        "right" => "num_dossier",
298        "open" => "num_dossier.php|",
299    );
300    //
301    $links[] = array(
302        "title" => "<hr/>",
303        "right" => array(
304            "architecte", "architecte_tab", "service", "service_tab", "instructeur", "instructeur_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
305            "lien_localisation_nature", "lien_localisation_nature_tab",
306             "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
307            "destination", "destination_tab", "nature", "nature_tab", "rivoli",
308            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
309        ),
310    );
311    //
312    $links[] = array(
313        "href" => "../scr/tab.php?obj=architecte",
314        "class" => "architecte",
315        "title" => _("architecte"),
316        "right" => array("architecte", "architecte_tab", ),
317        "open" => array("tab.php|architecte", "form.php|architecte", ),
318    );
319    //
320    $links[] = array(
321        "href" => "../scr/tab.php?obj=service",
322        "class" => "service",
323        "title" => _("service"),
324        "right" => array("service", "service_tab", ),
325        "open" => array("tab.php|service", "form.php|service", ),
326    );
327    $links[] = array(
328        "href" => "../scr/tab.php?obj=service_categorie",
329        "class" => "service_categorie",
330        "title" => _("thematique des services"),
331        "right" => array("service_categorie", "service_categorie_tab", ),
332        "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
333    );
334    $links[] = array(
335        "href" => "../scr/tab.php?obj=lien_service_service_categorie",
336        "class" => "lien_service_service_categorie",
337        "title" => _("Lien service / thematique"),
338        "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
339        "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
340    );
341    //
342    $links[] = array(
343        "href" => "../scr/tab.php?obj=instructeur",
344        "class" => "instructeur",
345        "title" => _("instructeur"),
346        "right" => array("instructeur", "instructeur_tab", ),
347        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
348    );
349    //
350    $links[] = array(
351        "href" => "../scr/tab.php?obj=lien_localisation_nature",
352        "class" => "lien_localisation_nature",
353        "title" => _("Lien instructeur / localisation / type de dossier"),
354        "right" => array("lien_localisation_nature", "lien_localisation_nature_tab", ),
355        "open" => array("tab.php|lien_localisation_nature", "form.php|lien_localisation_nature", ),
356    );
357    //
358    $links[] = array(
359        "href" => "../scr/tab.php?obj=travaux",
360        "class" => "travaux",
361        "title" => _("travaux"),
362        "right" => array("travaux", "travaux_tab", ),
363        "open" => array("tab.php|travaux", "form.php|travaux", ),
364    );
365    //
366    $links[] = array(
367        "href" => "../scr/tab.php?obj=categorie_demandeur",
368        "class" => "categorie_demandeur",
369        "title" => _("categorie_demandeur"),
370        "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
371        "open" => array(
372            "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
373        ),
374    );
375    //
376    $links[] = array(
377        "href" => "../scr/tab.php?obj=destination",
378        "class" => "destination",
379        "title" => _("destination"),
380        "right" => array("destination", "destination_tab", ),
381        "open" => array("tab.php|destination", "form.php|destination", ),
382    );
383    //
384    $links[] = array(
385        "href" => "../scr/tab.php?obj=nature",
386        "class" => "nature",
387        "title" => _("nature"),
388        "right" => array("nature", "nature_tab", ),
389        "open" => array("tab.php|nature", "form.php|nature", ),
390    );
391    //
392    $links[] = array(
393        "href" => "../scr/tab.php?obj=rivoli",
394        "class" => "rivoli",
395        "title" => _("rivoli"),
396        "right" => array("rivoli", "rivoli_tab", ),
397        "open" => array("tab.php|rivoli", "form.php|rivoli", ),
398    );
399    //
400    $links[] = array(
401        "href" => "../scr/tab.php?obj=civilite",
402        "class" => "civilite",
403        "title" => _("civilite"),
404        "right" => array("civilite", "civilite_tab", ),
405        "open" => array("tab.php|civilite", "form.php|civilite", ),
406    );
407    //
408    $links[] = array(
409        "href" => "../scr/tab.php?obj=parametre",
410        "class" => "parametre",
411        "title" => _("parametre")." "._("statistique"),
412        "right" => array("parametre", "parametre_tab", ),
413        "open" => array("tab.php|parametre", "form.php|parametre", ),
414    );
415    //
416    $links[] = array(
417        "class" => "category",
418        "title" => _("workflows"),
419        "right" => array(
420            "action", "action_tab", "transition", "transition_tab", "etat",
421            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
422            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
423        ),
424    );
425    //
426    $links[] = array(
427        "title" => "<hr/>",
428        "right" => array(
429            "action", "action_tab", "transition", "transition_tab", "etat",
430            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
431            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
432        ),
433    );
434    //
435    $links[] = array(
436        "href" => "../scr/tab.php?obj=action",
437        "class" => "action",
438        "title" => _("action"),
439        "right" => array("action", "action_tab", ),
440        "open" => array("tab.php|action", "form.php|action", ),
441    );
442    //
443    $links[] = array(
444        "href" => "../scr/tab.php?obj=transition",
445        "class" => "transition",
446        "title" => _("transition"),
447        "right" => array("transition", "transition_tab", ),
448        "open" => array("tab.php|transition", "form.php|transition", ),
449    );
450    //
451    $links[] = array(
452        "href" => "../scr/tab.php?obj=etat",
453        "class" => "etat",
454        "title" => _("etat"),
455        "right" => array("etat", "etat_tab", ),
456        "open" => array("tab.php|etat", "form.php|etat", ),
457    );
458    //
459    $links[] = array(
460        "href" => "../scr/tab.php?obj=evenement",
461        "class" => "evenement",
462        "title" => _("evenement"),
463        "right" => array("evenement", "evenement_tab", ),
464        "open" => array("tab.php|evenement", "form.php|evenement", ),
465    );
466    //
467    $links[] = array(
468        "href" => "../scr/tab.php?obj=bible",
469        "class" => "bible",
470        "title" => _("bible"),
471        "right" => array("bible", "bible_tab", ),
472        "open" => array("tab.php|bible", "form.php|bible", ),
473    );
474    //
475    $links[] = array(
476        "href" => "../scr/tab.php?obj=avis_decision",
477        "class" => "avis_decision",
478        "title" => _("avis decision"),
479        "right" => array("avis_decision", "avis_decision_tab", ),
480        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
481    );
482    //
483    $links[] = array(
484        "href" => "../scr/tab.php?obj=avis_consultation",
485        "class" => "avis_consultation",
486        "title" => _("avis consultation"),
487        "right" => array("avis_consultation", "avis_consultation_tab", ),
488        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
489    );
490    //
491    $links[] = array(
492        "class" => "category",
493        "title" => _("Organisation"),
494        "right" => array("direction", "division", "instructeur"),
495    );
496    $links[] = array(
497        "title" => "<hr/>",
498        "right" => array("direction", "division", "instructeur"),
499    );
500    //
501    $links[] = array(
502        "href" => "../scr/tab.php?obj=direction",
503        "class" => "direction",
504        "title" => _("direction"),
505        "right" => array("direction", "direction_tab", ),
506        "open" => array("tab.php|direction", "form.php|direction", ),
507    );
508    //
509    $links[] = array(
510        "href" => "../scr/tab.php?obj=division",
511        "class" => "division",
512        "title" => _("division"),
513        "right" => array("division", "division_tab", ),
514        "open" => array("tab.php|division", "form.php|division", ),
515    );
516    //
517    $links[] = array(
518        "href" => "../scr/tab.php?obj=instructeur",
519        "class" => "instructeur",
520        "title" => _("instructeur"),
521        "right" => array("instructeur", "instructeur_tab", ),
522        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
523    );
524    //
525    $links[] = array(
526        "class" => "category",
527        "title" => _("editions"),
528        "right" => array(
529            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
530            "om_lettretype", "om_lettretype_tab",
531        ),
532    );
533    //
534    $links[] = array(
535        "title" => "<hr/>",
536        "right" => array(
537            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
538            "om_lettretype", "om_lettretype_tab",
539        ),
540    );
541    //
542    $links[] = array(
543        "href" => "../scr/tab.php?obj=om_etat",
544        "class" => "etat",
545        "title" => _("om_etat"),
546        "right" => array("om_etat", "om_etat_tab", ),
547        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
548    );
549    //
550    $links[] = array(
551        "href" => "../scr/tab.php?obj=om_sousetat",
552        "class" => "sousetat",
553        "title" => _("om_sousetat"),
554        "right" => array("om_sousetat", "om_sousetat_tab", ),
555        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
556    );
557    //
558    $links[] = array(
559        "href" => "../scr/tab.php?obj=om_lettretype",
560        "class" => "lettretype",
561        "title" => _("om_lettretype"),
562        "right" => array("om_lettretype", "om_lettretype_tab"),
563        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
564    );
565    //
566  $rubrik['links'] = $links;  $rubrik['links'] = $links;
567  array_push($menu, $rubrik);  //
568    $menu[] = $rubrik;
569  // }}}  // }}}
570    
571    // {{{ Rubrique SIG
572    //
 // {{{  Rubrique parametrage de l'application  
   
573  $rubrik = array(  $rubrik = array(
574      "title" => _("Parametrage"),      "title" => _("sig"),
575      "class" => "parametrage",      "class" => "sig",
576      "right" => "menu_parametrage",      "right" => "menu_sig",
577  );  );
578    //
579  $links = array();  $links = array();
580  // *** TABLES DE PARAMETRAGE ***  //
581  // inserer ici vos tables de parametres  $links[] = array(
582  // ========================================================================      "href" => "../scr/tab.php?obj=parcelle",
583  /*      "class" => "parcelle",
584    array_push($links,      "title" => _("parcelle"),
585      array(      "right" => array("parcelle", "parcelle_tab"),
586          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
587          "class" => "nom_table",  );
588          "title" => _("nom_table"),  //
589          "right" => "nom_table"  $links[] = array(
590      ));      "href" => "../scr/tab.php?obj=proprietaire",
591  */      "class" => "proprietaire",
592  // ========================================================================      "title" => _("proprietaire"),
593        "right" => array("proprietaire", "proprietaire_tab"),
594        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
595  // param gaux  );
596    //
597    array_push($links,  $links[] = array(
598      array(      "class" => "category",
599          "href" => "../scr/tab.php?obj=architecte",      "title" => _("servitudes"),
600          "class" => "architecte",      "right" => array(
601          "title" => _("architecte"),          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
602          "right" => "architecte"          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
603      ));          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
604        ),
605    );
606    //
607    array_push($links,  $links[] = array(
608      array(      "title" => "<hr/>",
609          "href" => "../scr/tab.php?obj=service",      "right" => array(
610          "class" => "service",          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
611          "title" => _("service"),          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
612          "right" => "service"          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
613      ));      ),
614      );
615    array_push($links,  //
616      array(  $links[] = array(
617          "href" => "../scr/tab.php?obj=travaux",      "href" => "../scr/tab.php?obj=pos",
618          "class" => "travaux",      "class" => "pos",
619          "title" => _("travaux"),      "title" => _("pos"),
620          "right" => "travaux"      "right" => array("pos", "pos_tab"),
621      ));      "open" => array("tab.php|pos", "form.php|pos", ),
622    );
623    array_push($links,  //
624      array(  $links[] = array(
625          "href" => "../scr/tab.php?obj=regle",      "href" => "../scr/tab.php?obj=servitude_surfacique",
626          "class" => "regle",      "class" => "servitude_surfacique",
627          "title" => _("regle"),      "title" => _("servitude_surfacique"),
628          "right" => "regle"      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
629      ));      "open" => array(
630            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
631    array_push($links,      ),
632      array(  );
633          "href" => "../scr/tab.php?obj=categorie_demandeur",  //
634          "class" => "categorie_demandeur",  $links[] = array(
635          "title" => _("categorie_demandeur"),      "href" => "../scr/tab.php?obj=servitude_ligne",
636          "right" => "categorie_demandeur"      "class" => "servitude_ligne",
637      ));      "title" => _("servitude_ligne"),
638          "right" => array("servitude_ligne", "servitude_ligne_tab"),
639    array_push($links,      "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
640      array(  );
641          "href" => "../scr/tab.php?obj=destination",  //
642          "class" => "destination",  $links[] = array(
643          "title" => _("destination"),      "href" => "../scr/tab.php?obj=servitude_point",
644          "right" => "destination"      "class" => "servitude_point",
645      ));      "title" => _("servitude_point"),
646        "right" => array("servitude_point", "servitude_point_tab"),
647    array_push($links,      "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
648      array(  );
649          "href" => "../scr/tab.php?obj=nature",  //
650          "class" => "nature",  $links[] = array(
651          "title" => _("nature"),      "href" => "../scr/tab.php?obj=parcelle_lot",
652          "right" => "nature"      "class" => "parcelle_lot",
653      ));      "title" => _("parcelle_lot"),
654        "right" => array("parcelle_lot", "parcelle_lot_tab"),
655  // workflows      "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
656      array_push($links,  );
657      array(  //
         "title" => "<hr/>",  
         "right" => array("action_tab", "transition_tab", "etat_tab",  
                          "evenement_tab", "bible", "avis")  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=action",  
         "class" => "action",  
         "title" => _("action"),  
         "right" => "action"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=transition",  
         "class" => "transition",  
         "title" => _("transition"),  
         "right" => "transition"  
     ));  
     
     array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=etat",  
         "class" => "etat",  
         "title" => _("etat"),  
         "right" => "etat"  
     ));  
   
     array_push($links,  
       array(  
           "href" => "../scr/tab.php?obj=evenement",  
           "class" => "evenement",  
           "title" => _("evenement"),  
           "right" => "evenement"  
       ));  
       
       array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=bible",  
         "class" => "bible",  
         "title" => _("bible"),  
         "right" => "bible"  
     ));  
         
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=avis",  
         "class" => "avis",  
         "title" => _("avis"),  
         "right" => "avis"  
     ));  
   
 // cadastre interne  
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")  
     ));  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=parcelle",  
         "class" => "parcelle",  
         "title" => _("parcelle"),  
         "right" => "parcelle"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=proprietaire",  
         "class" => "proprietaire",  
         "title" => _("proprietaire"),  
         "right" => "proprietaire"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=civilite",  
         "class" => "civilite",  
         "title" => _("civilite"),  
         "right" => "civilite"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=pos",  
         "class" => "pos",  
         "title" => _("pos"),  
         "right" => "pos"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=rivoli",  
         "class" => "rivoli",  
         "title" => _("rivoli"),  
         "right" => "rivoli"  
     ));  
   
658  $rubrik['links'] = $links;  $rubrik['links'] = $links;
659  array_push($menu, $rubrik);  //
660    $menu[] = $rubrik;
661    // }}}
   
   
662    
663  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
664  //  //
665  $rubrik = array(  $rubrik = array(
666      "title" => _("Administration"),      "title" => _("administration"),
667      "class" => "administration",      "class" => "administration",
668      "right" => "menu_administration",      "right" => "menu_administration",
669  );  );
670  //  //
671  $links = array();  $links = array();
672  array_push($links,  //
673      array(  $links[] = array(
674          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
675          "class" => "collectivite",      "class" => "collectivite",
676          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
677          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
678      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
679  array_push($links,  );
680      array(  //
681          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
682          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
683          "title" => _("om_parametre"),      "class" => "parametre",
684          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
685      ));      "right" => array("om_parametre", "om_parametre_tab", ),
686        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
687    );
688  array_push($links,  //
689      array(  $links[] = array(
690          "title" => "<hr/>",      "class" => "category",
691          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
692      ));      "right" => array(
693  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
694      array(          "om_droit", "om_droit_tab", "directory",
695          "href" => "../scr/tab.php?obj=om_profil",      ),
696          "class" => "profil",  );
697          "title" => _("om_profil"),  //
698          "right" => "om_profil_tab"  $links[] = array(
699      ));      "title" => "<hr/>",
700  array_push($links,      "right" => array(
701      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
702          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
703          "class" => "droit",      ),
704          "title" => _("om_droit"),  );
705          "right" => "om_droit_multi"  //
706      ));  $links[] = array(
707  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
708      array(      "class" => "profil",
709          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
710          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
711          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
712          "right" => "om_utilisateur_tab"  );
713      ));  //
714  array_push($links,  $links[] = array(
715      array(      "href" => "../scr/tab.php?obj=om_droit",
716          "title" => "<hr/>",      "class" => "droit",
717          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
718      ));      "right" => array("om_droit", "om_droit_tab", ),
719  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
720      array(  );
721          "href" => "../scr/tab.php?obj=om_etat",  //
722          "class" => "etat",  $links[] = array(
723          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
724          "right" => "om_etat_tab"      "class" => "utilisateur",
725      ));      "title" => _("om_utilisateur"),
726  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
727      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
728          "href" => "../scr/tab.php?obj=om_sousetat",  );
729          "class" => "sousetat",  //
730          "title" => _("om_sousetat"),  $links[] = array(
731          "right" => "om_sousetat_tab"      "title" => "<hr/>",
732      ));      "right" => array("directory", ),
733  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
734      array(  );
735          "href" => "../scr/tab.php?obj=om_lettretype",  //
736          "class" => "lettretype",  $links[] = array(
737          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
738          "right" => "om_lettretype_tab"      "class" => "directory",
739      ));      "title" => _("annuaire"),
740  array_push($links,      "right" => array("directory", ),
741      array(      "open" => array("directory.php|", ),
742          "title" => "<hr/>",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
743          "right" => array("import"),  );
744      ));  //
745  array_push($links,  $links[] = array(
746      array(      "class" => "category",
747          "href" => "../scr/import.php",      "title" => _("tableaux de bord"),
748          "class" => "import",      "right" => array("om_widget", "om_widget_tab", ),
749          "title" => _("Import"),  );
750          "right" => "import"  //
751      ));  $links[] = array(
752        "title" => "<hr/>",
753  array_push($links,      "right" => array("om_widget", "om_widget_tab", ),
754      array(  );
755          "title" => "<hr/>",  //
756          "right" => array("gen"),  $links[] = array(
757      ));      "href" => "../scr/tab.php?obj=om_widget",
758  array_push($links,      "class" => "om_widget",
759      array(      "title" => _("widget"),
760          "title" => _("Generateur"),      "right" => array("om_widget", "om_widget_tab", ),
761          "href" => "../gen/gen.php",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
762          "class" => "generator",  );
763          "right" => "gen",  //
764      ));  $links[] = array(
765        "class" => "category",
766        "title" => _("sig"),
767        "right" => array(
768            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
769        ),
770    );
771    //
772    $links[] = array(
773        "title" => "<hr/>",
774        "right" => array(
775            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
776        ),
777    );
778    //
779    $links[] = array(
780        "href" => "../scr/tab.php?obj=om_sig_map",
781        "class" => "om_sig_map",
782        "title" => _("om_sig_map"),
783        "right" => array("om_sig_map", "om_sig_map_tab", ),
784        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
785    );
786    //
787    $links[] = array(
788        "href" => "../scr/tab.php?obj=om_sig_wms",
789        "class" => "om_sig_wms",
790        "title" => _("om_sig_wms"),
791        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
792        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
793    );
794    //
795    $links[] = array(
796        "class" => "category",
797        "title" => _("options avancees"),
798        "right" => array("import", "gen", ),
799    );
800    //
801    $links[] = array(
802        "title" => "<hr/>",
803        "right" => array("import", ),
804    );
805    //
806    $links[] = array(
807        "href" => "../scr/import.php",
808        "class" => "import",
809        "title" => _("Import"),
810        "right" => array("import", ),
811        "open" => array("import.php|", ),
812    );
813    //
814    $links[] = array(
815        "title" => "<hr/>",
816        "right" => array("gen", ),
817    );
818    //
819    $links[] = array(
820        "title" => _("Generateur"),
821        "href" => "../scr/gen.php",
822        "class" => "generator",
823        "right" => array("gen", ),
824        "open" => array(
825            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
826            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
827            "genimport.php|",
828        ),
829    );
830    //
831  $rubrik['links'] = $links;  $rubrik['links'] = $links;
832  array_push($menu, $rubrik);  //
833    $menu[] = $rubrik;
834  // }}}  // }}}
835    
836  ?>  ?>

Legend:
Removed from v.10  
changed lines
  Added in v.555

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26