/[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 3 by fraynaud, Thu Feb 10 20:46:18 2011 UTC revision 509 by nhaye, Tue Oct 16 16:50:50 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();  $links = array();
22  // *** APPLICATION ***  //
23  // inserez ici les tables de votra application  $links[] = array(
24  // ========================================================================      "href" => "../scr/tab.php?obj=PC",
25  /*      "class" => "dossier",
26    array_push($links,      "title" => _("PC"),
27      array(      "right" => array("PC", "PC_tab", ),
28          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|PC", "form.php|PC", ),
29          "class" => "nom_table",  );
30          "title" => _("nom_table"),  //
31          "right" => "nom_table"  $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" => "subtitle",
122        "title" => _("Consultation"),
123        "right" => "consultation"
124    );
125    $links[] = array(
126        "href" => "../scr/tab.php?obj=consultation_mes_retours",
127        "class" => "consultation_mes_retours",
128        "title" => _("Mes retours"),
129        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
130        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
131    );
132    $links[] = array(
133        "href" => "../scr/tab.php?obj=consultation_tous_retours",
134        "class" => "consultation_tous_retours",
135        "title" => _("Tous les retours"),
136        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
137        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
138    );
139    //
140  $rubrik['links'] = $links;  $rubrik['links'] = $links;
141  array_push($menu, $rubrik);  //
142    $menu[] = $rubrik;
143    // }}}
144    
145  // {{{ Rubrique EXPORT  // {{{ Rubrique EXPORT
146    //
147  $rubrik = array(  $rubrik = array(
148      "title" => _("Export"),      "title" => _("export"),
149      "class" => "edition",      "class" => "edition",
150      "right" => "menu_export",      "right" => "menu_export",
151  );  );
152    //
153  $links = array();  $links = array();
154  array_push($links,  //
155      array(  $links[] = array(
156          "href" => "../scr/edition.php",      "href" => "../scr/edition.php",
157          "class" => "edition",      "class" => "edition",
158          "title" => _("Edition"),      "title" => _("edition"),
159          "right" => "edition"      "right" => "edition",
160      ));      "open" => "edition.php|",
161  array_push($links,  );
162      array(  //
163          "href" => "../scr/reqmo.php",  $links[] = array(
164          "class" => "reqmo",      "href" => "../app/edition_p.php",
165          "title" => _("Requetes memorisees"),      "class" => "edition",
166          "right" => "reqmo"      "title" => _("edition date depot"),
167      ));      "right" => "edition_p",
168        "open" => "edition_p.php|",
169    );
170    //
171    $links[] = array(
172        "href" => "../app/edition_d.php",
173        "class" => "edition",
174        "title" => _("edition date decision"),
175        "right" => "edition_d",
176        "open" => "edition_d.php|",
177    );
178    //
179    $links[] = array(
180        "title" => "<hr/>",
181        "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
182    );
183    //
184    $links[] = array(
185        "href" => "../scr/reqmo.php",
186        "class" => "reqmo",
187        "title" => _("requetes memorisees"),
188        "right" => "reqmo",
189        "open" => array("reqmo.php|", "requeteur.php|", ),
190    );
191    //
192    $links[] = array(
193        "href" => "../app/export_pc.php",
194        "class" => "reqmo",
195        "title" => _("export PC Lascot"),
196        "right" => "export_pc",
197        "open" => "export_pc.php|",
198    );
199    //
200    $links[] = array(
201        "href" => "../app/export_dp.php",
202        "class" => "reqmo",
203        "title" => _("export DP Lascot"),
204        "right" => "export_dp",
205        "open" => "export_dp.php|",
206    );
207    //
208    $links[] = array(
209        "href" => "../app/sitadel.php",
210        "class" => "reqmo",
211        "title" => _("export sitadel")." 2",
212        "right" => "export_sitadel",
213        "open" => "sitadel.php|",
214    );
215    //
216  $rubrik['links'] = $links;  $rubrik['links'] = $links;
217  array_push($menu, $rubrik);  //
218    $menu[] = $rubrik;
219  // }}}  // }}}
220    
221  // {{{ Rubrique TRAITEMENT  // {{{ Rubrique PARAMETRAGE
222    //
223  $rubrik = array(  $rubrik = array(
224      "title" => _("Traitement"),      "title" => _("parametrage"),
225      "class" => "traitement",      "class" => "parametrage",
226      "right" => "menu_traitement",      "right" => "menu_parametrage",
227  );  );
228    //
229  $links = array();  $links = array();
230  // *** TRAITEMENT ***  //
231  // inserez le lien d acces au traitement  // GENERAUX
232  // ========================================================================  $links[] = array(
233  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
234   array_push($links,      "class" => "traitement",
235      array(      "title" => _("numero manuel"),
236          "href" => "../trt/nom_du_traitement.php",      "right" => "dossier_numeromanuel",
237          "class" => "traitement",      "open" => "|dossier_numeromanuel",
238          "title" => _("Traitement"),  );
239          "right" => "traitement"  //
240      ));  $links[] = array(
241  */      "href" => "../app/num_dossier.php",
242  // ========================================================================      "class" => "traitement",
243        "title" => _("remise a 0"),
244        "right" => "num_dossier",
245        "open" => "num_dossier.php|",
246    );
247    //
248    $links[] = array(
249        "title" => "<hr/>",
250        "right" => array(
251            "architecte", "architecte_tab", "service", "service_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
252             "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
253            "destination", "destination_tab", "nature", "nature_tab", "rivoli",
254            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
255        ),
256    );
257    //
258    $links[] = array(
259        "href" => "../scr/tab.php?obj=architecte",
260        "class" => "architecte",
261        "title" => _("architecte"),
262        "right" => array("architecte", "architecte_tab", ),
263        "open" => array("tab.php|architecte", "form.php|architecte", ),
264    );
265    //
266    $links[] = array(
267        "href" => "../scr/tab.php?obj=service",
268        "class" => "service",
269        "title" => _("service"),
270        "right" => array("service", "service_tab", ),
271        "open" => array("tab.php|service", "form.php|service", ),
272    );
273    $links[] = array(
274        "href" => "../scr/tab.php?obj=service_categorie",
275        "class" => "service_categorie",
276        "title" => _("thematique des services"),
277        "right" => array("service_categorie", "service_categorie_tab", ),
278        "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
279    );
280    $links[] = array(
281        "href" => "../scr/tab.php?obj=lien_service_service_categorie",
282        "class" => "lien_service_service_categorie",
283        "title" => _("Lien service / thematique"),
284        "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
285        "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
286    );
287    //
288    $links[] = array(
289        "href" => "../scr/tab.php?obj=travaux",
290        "class" => "travaux",
291        "title" => _("travaux"),
292        "right" => array("travaux", "travaux_tab", ),
293        "open" => array("tab.php|travaux", "form.php|travaux", ),
294    );
295    //
296    $links[] = array(
297        "href" => "../scr/tab.php?obj=categorie_demandeur",
298        "class" => "categorie_demandeur",
299        "title" => _("categorie_demandeur"),
300        "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
301        "open" => array(
302            "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
303        ),
304    );
305    //
306    $links[] = array(
307        "href" => "../scr/tab.php?obj=destination",
308        "class" => "destination",
309        "title" => _("destination"),
310        "right" => array("destination", "destination_tab", ),
311        "open" => array("tab.php|destination", "form.php|destination", ),
312    );
313    //
314    $links[] = array(
315        "href" => "../scr/tab.php?obj=nature",
316        "class" => "nature",
317        "title" => _("nature"),
318        "right" => array("nature", "nature_tab", ),
319        "open" => array("tab.php|nature", "form.php|nature", ),
320    );
321    //
322    $links[] = array(
323        "href" => "../scr/tab.php?obj=rivoli",
324        "class" => "rivoli",
325        "title" => _("rivoli"),
326        "right" => array("rivoli", "rivoli_tab", ),
327        "open" => array("tab.php|rivoli", "form.php|rivoli", ),
328    );
329    //
330    $links[] = array(
331        "href" => "../scr/tab.php?obj=civilite",
332        "class" => "civilite",
333        "title" => _("civilite"),
334        "right" => array("civilite", "civilite_tab", ),
335        "open" => array("tab.php|civilite", "form.php|civilite", ),
336    );
337    //
338    $links[] = array(
339        "href" => "../scr/tab.php?obj=parametre",
340        "class" => "parametre",
341        "title" => _("parametre")." "._("statistique"),
342        "right" => array("parametre", "parametre_tab", ),
343        "open" => array("tab.php|parametre", "form.php|parametre", ),
344    );
345    //
346    $links[] = array(
347        "class" => "category",
348        "title" => _("workflows"),
349        "right" => array(
350            "action", "action_tab", "transition", "transition_tab", "etat",
351            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
352            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
353        ),
354    );
355    //
356    $links[] = array(
357        "title" => "<hr/>",
358        "right" => array(
359            "action", "action_tab", "transition", "transition_tab", "etat",
360            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
361            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
362        ),
363    );
364    //
365    $links[] = array(
366        "href" => "../scr/tab.php?obj=action",
367        "class" => "action",
368        "title" => _("action"),
369        "right" => array("action", "action_tab", ),
370        "open" => array("tab.php|action", "form.php|action", ),
371    );
372    //
373    $links[] = array(
374        "href" => "../scr/tab.php?obj=transition",
375        "class" => "transition",
376        "title" => _("transition"),
377        "right" => array("transition", "transition_tab", ),
378        "open" => array("tab.php|transition", "form.php|transition", ),
379    );
380    //
381    $links[] = array(
382        "href" => "../scr/tab.php?obj=etat",
383        "class" => "etat",
384        "title" => _("etat"),
385        "right" => array("etat", "etat_tab", ),
386        "open" => array("tab.php|etat", "form.php|etat", ),
387    );
388    //
389    $links[] = array(
390        "href" => "../scr/tab.php?obj=evenement",
391        "class" => "evenement",
392        "title" => _("evenement"),
393        "right" => array("evenement", "evenement_tab", ),
394        "open" => array("tab.php|evenement", "form.php|evenement", ),
395    );
396    //
397    $links[] = array(
398        "href" => "../scr/tab.php?obj=bible",
399        "class" => "bible",
400        "title" => _("bible"),
401        "right" => array("bible", "bible_tab", ),
402        "open" => array("tab.php|bible", "form.php|bible", ),
403    );
404    //
405    $links[] = array(
406        "href" => "../scr/tab.php?obj=avis_decision",
407        "class" => "avis_decision",
408        "title" => _("avis decision"),
409        "right" => array("avis_decision", "avis_decision_tab", ),
410        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
411    );
412    //
413    $links[] = array(
414        "href" => "../scr/tab.php?obj=avis_consultation",
415        "class" => "avis_consultation",
416        "title" => _("avis consultation"),
417        "right" => array("avis_consultation", "avis_consultation_tab", ),
418        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
419    );
420    //
421    $links[] = array(
422        "class" => "category",
423        "title" => _("editions"),
424        "right" => array(
425            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
426            "om_lettretype", "om_lettretype_tab",
427        ),
428    );
429    //
430    $links[] = array(
431        "title" => "<hr/>",
432        "right" => array(
433            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
434            "om_lettretype", "om_lettretype_tab",
435        ),
436    );
437    //
438    $links[] = array(
439        "href" => "../scr/tab.php?obj=om_etat",
440        "class" => "etat",
441        "title" => _("om_etat"),
442        "right" => array("om_etat", "om_etat_tab", ),
443        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
444    );
445    //
446    $links[] = array(
447        "href" => "../scr/tab.php?obj=om_sousetat",
448        "class" => "sousetat",
449        "title" => _("om_sousetat"),
450        "right" => array("om_sousetat", "om_sousetat_tab", ),
451        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
452    );
453    //
454    $links[] = array(
455        "href" => "../scr/tab.php?obj=om_lettretype",
456        "class" => "lettretype",
457        "title" => _("om_lettretype"),
458        "right" => array("om_lettretype", "om_lettretype_tab"),
459        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
460    );
461    //
462  $rubrik['links'] = $links;  $rubrik['links'] = $links;
463  array_push($menu, $rubrik);  //
464    $menu[] = $rubrik;
465  // }}}  // }}}
466    
467    // {{{ Rubrique SIG
468    //
 // {{{  Rubrique parametrage de l'application  
   
