/[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 70 by fraynaud, Fri Aug 19 14:03:50 2011 UTC revision 583 by nhaye, Fri Nov 2 16:02:12 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" => _("Instruction"),      "title" => _("instruction"),
17      "class" => "application",      "class" => "instruction",
18      "right" => "menu_application",      "right" => "menu_instruction",
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    array_push($links,  );
38      array(  //
39          "href" => "../scr/tab.php?obj=PC",  $links[] = array(
40          "class" => "dossier",      "href" => "../scr/tab.php?obj=PD",
41          "title" => _("PC"),      "class" => "dossier",
42          "right" => "dossier"      "title" => _("PD"),
43      ));      "right" => array("PD", "PD_tab", ),
44          "open" => array("tab.php|PD", "form.php|PD", ),
45    array_push($links,  );
46      array(  //
47          "href" => "../scr/tab.php?obj=DP",  $links[] = array(
48          "class" => "dossier",      "href" => "../scr/tab.php?obj=PA",
49          "title" => _("DP"),      "class" => "dossier",
50          "right" => "dossier"      "title" => _("PA"),
51      ));      "right" => array("PA", "PA_tab", ),
52        "open" => array("tab.php|PA", "form.php|PA", ),
53    );
54    array_push($links,  //
55      array(  $links[] = array(
56          "href" => "../scr/tab.php?obj=PD",      "title" => "<hr/>",
57          "class" => "dossier",      "right" => array(
58          "title" => _("PD"),          "PC_accueil", "PC_accueil_tab", "DP_accueil", "DP_accueil_tab",
59          "right" => "dossier"          "PD_accueil", "PD_accueil_tab", "PA_accueil", "PA_accueil_tab",
60      ));      ),
61    );
62    array_push($links,  //
63      array(  $links[] = array(
64          "href" => "../scr/tab.php?obj=PA",      "href" => "../scr/tab.php?obj=PC_accueil",
65          "class" => "dossier",      "class" => "dossier",
66          "title" => _("PA"),      "title" => _("PC - accueil"),
67          "right" => "dossier"      "right" => array("PC_accueil", "PC_accueil_tab", ),
68      ));      "open" => array("tab.php|PC_accueil", "form.php|PC_accueil", ),
69    );
70  array_push($links,  //
71      array(  $links[] = array(
72          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=DP_accueil",
73          "right" => array("gen"),      "class" => "dossier",
74      ));      "title" => _("DP - accueil"),
75        "right" => array("DP_accueil", "DP_accueil_tab", ),
76    array_push($links,      "open" => array("tab.php|DP_accueil", "form.php|DP_accueil", ),
77      array(  );
78          "href" => "../scr/tab.php?obj=PC_accueil",  //
79          "class" => "dossier",  $links[] = array(
80          "title" => _("PC - accueil"),      "href" => "../scr/tab.php?obj=PD_accueil",
81          "right" => "dossier"      "class" => "dossier",
82      ));      "title" => _("PD - accueil"),
83          "right" => array("PD_accueil", "PD_accueil_tab", ),
84    array_push($links,      "open" => array("tab.php|PD_accueil", "form.php|PD_accueil", ),
85      array(  );
86          "href" => "../scr/tab.php?obj=DP_accueil",  //
87          "class" => "dossier",  $links[] = array(
88          "title" => _("DP - accueil"),      "href" => "../scr/tab.php?obj=PA_accueil",
89          "right" => "dossier"      "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    array_push($links,  );
94      array(  //
95          "href" => "../scr/tab.php?obj=PD_accueil",  $links[] = array(
96          "class" => "dossier",      "title" => "<hr/>",
97          "title" => _("PD - accueil"),      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
98          "right" => "dossier"  );
99      ));  //
100    $links[] = array(
101    array_push($links,      "href" => "../scr/tab.php?obj=PC_modificatif",
102      array(      "class" => "traitement",
103          "href" => "../scr/tab.php?obj=PA_accueil",      "title" => _("modificatif transfert"),
104          "class" => "dossier",      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
105          "title" => _("PA - accueil"),      "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
106          "right" => "dossier"  );
107      ));  //
108      array_push($links,  $links[] = array(
109      array(      "title" => "<hr/>",
110          "title" => "<hr/>",      "right" => array("recherchedossier", ),
111          "right" => array("gen"),  );
112      ));  //
113    $links[] = array(
114      array_push($links,      "href" => "../app/recherchedossier.php",
115      array(      "class" => "dossier",
116          "href" => "../spc/recherchedossier.php",      "title" => _("Recherche dossier"),
117          "class" => "dossier",      "right" => "recherchedossier",
118          "title" => _("Recherche dossier"),      "open" => "recherchedossier.php|",
119          "right" => "recherchedossier"  );
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    //
144  $rubrik['links'] = $links;  $rubrik['links'] = $links;
145  array_push($menu, $rubrik);  //
146    $menu[] = $rubrik;
147  // {{{ Rubrique EXPORT  // }}}
148    // {{{ Rubrique Demandes d'avis
149    //
150  $rubrik = array(  $rubrik = array(
151      "title" => _("Export"),      "title" => _("Suivi"),
152      "class" => "edition",      "class" => "suivi",
153      "right" => "menu_export",      "right" => "menu_suivi",
154  );  );
   
155  $links = array();  $links = array();
156  array_push($links,  //
157      array(  $links[] = array(
158          "href" => "../scr/edition.php",      "href" => "../app/avis_code_barre.php",
159          "class" => "edition",      "class" => "avis_code_barre",
160          "title" => _("Edition"),      "title" => _("Retour de consultation"),
161          "right" => "edition"      "right" => array("avis_code_barre", ),
162      ));      "open" => array("avis_code_barre.php|"),
163  array_push($links,  );
164      array(  //
         "href" => "../spc/edition_p.php",  
         "class" => "edition",  
         "title" => _("Edition date depot"),  
         "right" => "edition"  
     ));  
   
 array_push($links,  
     array(  
         "href" => "../spc/edition_d.php",  
         "class" => "edition",  
         "title" => _("Edition date decision"),  
         "right" => "edition"  
     ));  
   
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("reqmo", "export_pc_tab", "export_dp_tab", "export_sitadel_tab")  
     ));  
   
 array_push($links,  
     array(  
         "href" => "../scr/reqmo.php",  
         "class" => "reqmo",  
         "title" => _("Requetes memorisees"),  
         "right" => "reqmo"  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../spc/export_pc.php",  
         "class" => "reqmo",  
         "title" => _("export PC Lascot"),  
         "right" => "ecport_pc"  
     ));  
       
     array_push($links,  
     array(  
         "href" => "../spc/export_dp.php",  
         "class" => "reqmo",  
         "title" => _("export DP Lascot"),  
         "right" => "export_dp"  
     ));  
       
     array_push($links,  
     array(  
         "href" => "../spc/export_sitadel.php",  
         "class" => "reqmo",  
         "title" => _("export sitadel"),  
         "right" => "export_sitadel"  
     ));  
   
165  $rubrik['links'] = $links;  $rubrik['links'] = $links;
166  array_push($menu, $rubrik);  //
167    $menu[] = $rubrik;
168  // }}}  // }}}
169    // {{{ Rubrique Demandes d'avis
170  // {{{ Rubrique TRAITEMENT  //
   
171  $rubrik = array(  $rubrik = array(
172      "title" => _("Traitement"),      "title" => _("Demandes d'avis"),
173      "class" => "traitement",      "class" => "demande_avis",
174      "right" => "menu_traitement",      "right" => "menu_demande_avis",
175  );  );
176    //
177  $links = array();  $links = array();
178  // *** TRAITEMENT ***  //
179  // inserez le lien d acces au traitement  $links[] = array(
180  // ========================================================================      "href" => "../scr/tab.php?obj=demande_avis_encours",
181  /*      "class" => "demande_avis_encours",
182   array_push($links,      "title" => _("Demandes en cours"),
183      array(      "right" => array("demande_avis_encours", "demande_avis_encours_tab", ),
184          "href" => "../trt/nom_du_traitement.php",      "open" => array("tab.php|demande_avis_encours", "form.php|demande_avis_encours", ),
185          "class" => "traitement",  );
186          "title" => _("Traitement"),  
187          "right" => "traitement"  $links[] = array(
188      ));      "href" => "../scr/tab.php?obj=demande_avis_passee",
189  */      "class" => "demande_avis_passee",
190  // ========================================================================      "title" => _("Demandes passees"),
191      array_push($links,      "right" => array("demande_avis_passee", "demande_avis_passee_tab", ),
192      array(      "open" => array("tab.php|demande_avis_passee", "form.php|demande_avis_passee", ),
193          "href" => "../scr/form.php?obj=dossier_numeromanuel",  );
194          "class" => "traitement",  
195          "title" => _("numero manuel"),  $links[] = array(
196          "right" => "traitement"      "href" => "../scr/tab.php?obj=demande_avis_export",
197      ));      "class" => "demande_avis_export",
198        "title" => _("Exports"),
199      array_push($links,      "right" => array("demande_avis_export", "demande_avis_export_tab", ),
200      array(      "open" => array("tab.php|demande_avis_export", "form.php|demande_avis_export", ),
201          "href" => "../scr/tab.php?obj=PC_modificatif",  );
         "class" => "traitement",  
         "title" => _("modificatif transfert"),  
         "right" => "traitement"  
     ));      
   
     array_push($links,  
     array(  
         "href" => "../spc/num_dossier.php",  
         "class" => "traitement",  
         "title" => _("remise a 0"),  
         "right" => "traitement"  
     ));  
202    
203    //
204  $rubrik['links'] = $links;  $rubrik['links'] = $links;
205  array_push($menu, $rubrik);  //
206    $menu[] = $rubrik;
207  // }}}  // }}}
208    
209    
210    
211  // {{{  Rubrique parametrage de l'application  // {{{ Rubrique EXPORT
212    //
213    $rubrik = array(
214        "title" => _("export"),
215        "class" => "edition",
216        "right" => "menu_export",
217    );
218    //
219    $links = array();
220    //
221    $links[] = array(
222        "href" => "../scr/edition.php",
223        "class" => "edition",
224        "title" => _("edition"),
225        "right" => "edition",
226        "open" => "edition.php|",
227    );
228    //
229    $links[] = array(
230        "href" => "../app/edition_p.php",
231        "class" => "edition",
232        "title" => _("edition date depot"),
233        "right" => "edition_p",
234        "open" => "edition_p.php|",
235    );
236    //
237    $links[] = array(
238        "href" => "../app/edition_d.php",
239        "class" => "edition",
240        "title" => _("edition date decision"),
241        "right" => "edition_d",
242        "open" => "edition_d.php|",
243    );
244    //
245    $links[] = array(
246        "title" => "<hr/>",
247        "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
248    );
249    //
250    $links[] = array(
251        "href" => "../scr/reqmo.php",
252        "class" => "reqmo",
253        "title" => _("requetes memorisees"),
254        "right" => "reqmo",
255        "open" => array("reqmo.php|", "requeteur.php|", ),
256    );
257    //
258    $links[] = array(
259        "href" => "../app/export_pc.php",
260        "class" => "reqmo",
261        "title" => _("export PC Lascot"),
262        "right" => "export_pc",
263        "open" => "export_pc.php|",
264    );
265    //
266    $links[] = array(
267        "href" => "../app/export_dp.php",
268        "class" => "reqmo",
269        "title" => _("export DP Lascot"),
270        "right" => "export_dp",
271        "open" => "export_dp.php|",
272    );
273    //
274    $links[] = array(
275        "href" => "../app/sitadel.php",
276        "class" => "reqmo",
277        "title" => _("export sitadel")." 2",
278        "right" => "export_sitadel",
279        "open" => "sitadel.php|",
280    );
281    //
282    $rubrik['links'] = $links;
283    //
284    $menu[] = $rubrik;
285    // }}}
286    
287    // {{{ Rubrique PARAMETRAGE
288    //
289  $rubrik = array(  $rubrik = array(
290      "title" => _("Parametrage"),      "title" => _("parametrage"),
291      "class" => "parametrage",      "class" => "parametrage",
292      "right" => "menu_parametrage",      "right" => "menu_parametrage",
293  );  );
294    //
295  $links = array();  $links = array();
296  // *** TABLES DE PARAMETRAGE ***  //
297  // inserer ici vos tables de parametres  // GENERAUX
298  // ========================================================================  $links[] = array(
299  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
300    array_push($links,      "class" => "traitement",
301      array(      "title" => _("numero manuel"),
302          "href" => "../scr/tab.php?obj=nom_table",      "right" => "dossier_numeromanuel",
303          "class" => "nom_table",      "open" => "|dossier_numeromanuel",
304          "title" => _("nom_table"),  );
305          "right" => "nom_table"  //
306      ));  $links[] = array(
307  */      "href" => "../app/num_dossier.php",
308  // ========================================================================      "class" => "traitement",
309        "title" => _("remise a 0"),
310        "right" => "num_dossier",
311  // param gaux      "open" => "num_dossier.php|",
312    );
313    array_push($links,  //
314      array(  $links[] = array(
315          "href" => "../scr/tab.php?obj=architecte",      "title" => "<hr/>",
316          "class" => "architecte",      "right" => array(
317          "title" => _("architecte"),          "architecte", "architecte_tab", "service", "service_tab", "instructeur", "instructeur_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
318          "right" => "architecte"          "lien_localisation_nature", "lien_localisation_nature_tab",
319      ));           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
320            "destination", "destination_tab", "nature", "nature_tab", "rivoli",
321            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
322        ),
323    array_push($links,  );
324      array(  //
325          "href" => "../scr/tab.php?obj=service",  $links[] = array(
326          "class" => "service",      "href" => "../scr/tab.php?obj=architecte",
327          "title" => _("service"),      "class" => "architecte",
328          "right" => "service"      "title" => _("architecte"),
329      ));      "right" => array("architecte", "architecte_tab", ),
330          "open" => array("tab.php|architecte", "form.php|architecte", ),
331    array_push($links,  );
332      array(  //
333          "href" => "../scr/tab.php?obj=travaux",  $links[] = array(
334          "class" => "travaux",      "href" => "../scr/tab.php?obj=service",
335          "title" => _("travaux"),      "class" => "service",
336          "right" => "travaux"      "title" => _("service"),
337      ));      "right" => array("service", "service_tab", ),
338        "open" => array("tab.php|service", "form.php|service", ),
339    array_push($links,  );
340      array(  $links[] = array(
341          "href" => "../scr/tab.php?obj=regle",      "href" => "../scr/tab.php?obj=service_categorie",
342          "class" => "regle",      "class" => "service_categorie",
343          "title" => _("regle"),      "title" => _("thematique des services"),
344          "right" => "regle"      "right" => array("service_categorie", "service_categorie_tab", ),
345      ));      "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
346    );
347    array_push($links,  $links[] = array(
348      array(      "href" => "../scr/tab.php?obj=lien_service_service_categorie",
349          "href" => "../scr/tab.php?obj=categorie_demandeur",      "class" => "lien_service_service_categorie",
350          "class" => "categorie_demandeur",      "title" => _("Lien service / thematique"),
351          "title" => _("categorie_demandeur"),      "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
352          "right" => "categorie_demandeur"      "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
353      ));  );
354      //
355    array_push($links,  $links[] = array(
356      array(      "href" => "../scr/tab.php?obj=instructeur",
357          "href" => "../scr/tab.php?obj=destination",      "class" => "instructeur",
358          "class" => "destination",      "title" => _("instructeur"),
359          "title" => _("destination"),      "right" => array("instructeur", "instructeur_tab", ),
360          "right" => "destination"      "open" => array("tab.php|instructeur", "form.php|instructeur", ),
361      ));  );
362    //
363    array_push($links,  $links[] = array(
364      array(      "href" => "../scr/tab.php?obj=lien_localisation_nature",
365          "href" => "../scr/tab.php?obj=nature",      "class" => "lien_localisation_nature",
366          "class" => "nature",      "title" => _("Lien instructeur / localisation / type de dossier"),
367          "title" => _("nature"),      "right" => array("lien_localisation_nature", "lien_localisation_nature_tab", ),
368          "right" => "nature"      "open" => array("tab.php|lien_localisation_nature", "form.php|lien_localisation_nature", ),
369      ));  );
370    //
371  // workflows  $links[] = array(
372      array_push($links,      "href" => "../scr/tab.php?obj=travaux",
373      array(      "class" => "travaux",
374          "title" => "<hr/>",      "title" => _("travaux"),
375          "right" => array("action_tab", "transition_tab", "etat_tab",      "right" => array("travaux", "travaux_tab", ),
376                           "evenement_tab", "bible", "avis")      "open" => array("tab.php|travaux", "form.php|travaux", ),
377      ));  );
378    //
379    array_push($links,  $links[] = array(
380      array(      "href" => "../scr/tab.php?obj=categorie_demandeur",
381          "href" => "../scr/tab.php?obj=action",      "class" => "categorie_demandeur",
382          "class" => "action",      "title" => _("categorie_demandeur"),
383          "title" => _("action"),      "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
384          "right" => "action"      "open" => array(
385      ));          "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
386        ),
387    array_push($links,  );
388      array(  //
389          "href" => "../scr/tab.php?obj=transition",  $links[] = array(
390          "class" => "transition",      "href" => "../scr/tab.php?obj=destination",
391          "title" => _("transition"),      "class" => "destination",
392          "right" => "transition"      "title" => _("destination"),
393      ));      "right" => array("destination", "destination_tab", ),
394          "open" => array("tab.php|destination", "form.php|destination", ),
395      array_push($links,  );
396      array(  //
397          "href" => "../scr/tab.php?obj=etat",  $links[] = array(
398          "class" => "etat",      "href" => "../scr/tab.php?obj=nature",
399          "title" => _("etat"),      "class" => "nature",
400          "right" => "etat"      "title" => _("nature"),
401      ));      "right" => array("nature", "nature_tab", ),
402        "open" => array("tab.php|nature", "form.php|nature", ),
403      array_push($links,  );
404        array(  //
405            "href" => "../scr/tab.php?obj=evenement",  $links[] = array(
406            "class" => "evenement",      "href" => "../scr/tab.php?obj=rivoli",
407            "title" => _("evenement"),      "class" => "rivoli",
408            "right" => "evenement"      "title" => _("rivoli"),
409        ));      "right" => array("rivoli", "rivoli_tab", ),
410            "open" => array("tab.php|rivoli", "form.php|rivoli", ),
411        array_push($links,  );
412      array(  //
413          "href" => "../scr/tab.php?obj=bible",  $links[] = array(
414          "class" => "bible",      "href" => "../scr/tab.php?obj=civilite",
415          "title" => _("bible"),      "class" => "civilite",
416          "right" => "bible"      "title" => _("civilite"),
417      ));      "right" => array("civilite", "civilite_tab", ),
418              "open" => array("tab.php|civilite", "form.php|civilite", ),
419    array_push($links,  );
420      array(  //
421          "href" => "../scr/tab.php?obj=avis",  $links[] = array(
422          "class" => "avis",      "href" => "../scr/tab.php?obj=parametre",
423          "title" => _("avis"),      "class" => "parametre",
424          "right" => "avis"      "title" => _("parametre")." "._("statistique"),
425      ));      "right" => array("parametre", "parametre_tab", ),
426        "open" => array("tab.php|parametre", "form.php|parametre", ),
427  // cadastre interne  );
428      array_push($links,  //
429      array(  $links[] = array(
430          "title" => "<hr/>",      "class" => "category",
431          "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")      "title" => _("workflows"),
432      ));      "right" => array(
433    array_push($links,          "action", "action_tab", "transition", "transition_tab", "etat",
434      array(          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
435          "href" => "../scr/tab.php?obj=parcelle",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
436          "class" => "parcelle",      ),
437          "title" => _("parcelle"),  );
438          "right" => "parcelle"  //
439      ));  $links[] = array(
440        "title" => "<hr/>",
441    array_push($links,      "right" => array(
442      array(          "action", "action_tab", "transition", "transition_tab", "etat",
443          "href" => "../scr/tab.php?obj=proprietaire",          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
444          "class" => "proprietaire",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
445          "title" => _("proprietaire"),      ),
446          "right" => "proprietaire"  );
447      ));  //
448    $links[] = array(
449    array_push($links,      "href" => "../scr/tab.php?obj=action",
450      array(      "class" => "action",
451          "href" => "../scr/tab.php?obj=civilite",      "title" => _("action"),
452          "class" => "civilite",      "right" => array("action", "action_tab", ),
453          "title" => _("civilite"),      "open" => array("tab.php|action", "form.php|action", ),
454          "right" => "civilite"  );
455      ));  //
456    $links[] = array(
457    array_push($links,      "href" => "../scr/tab.php?obj=transition",
458      array(      "class" => "transition",
459          "href" => "../scr/tab.php?obj=pos",      "title" => _("transition"),
460          "class" => "pos",      "right" => array("transition", "transition_tab", ),
461          "title" => _("pos"),      "open" => array("tab.php|transition", "form.php|transition", ),
462          "right" => "pos"  );
463      ));  //
464      $links[] = array(
465    array_push($links,      "href" => "../scr/tab.php?obj=etat",
466      array(      "class" => "etat",
467          "href" => "../scr/tab.php?obj=rivoli",      "title" => _("etat"),
468          "class" => "rivoli",      "right" => array("etat", "etat_tab", ),
469          "title" => _("rivoli"),      "open" => array("tab.php|etat", "form.php|etat", ),
470          "right" => "rivoli"  );
471      ));  //
472    $links[] = array(
473        "href" => "../scr/tab.php?obj=evenement",
474        "class" => "evenement",
475        "title" => _("evenement"),
476        "right" => array("evenement", "evenement_tab", ),
477        "open" => array("tab.php|evenement", "form.php|evenement", ),
478    );
479    //
480    $links[] = array(
481        "href" => "../scr/tab.php?obj=bible",
482        "class" => "bible",
483        "title" => _("bible"),
484        "right" => array("bible", "bible_tab", ),
485        "open" => array("tab.php|bible", "form.php|bible", ),
486    );
487    //
488    $links[] = array(
489        "href" => "../scr/tab.php?obj=avis_decision",
490        "class" => "avis_decision",
491        "title" => _("avis decision"),
492        "right" => array("avis_decision", "avis_decision_tab", ),
493        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
494    );
495    //
496    $links[] = array(
497        "href" => "../scr/tab.php?obj=avis_consultation",
498        "class" => "avis_consultation",
499        "title" => _("avis consultation"),
500        "right" => array("avis_consultation", "avis_consultation_tab", ),
501        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
502    );
503    //
504    $links[] = array(
505        "class" => "category",
506        "title" => _("Organisation"),
507        "right" => array("direction", "division", "instructeur"),
508    );
509    $links[] = array(
510        "title" => "<hr/>",
511        "right" => array("direction", "division", "instructeur"),
512    );
513    //
514    $links[] = array(
515        "href" => "../scr/tab.php?obj=direction",
516        "class" => "direction",
517        "title" => _("direction"),
518        "right" => array("direction", "direction_tab", ),
519        "open" => array("tab.php|direction", "form.php|direction", ),
520    );
521    //
522    $links[] = array(
523        "href" => "../scr/tab.php?obj=division",
524        "class" => "division",
525        "title" => _("division"),
526        "right" => array("division", "division_tab", ),
527        "open" => array("tab.php|division", "form.php|division", ),
528    );
529    //
530    $links[] = array(
531        "href" => "../scr/tab.php?obj=instructeur",
532        "class" => "instructeur",
533        "title" => _("instructeur"),
534        "right" => array("instructeur", "instructeur_tab", ),
535        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
536    );
537    //
538    $links[] = array(
539        "class" => "category",
540        "title" => _("editions"),
541        "right" => array(
542            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
543            "om_lettretype", "om_lettretype_tab",
544        ),
545    );
546    //
547    $links[] = array(
548        "title" => "<hr/>",
549        "right" => array(
550            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
551            "om_lettretype", "om_lettretype_tab",
552        ),
553    );
554    //
555    $links[] = array(
556        "href" => "../scr/tab.php?obj=om_etat",
557        "class" => "etat",
558        "title" => _("om_etat"),
559        "right" => array("om_etat", "om_etat_tab", ),
560        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
561    );
562    //
563    $links[] = array(
564        "href" => "../scr/tab.php?obj=om_sousetat",
565        "class" => "sousetat",
566        "title" => _("om_sousetat"),
567        "right" => array("om_sousetat", "om_sousetat_tab", ),
568        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
569    );
570    //
571    $links[] = array(
572        "href" => "../scr/tab.php?obj=om_lettretype",
573        "class" => "lettretype",
574        "title" => _("om_lettretype"),
575        "right" => array("om_lettretype", "om_lettretype_tab"),
576        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
577    );
578    //
579  $rubrik['links'] = $links;  $rubrik['links'] = $links;
580  array_push($menu, $rubrik);  //
581    $menu[] = $rubrik;
582    // }}}
   