469  $rubrik = array(  $rubrik = array(
470      "title" => _("Parametrage"),      "title" => _("sig"),
471      "class" => "parametrage",      "class" => "sig",
472      "right" => "menu_parametrage",      "right" => "menu_sig",
473  );  );
474    //
475  $links = array();  $links = array();
476  // *** TABLES DE PARAMETRAGE ***  //
477  // inserer ici vos tables de parametres  $links[] = array(
478  // ========================================================================      "href" => "../scr/tab.php?obj=parcelle",
479  /*      "class" => "parcelle",
480    array_push($links,      "title" => _("parcelle"),
481      array(      "right" => array("parcelle", "parcelle_tab"),
482          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
483          "class" => "nom_table",  );
484          "title" => _("nom_table"),  //
485          "right" => "nom_table"  $links[] = array(
486      ));      "href" => "../scr/tab.php?obj=proprietaire",
487  */      "class" => "proprietaire",
488  // ========================================================================      "title" => _("proprietaire"),
489        "right" => array("proprietaire", "proprietaire_tab"),
490    array_push($links,      "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
491      array(  );
492          "href" => "../scr/tab.php?obj=action",  //
493          "class" => "action",  $links[] = array(
494          "title" => _("action"),      "class" => "category",
495          "right" => "action"      "title" => _("servitudes"),
496      ));      "right" => array(
497            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
498            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
499            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
500        ),
501    );
502    //
503    $links[] = array(
504        "title" => "<hr/>",
505        "right" => array(
506            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
507            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
508            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
509        ),
510    );
511    //
512    $links[] = array(
513        "href" => "../scr/tab.php?obj=pos",
514        "class" => "pos",
515        "title" => _("pos"),
516        "right" => array("pos", "pos_tab"),
517        "open" => array("tab.php|pos", "form.php|pos", ),
518    );
519    //
520    $links[] = array(
521        "href" => "../scr/tab.php?obj=servitude_surfacique",
522        "class" => "servitude_surfacique",
523        "title" => _("servitude_surfacique"),
524        "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
525        "open" => array(
526            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
527        ),
528    );
529    //
530    $links[] = array(
531        "href" => "../scr/tab.php?obj=servitude_ligne",
532        "class" => "servitude_ligne",
533        "title" => _("servitude_ligne"),
534        "right" => array("servitude_ligne", "servitude_ligne_tab"),
535        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
536    );
537    //
538    $links[] = array(
539        "href" => "../scr/tab.php?obj=servitude_point",
540        "class" => "servitude_point",
541        "title" => _("servitude_point"),
542        "right" => array("servitude_point", "servitude_point_tab"),
543        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
544    );
545    //
546    $links[] = array(
547        "href" => "../scr/tab.php?obj=parcelle_lot",
548        "class" => "parcelle_lot",
549        "title" => _("parcelle_lot"),
550        "right" => array("parcelle_lot", "parcelle_lot_tab"),
551        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
552    );
553    //
554  $rubrik['links'] = $links;  $rubrik['links'] = $links;
555  array_push($menu, $rubrik);  //
556    $menu[] = $rubrik;
557    // }}}
   
   
558    
559  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
560  //  //
561  $rubrik = array(  $rubrik = array(
562      "title" => _("Administration"),      "title" => _("administration"),
563      "class" => "administration",      "class" => "administration",
564      "right" => "menu_administration",      "right" => "menu_administration",
565  );  );
566  //  //
567  $links = array();  $links = array();
568  array_push($links,  //
569      array(  $links[] = array(
570          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
571          "class" => "collectivite",      "class" => "collectivite",
572          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
573          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
574      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
575  array_push($links,  );
576      array(  //
577          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
578          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
579          "title" => _("om_parametre"),      "class" => "parametre",
580          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
581      ));      "right" => array("om_parametre", "om_parametre_tab", ),
582        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
583    );
584  array_push($links,  //
585      array(  $links[] = array(
586          "title" => "<hr/>",      "class" => "category",
587          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
588      ));      "right" => array(
589  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
590      array(          "om_droit", "om_droit_tab", "directory",
591          "href" => "../scr/tab.php?obj=om_profil",      ),
592          "class" => "profil",  );
593          "title" => _("om_profil"),  //
594          "right" => "om_profil_tab"  $links[] = array(
595      ));      "title" => "<hr/>",
596  array_push($links,      "right" => array(
597      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
598          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
599          "class" => "droit",      ),
600          "title" => _("om_droit"),  );
601          "right" => "om_droit_multi"  //
602      ));  $links[] = array(
603  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
604      array(      "class" => "profil",
605          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
606          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
607          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
608          "right" => "om_utilisateur_tab"  );
609      ));  //
610  array_push($links,  $links[] = array(
611      array(      "href" => "../scr/tab.php?obj=om_droit",
612          "title" => "<hr/>",      "class" => "droit",
613          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
614      ));      "right" => array("om_droit", "om_droit_tab", ),
615  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
616      array(  );
617          "href" => "../scr/tab.php?obj=om_etat",  //
618          "class" => "etat",  $links[] = array(
619          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
620          "right" => "om_etat_tab"      "class" => "utilisateur",
621      ));      "title" => _("om_utilisateur"),
622  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
623      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
624          "href" => "../scr/tab.php?obj=om_sousetat",  );
625          "class" => "sousetat",  //
626          "title" => _("om_sousetat"),  $links[] = array(
627          "right" => "om_sousetat_tab"      "title" => "<hr/>",
628      ));      "right" => array("directory", ),
629  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
630      array(  );
631          "href" => "../scr/tab.php?obj=om_lettretype",  //
632          "class" => "lettretype",  $links[] = array(
633          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
634          "right" => "om_lettretype_tab"      "class" => "directory",
635      ));      "title" => _("annuaire"),
636  array_push($links,      "right" => array("directory", ),
637      array(      "open" => array("directory.php|", ),
638          "title" => "<hr/>",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
639          "right" => array("import"),  );
640      ));  //
641  array_push($links,  $links[] = array(
642      array(      "class" => "category",
643          "href" => "../scr/import.php",      "title" => _("tableaux de bord"),
644          "class" => "import",      "right" => array("om_widget", "om_widget_tab", ),
645          "title" => _("Import"),  );
646          "right" => "import"  //
647      ));  $links[] = array(
648        "title" => "<hr/>",
649  array_push($links,      "right" => array("om_widget", "om_widget_tab", ),
650      array(  );
651          "title" => "<hr/>",  //
652          "right" => array("gen"),  $links[] = array(
653      ));      "href" => "../scr/tab.php?obj=om_widget",
654  array_push($links,      "class" => "om_widget",
655      array(      "title" => _("widget"),
656          "title" => _("Generateur"),      "right" => array("om_widget", "om_widget_tab", ),
657          "href" => "../gen/gen.php",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
658          "class" => "generator",  );
659          "right" => "gen",  //
660      ));  $links[] = array(
661        "class" => "category",
662        "title" => _("sig"),
663        "right" => array(
664            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
665        ),
666    );
667    //
668    $links[] = array(
669        "title" => "<hr/>",
670        "right" => array(
671            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
672        ),
673    );
674    //
675    $links[] = array(
676        "href" => "../scr/tab.php?obj=om_sig_map",
677        "class" => "om_sig_map",
678        "title" => _("om_sig_map"),
679        "right" => array("om_sig_map", "om_sig_map_tab", ),
680        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
681    );
682    //
683    $links[] = array(
684        "href" => "../scr/tab.php?obj=om_sig_wms",
685        "class" => "om_sig_wms",
686        "title" => _("om_sig_wms"),
687        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
688        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
689    );
690    //
691    $links[] = array(
692        "class" => "category",
693        "title" => _("options avancees"),
694        "right" => array("import", "gen", ),
695    );
696    //
697    $links[] = array(
698        "title" => "<hr/>",
699        "right" => array("import", ),
700    );
701    //
702    $links[] = array(
703        "href" => "../scr/import.php",
704        "class" => "import",
705        "title" => _("Import"),
706        "right" => array("import", ),
707        "open" => array("import.php|", ),
708    );
709    //
710    $links[] = array(
711        "title" => "<hr/>",
712        "right" => array("gen", ),
713    );
714    //
715    $links[] = array(
716        "title" => _("Generateur"),
717        "href" => "../scr/gen.php",
718        "class" => "generator",
719        "right" => array("gen", ),
720        "open" => array(
721            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
722            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
723            "genimport.php|",
724        ),
725    );
726    //
727  $rubrik['links'] = $links;  $rubrik['links'] = $links;
728  array_push($menu, $rubrik);  //
729    $menu[] = $rubrik;
730  // }}}  // }}}
731    
732  ?>  ?>

Legend:
Removed from v.3  
changed lines
  Added in v.509

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26