583    
584    // {{{ Rubrique SIG
585    //
586    $rubrik = array(
587        "title" => _("sig"),
588        "class" => "sig",
589        "right" => "menu_sig",
590    );
591    //
592    $links = array();
593    //
594    $links[] = array(
595        "href" => "../scr/tab.php?obj=parcelle",
596        "class" => "parcelle",
597        "title" => _("parcelle"),
598        "right" => array("parcelle", "parcelle_tab"),
599        "open" => array("tab.php|parcelle", "form.php|parcelle", ),
600    );
601    //
602    $links[] = array(
603        "href" => "../scr/tab.php?obj=proprietaire",
604        "class" => "proprietaire",
605        "title" => _("proprietaire"),
606        "right" => array("proprietaire", "proprietaire_tab"),
607        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
608    );
609    //
610    $links[] = array(
611        "class" => "category",
612        "title" => _("servitudes"),
613        "right" => array(
614            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
615            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
616            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
617        ),
618    );
619    //
620    $links[] = array(
621        "title" => "<hr/>",
622        "right" => array(
623            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
624            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
625            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
626        ),
627    );
628    //
629    $links[] = array(
630        "href" => "../scr/tab.php?obj=pos",
631        "class" => "pos",
632        "title" => _("pos"),
633        "right" => array("pos", "pos_tab"),
634        "open" => array("tab.php|pos", "form.php|pos", ),
635    );
636    //
637    $links[] = array(
638        "href" => "../scr/tab.php?obj=servitude_surfacique",
639        "class" => "servitude_surfacique",
640        "title" => _("servitude_surfacique"),
641        "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
642        "open" => array(
643            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
644        ),
645    );
646    //
647    $links[] = array(
648        "href" => "../scr/tab.php?obj=servitude_ligne",
649        "class" => "servitude_ligne",
650        "title" => _("servitude_ligne"),
651        "right" => array("servitude_ligne", "servitude_ligne_tab"),
652        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
653    );
654    //
655    $links[] = array(
656        "href" => "../scr/tab.php?obj=servitude_point",
657        "class" => "servitude_point",
658        "title" => _("servitude_point"),
659        "right" => array("servitude_point", "servitude_point_tab"),
660        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
661    );
662    //
663    $links[] = array(
664        "href" => "../scr/tab.php?obj=parcelle_lot",
665        "class" => "parcelle_lot",
666        "title" => _("parcelle_lot"),
667        "right" => array("parcelle_lot", "parcelle_lot_tab"),
668        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
669    );
670    //
671    $rubrik['links'] = $links;
672    //
673    $menu[] = $rubrik;
674    // }}}
675    
676  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
677  //  //
678  $rubrik = array(  $rubrik = array(
679      "title" => _("Administration"),      "title" => _("administration"),
680      "class" => "administration",      "class" => "administration",
681      "right" => "menu_administration",      "right" => "menu_administration",
682  );  );
683  //  //
684  $links = array();  $links = array();
685  array_push($links,  //
686      array(  $links[] = array(
687          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
688          "class" => "collectivite",      "class" => "collectivite",
689          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
690          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
691      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
692  array_push($links,  );
693      array(  //
694          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
695          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
696          "title" => _("om_parametre"),      "class" => "parametre",
697          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
698      ));      "right" => array("om_parametre", "om_parametre_tab", ),
699        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
700    );
701  array_push($links,  //
702      array(  $links[] = array(
703          "title" => "<hr/>",      "class" => "category",
704          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
705      ));      "right" => array(
706  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
707      array(          "om_droit", "om_droit_tab", "directory",
708          "href" => "../scr/tab.php?obj=om_profil",      ),
709          "class" => "profil",  );
710          "title" => _("om_profil"),  //
711          "right" => "om_profil_tab"  $links[] = array(
712      ));      "title" => "<hr/>",
713  array_push($links,      "right" => array(
714      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
715          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
716          "class" => "droit",      ),
717          "title" => _("om_droit"),  );
718          "right" => "om_droit_multi"  //
719      ));  $links[] = array(
720  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
721      array(      "class" => "profil",
722          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
723          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
724          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
725          "right" => "om_utilisateur_tab"  );
726      ));  //
727  array_push($links,  $links[] = array(
728      array(      "href" => "../scr/tab.php?obj=om_droit",
729          "title" => "<hr/>",      "class" => "droit",
730          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
731      ));      "right" => array("om_droit", "om_droit_tab", ),
732  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
733      array(  );
734          "href" => "../scr/tab.php?obj=om_etat",  //
735          "class" => "etat",  $links[] = array(
736          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
737          "right" => "om_etat_tab"      "class" => "utilisateur",
738      ));      "title" => _("om_utilisateur"),
739  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
740      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
741          "href" => "../scr/tab.php?obj=om_sousetat",  );
742          "class" => "sousetat",  //
743          "title" => _("om_sousetat"),  $links[] = array(
744          "right" => "om_sousetat_tab"      "title" => "<hr/>",
745      ));      "right" => array("directory", ),
746  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
747      array(  );
748          "href" => "../scr/tab.php?obj=om_lettretype",  //
749          "class" => "lettretype",  $links[] = array(
750          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
751          "right" => "om_lettretype_tab"      "class" => "directory",
752      ));      "title" => _("annuaire"),
753  array_push($links,      "right" => array("directory", ),
754      array(      "open" => array("directory.php|", ),
755          "href" => "../scr/tab.php?obj=om_sig_point",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
756          "class" => "om_sig_point",  );
757          "title" => _("om SIG"),  //
758          "right" => "om_sig_point_tab"  $links[] = array(
759      ));      "class" => "category",
760  array_push($links,      "title" => _("tableaux de bord"),
761      array(      "right" => array("om_widget", "om_widget_tab", ),
762          "href" => "../scr/tab.php?obj=om_widget",  );
763          "class" => "om_widget",  //
764          "title" => _("widget"),  $links[] = array(
765          "right" => "om_widget"      "title" => "<hr/>",
766      ));      "right" => array("om_widget", "om_widget_tab", ),
767  array_push($links,  );
768      array(  //
769          "title" => "<hr/>",  $links[] = array(
770          "right" => array("import"),      "href" => "../scr/tab.php?obj=om_widget",
771      ));      "class" => "om_widget",
772  array_push($links,      "title" => _("widget"),
773      array(      "right" => array("om_widget", "om_widget_tab", ),
774          "href" => "../scr/import.php",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
775          "class" => "import",  );
776          "title" => _("Import"),  //
777          "right" => "import"  $links[] = array(
778      ));      "class" => "category",
779        "title" => _("sig"),
780  array_push($links,      "right" => array(
781      array(          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
782          "title" => "<hr/>",      ),
783          "right" => array("gen"),  );
784      ));  //
785  array_push($links,  $links[] = array(
786      array(      "title" => "<hr/>",
787          "title" => _("Generateur"),      "right" => array(
788          "href" => "../scr/gen.php",          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
789          "class" => "generator",      ),
790          "right" => "gen",  );
791      ));  //
792    $links[] = array(
793        "href" => "../scr/tab.php?obj=om_sig_map",
794        "class" => "om_sig_map",
795        "title" => _("om_sig_map"),
796        "right" => array("om_sig_map", "om_sig_map_tab", ),
797        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
798    );
799    //
800    $links[] = array(
801        "href" => "../scr/tab.php?obj=om_sig_wms",
802        "class" => "om_sig_wms",
803        "title" => _("om_sig_wms"),
804        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
805        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
806    );
807    //
808    $links[] = array(
809        "class" => "category",
810        "title" => _("options avancees"),
811        "right" => array("import", "gen", ),
812    );
813    //
814    $links[] = array(
815        "title" => "<hr/>",
816        "right" => array("import", ),
817    );
818    //
819    $links[] = array(
820        "href" => "../scr/import.php",
821        "class" => "import",
822        "title" => _("Import"),
823        "right" => array("import", ),
824        "open" => array("import.php|", ),
825    );
826    //
827    $links[] = array(
828        "title" => "<hr/>",
829        "right" => array("gen", ),
830    );
831    //
832    $links[] = array(
833        "title" => _("Generateur"),
834        "href" => "../scr/gen.php",
835        "class" => "generator",
836        "right" => array("gen", ),
837        "open" => array(
838            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
839            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
840            "genimport.php|",
841        ),
842    );
843    //
844  $rubrik['links'] = $links;  $rubrik['links'] = $links;
845  array_push($menu, $rubrik);  //
846    $menu[] = $rubrik;
847  // }}}  // }}}
848    
849  ?>  ?>

Legend:
Removed from v.70  
changed lines
  Added in v.583

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26