/[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 326 by fraynaud, Tue May 22 17:39:34 2012 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" => _("Instruction"),      "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    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" => "PC",      "title" => _("PD"),
43          "open"  => "|PC"      "right" => array("PD", "PD_tab", ),
44      ));      "open" => array("tab.php|PD", "form.php|PD", ),
45      );
46    array_push($links,  //
47      array(  $links[] = array(
48          "href" => "../scr/tab.php?obj=DP",      "href" => "../scr/tab.php?obj=PA",
49          "class" => "dossier",      "class" => "dossier",
50          "title" => _("DP"),      "title" => _("PA"),
51          "right" => "DP",      "right" => array("PA", "PA_tab", ),
52          "open"  => "|DP"      "open" => array("tab.php|PA", "form.php|PA", ),
53      ));  );
54    //
55    $links[] = array(
56    array_push($links,      "title" => "<hr/>",
57      array(      "right" => array(
58          "href" => "../scr/tab.php?obj=PD",          "PC_accueil", "PC_accueil_tab", "DP_accueil", "DP_accueil_tab",
59          "class" => "dossier",          "PD_accueil", "PD_accueil_tab", "PA_accueil", "PA_accueil_tab",
60          "title" => _("PD"),      ),
61          "right" => "PD",  );
62          "open"  => "|PD"  //
63      ));  $links[] = array(
64        "href" => "../scr/tab.php?obj=PC_accueil",
65    array_push($links,      "class" => "dossier",
66      array(      "title" => _("PC - accueil"),
67          "href" => "../scr/tab.php?obj=PA",      "right" => array("PC_accueil", "PC_accueil_tab", ),
68          "class" => "dossier",      "open" => array("tab.php|PC_accueil", "form.php|PC_accueil", ),
69          "title" => _("PA"),  );
70          "right" => "PA",  //
71          "open"  => "|PA"  $links[] = array(
72      ));      "href" => "../scr/tab.php?obj=DP_accueil",
73        "class" => "dossier",
74  array_push($links,      "title" => _("DP - accueil"),
75      array(      "right" => array("DP_accueil", "DP_accueil_tab", ),
76          "title" => "<hr/>",      "open" => array("tab.php|DP_accueil", "form.php|DP_accueil", ),
77          "right" => array(),  );
78      ));  //
79    $links[] = array(
80    array_push($links,      "href" => "../scr/tab.php?obj=PD_accueil",
81      array(      "class" => "dossier",
82          "href" => "../scr/tab.php?obj=PC_accueil",      "title" => _("PD - accueil"),
83          "class" => "dossier",      "right" => array("PD_accueil", "PD_accueil_tab", ),
84          "title" => _("PC - accueil"),      "open" => array("tab.php|PD_accueil", "form.php|PD_accueil", ),
85          "right" => "PC_accueil",  );
86          "open"  => "|PC_accueil"  //
87      ));  $links[] = array(
88          "href" => "../scr/tab.php?obj=PA_accueil",
89    array_push($links,      "class" => "dossier",
90      array(      "title" => _("PA - accueil"),
91          "href" => "../scr/tab.php?obj=DP_accueil",      "right" => array("PA_accueil", "PA_accueil_tab", ),
92          "class" => "dossier",      "open" => array("tab.php|PA_accueil", "form.php|PA_accueil", ),
93          "title" => _("DP - accueil"),  );
94          "right" => "DP_accueil",  //
95          "open"  => "|DP_accueil"  $links[] = array(
96      ));      "title" => "<hr/>",
97        "right" => array("PC_modificatif", "PC_modificatif_tab", ),
98    );
99    array_push($links,  //
100      array(  $links[] = array(
101          "href" => "../scr/tab.php?obj=PD_accueil",      "href" => "../scr/tab.php?obj=PC_modificatif",
102          "class" => "dossier",      "class" => "traitement",
103          "title" => _("PD - accueil"),      "title" => _("modificatif transfert"),
104          "right" => "PD_accueil",      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
105          "open"  => "|PD_accueil"      "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
106      ));  );
107    //
108    array_push($links,  $links[] = array(
109      array(      "title" => "<hr/>",
110          "href" => "../scr/tab.php?obj=PA_accueil",      "right" => array("recherchedossier", ),
111          "class" => "dossier",  );
112          "title" => _("PA - accueil"),  //
113          "right" => "PA_accueil",  $links[] = array(
114          "open"  => "|PA_accueil"      "href" => "../app/recherchedossier.php",
115      ));      "class" => "dossier",
116        "title" => _("Recherche dossier"),
117      array_push($links,      "right" => "recherchedossier",
118      array(      "open" => "recherchedossier.php|",
119          "title" => "<hr/>",  );
120          "right" => array(),  $links[] = array(
121      ));      "class" => "subtitle",
122        "title" => _("Consultation"),
123      array_push($links,      "right" => "consultation"
124      array(  );
125          "href" => "../scr/tab.php?obj=PC_modificatif",  $links[] = array(
126          "class" => "traitement",      "href" => "../scr/tab.php?obj=consultation_mes_retours",
127          "title" => _("modificatif transfert"),      "class" => "consultation_mes_retours",
128          "right" => "PC_modificatif",      "title" => _("Mes retours"),
129          "open"  => array("|PC_modificatif","dossier_modificatif.php|")      "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
130      ));      "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
131    );
132      array_push($links,  $links[] = array(
133      array(      "href" => "../scr/tab.php?obj=consultation_tous_retours",
134          "title" => "<hr/>",      "class" => "consultation_tous_retours",
135          "right" => array(),      "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      array_push($links,  );
139      array(  //
         "href" => "../app/recherchedossier.php",  
         "class" => "dossier",  
         "title" => _("Recherche dossier"),  
         "right" => "recherchedossier",  
         "open"  => "recherchedossier.php|"  
     ));  
   
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|"      "open" => "edition.php|",
161      ));  );
162  array_push($links,  //
163      array(  $links[] = array(
164          "href" => "../app/edition_p.php",      "href" => "../app/edition_p.php",
165          "class" => "edition",      "class" => "edition",
166          "title" => _("Edition date depot"),      "title" => _("edition date depot"),
167          "right" => "edition_p",      "right" => "edition_p",
168          "open"  => "edition_p.php|"      "open" => "edition_p.php|",
169      ));  );
170    //
171  array_push($links,  $links[] = array(
172      array(      "href" => "../app/edition_d.php",
173          "href" => "../app/edition_d.php",      "class" => "edition",
174          "class" => "edition",      "title" => _("edition date decision"),
175          "title" => _("Edition date decision"),      "right" => "edition_d",
176          "right" => "edition_d",      "open" => "edition_d.php|",
177          "open"  => "edition_d.php|"  );
178      ));  //
179    $links[] = array(
180      array_push($links,      "title" => "<hr/>",
181      array(      "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
182          "title" => "<hr/>",  );
183          "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel")  //
184      ));  $links[] = array(
185        "href" => "../scr/reqmo.php",
186  array_push($links,      "class" => "reqmo",
187      array(      "title" => _("requetes memorisees"),
188          "href" => "../scr/reqmo.php",      "right" => "reqmo",
189          "class" => "reqmo",      "open" => array("reqmo.php|", "requeteur.php|", ),
190          "title" => _("Requetes memorisees"),  );
191          "right" => "reqmo",  //
192          "open"  => array("reqmo.php|","requeteur.php|",),  $links[] = array(
193      ));      "href" => "../app/export_pc.php",
194        "class" => "reqmo",
195      array_push($links,      "title" => _("export PC Lascot"),
196      array(      "right" => "export_pc",
197          "href" => "../app/export_pc.php",      "open" => "export_pc.php|",
198          "class" => "reqmo",  );
199          "title" => _("export PC Lascot"),  //
200          "right" => "export_pc",  $links[] = array(
201          "open"  => "export_pc.php|"      "href" => "../app/export_dp.php",
202      ));      "class" => "reqmo",
203            "title" => _("export DP Lascot"),
204      array_push($links,      "right" => "export_dp",
205      array(      "open" => "export_dp.php|",
206          "href" => "../app/export_dp.php",  );
207          "class" => "reqmo",  //
208          "title" => _("export DP Lascot"),  $links[] = array(
209          "right" => "export_dp",      "href" => "../app/sitadel.php",
210          "open"  => "export_dp.php|"      "class" => "reqmo",
211      ));      "title" => _("export sitadel")." 2",
212        "right" => "export_sitadel",
213      array_push($links,      "open" => "sitadel.php|",
214      array(  );
215          "href" => "../app/sitadel.php",  //
         "class" => "reqmo",  
         "title" => _("export")._("sitadel")." 2",  
         "right" => "export_sitadel",  
         "open"  => "sitadel.php|"  
     ));  
   
   
216  $rubrik['links'] = $links;  $rubrik['links'] = $links;
217  array_push($menu, $rubrik);  //
218    $menu[] = $rubrik;
219  // }}}  // }}}
 // {{{  Rubrique parametrage de l'application  
220    
221    // {{{ Rubrique PARAMETRAGE
222    //
223  $rubrik = array(  $rubrik = array(
224      "title" => _("Parametrage"),      "title" => _("parametrage"),
225      "class" => "parametrage",      "class" => "parametrage",
226      "right" => "menu_parametrage",      "right" => "menu_parametrage",
227  );  );
228    //
229  $links = array();  $links = array();
230  // *** TABLES DE PARAMETRAGE ***  //
231  // inserer ici vos tables de parametres  // 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" => "../scr/tab.php?obj=nom_table",      "right" => "dossier_numeromanuel",
237          "class" => "nom_table",      "open" => "|dossier_numeromanuel",
238          "title" => _("nom_table"),  );
239          "right" => "nom_table"  //
240      ));  $links[] = array(
241  */      "href" => "../app/num_dossier.php",
242  // ========================================================================      "class" => "traitement",
243        "title" => _("remise a 0"),
244        "right" => "num_dossier",
245  // param gaux      "open" => "num_dossier.php|",
246    );
247      array_push($links,  //
248      array(  $links[] = array(
249          "href" => "../scr/form.php?obj=dossier_numeromanuel",      "title" => "<hr/>",
250          "class" => "traitement",      "right" => array(
251          "title" => _("numero manuel"),          "architecte", "architecte_tab", "service", "service_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
252          "right" => "dossier_numeromanuel",           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
253          "open"  => "|dossier_numeromanuel"          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
254      ));          "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
255        ),
256      array_push($links,  );
257      array(  //
258          "href" => "../app/num_dossier.php",  $links[] = array(
259          "class" => "traitement",      "href" => "../scr/tab.php?obj=architecte",
260          "title" => _("remise a 0"),      "class" => "architecte",
261          "right" => "num_dossier",      "title" => _("architecte"),
262          "open"  => "num_dossier.php|"      "right" => array("architecte", "architecte_tab", ),
263      ));      "open" => array("tab.php|architecte", "form.php|architecte", ),
264    );
265      array_push($links,  //
266      array(  $links[] = array(
267          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=service",
268          "right" => array(),      "class" => "service",
269      ));      "title" => _("service"),
270        "right" => array("service", "service_tab", ),
271        "open" => array("tab.php|service", "form.php|service", ),
272    array_push($links,  );
273      array(  $links[] = array(
274          "href" => "../scr/tab.php?obj=architecte",      "href" => "../scr/tab.php?obj=service_categorie",
275          "class" => "architecte",      "class" => "service_categorie",
276          "title" => _("architecte"),      "title" => _("thematique des services"),
277          "right" => "architecte",      "right" => array("service_categorie", "service_categorie_tab", ),
278          "open"  => "|architecte"      "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    array_push($links,      "title" => _("Lien service / thematique"),
284      array(      "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
285          "href" => "../scr/tab.php?obj=service",      "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
286          "class" => "service",  );
287          "title" => _("service"),  //
288          "right" => "service",  $links[] = array(
289          "open"  => "|service"      "href" => "../scr/tab.php?obj=travaux",
290      ));      "class" => "travaux",
291          "title" => _("travaux"),
292    array_push($links,      "right" => array("travaux", "travaux_tab", ),
293      array(      "open" => array("tab.php|travaux", "form.php|travaux", ),
294          "href" => "../scr/tab.php?obj=travaux",  );
295          "class" => "travaux",  //
296          "title" => _("travaux"),  $links[] = array(
297          "right" => "travaux",      "href" => "../scr/tab.php?obj=categorie_demandeur",
298          "open"  => "|travaux",      "class" => "categorie_demandeur",
299      ));      "title" => _("categorie_demandeur"),
300        "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
301    array_push($links,      "open" => array(
302      array(          "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
303          "href" => "../scr/tab.php?obj=categorie_demandeur",      ),
304          "class" => "categorie_demandeur",  );
305          "title" => _("categorie_demandeur"),  //
306          "right" => "categorie_demandeur",  $links[] = array(
307          "open"  => "|categorie_demandeur"      "href" => "../scr/tab.php?obj=destination",
308      ));      "class" => "destination",
309          "title" => _("destination"),
310    array_push($links,      "right" => array("destination", "destination_tab", ),
311      array(      "open" => array("tab.php|destination", "form.php|destination", ),
312          "href" => "../scr/tab.php?obj=destination",  );
313          "class" => "destination",  //
314          "title" => _("destination"),  $links[] = array(
315          "right" => "destination",      "href" => "../scr/tab.php?obj=nature",
316          "open"  => "|destination"      "class" => "nature",
317      ));      "title" => _("nature"),
318        "right" => array("nature", "nature_tab", ),
319    array_push($links,      "open" => array("tab.php|nature", "form.php|nature", ),
320      array(  );
321          "href" => "../scr/tab.php?obj=nature",  //
322          "class" => "nature",  $links[] = array(
323          "title" => _("nature"),      "href" => "../scr/tab.php?obj=rivoli",
324          "right" => "nature",      "class" => "rivoli",
325          "open"  => "|nature"      "title" => _("rivoli"),
326      ));      "right" => array("rivoli", "rivoli_tab", ),
327        "open" => array("tab.php|rivoli", "form.php|rivoli", ),
328    array_push($links,  );
329      array(  //
330          "href" => "../scr/tab.php?obj=rivoli",  $links[] = array(
331          "class" => "rivoli",      "href" => "../scr/tab.php?obj=civilite",
332          "title" => _("rivoli"),      "class" => "civilite",
333          "right" => "rivoli",      "title" => _("civilite"),
334          "open"  => "|rivoli"      "right" => array("civilite", "civilite_tab", ),
335      ));      "open" => array("tab.php|civilite", "form.php|civilite", ),
336    );
337    array_push($links,  //
338      array(  $links[] = array(
339          "href" => "../scr/tab.php?obj=civilite",      "href" => "../scr/tab.php?obj=parametre",
340          "class" => "civilite",      "class" => "parametre",
341          "title" => _("civilite"),      "title" => _("parametre")." "._("statistique"),
342          "right" => "civilite",      "right" => array("parametre", "parametre_tab", ),
343          "open"  => "|civilite"      "open" => array("tab.php|parametre", "form.php|parametre", ),
344      ));  );
345    //
346    $links[] = array(
347        "class" => "category",
348        "title" => _("workflows"),
349    array_push($links,      "right" => array(
350      array(          "action", "action_tab", "transition", "transition_tab", "etat",
351          "href" => "../scr/tab.php?obj=parametre",          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
352          "class" => "parametre",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
353          "title" => _("parametre")." "._("statistique"),      ),
354          "right" => "parametre",  );
355          "open"  => "|parametre"  //
356      ));  $links[] = array(
357        "title" => "<hr/>",
358        "right" => array(
359            "action", "action_tab", "transition", "transition_tab", "etat",
360  // workflows          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
361      array_push($links,          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
362      array(      ),
363          "title" => "<hr/>",  );
364          "right" => array("action_tab", "transition_tab", "etat_tab",  //
365                           "evenement_tab", "bible", "avis")  $links[] = array(
366      ));      "href" => "../scr/tab.php?obj=action",
367        "class" => "action",
368    array_push($links,      "title" => _("action"),
369      array(      "right" => array("action", "action_tab", ),
370          "href" => "../scr/tab.php?obj=action",      "open" => array("tab.php|action", "form.php|action", ),
371          "class" => "action",  );
372          "title" => _("action"),  //
373          "right" => "action",  $links[] = array(
374          "open"  => "|action"      "href" => "../scr/tab.php?obj=transition",
375      ));      "class" => "transition",
376        "title" => _("transition"),
377    array_push($links,      "right" => array("transition", "transition_tab", ),
378      array(      "open" => array("tab.php|transition", "form.php|transition", ),
379          "href" => "../scr/tab.php?obj=transition",  );
380          "class" => "transition",  //
381          "title" => _("transition"),  $links[] = array(
382          "right" => "transition",      "href" => "../scr/tab.php?obj=etat",
383          "open"  => "|transition"      "class" => "etat",
384      ));      "title" => _("etat"),
385          "right" => array("etat", "etat_tab", ),
386      array_push($links,      "open" => array("tab.php|etat", "form.php|etat", ),
387      array(  );
388          "href" => "../scr/tab.php?obj=etat",  //
389          "class" => "etat",  $links[] = array(
390          "title" => _("etat"),      "href" => "../scr/tab.php?obj=evenement",
391          "right" => "etat",      "class" => "evenement",
392          "open"  => "|etat"      "title" => _("evenement"),
393      ));      "right" => array("evenement", "evenement_tab", ),
394        "open" => array("tab.php|evenement", "form.php|evenement", ),
395      array_push($links,  );
396        array(  //
397            "href" => "../scr/tab.php?obj=evenement",  $links[] = array(
398            "class" => "evenement",      "href" => "../scr/tab.php?obj=bible",
399            "title" => _("evenement"),      "class" => "bible",
400            "right" => "evenement",      "title" => _("bible"),
401            "open"  => "|evenement"      "right" => array("bible", "bible_tab", ),
402        ));      "open" => array("tab.php|bible", "form.php|bible", ),
403        );
404      array_push($links,  //
405      array(  $links[] = array(
406          "href" => "../scr/tab.php?obj=bible",      "href" => "../scr/tab.php?obj=avis_decision",
407          "class" => "bible",      "class" => "avis_decision",
408          "title" => _("bible"),      "title" => _("avis decision"),
409          "right" => "bible",      "right" => array("avis_decision", "avis_decision_tab", ),
410          "open"  => "|bible"      "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
411      ));  );
412          //
413      array_push($links,  $links[] = array(
414      array(      "href" => "../scr/tab.php?obj=avis_consultation",
415          "href" => "../scr/tab.php?obj=avis",      "class" => "avis_consultation",
416          "class" => "avis",      "title" => _("avis consultation"),
417          "title" => _("avis"),      "right" => array("avis_consultation", "avis_consultation_tab", ),
418          "right" => "avis",      "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
419          "open"  => "|avis"  );
420      ));  //
421    array_push($links,  $links[] = array(
422      array(      "class" => "category",
423          "title" => "<hr/>",      "title" => _("editions"),
424          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "right" => array(
425      ));          "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
426    array_push($links,          "om_lettretype", "om_lettretype_tab",
427      array(      ),
428          "href" => "../scr/tab.php?obj=om_etat",  );
429          "class" => "etat",  //
430          "title" => _("om_etat"),  $links[] = array(
431          "right" => "om_etat_tab",      "title" => "<hr/>",
432          "open"  => "|om_etat"      "right" => array(
433      ));          "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
434    array_push($links,          "om_lettretype", "om_lettretype_tab",
435      array(      ),
436          "href" => "../scr/tab.php?obj=om_sousetat",  );
437          "class" => "sousetat",  //
438          "title" => _("om_sousetat"),  $links[] = array(
439          "right" => "om_sousetat_tab",      "href" => "../scr/tab.php?obj=om_etat",
440          "open"  => "|om_sousetat"      "class" => "etat",
441      ));      "title" => _("om_etat"),
442    array_push($links,      "right" => array("om_etat", "om_etat_tab", ),
443      array(      "open" => array("tab.php|om_etat", "form.php|om_etat", ),
444          "href" => "../scr/tab.php?obj=om_lettretype",  );
445          "class" => "lettretype",  //
446          "title" => _("om_lettretype"),  $links[] = array(
447          "right" => "om_lettretype_tab",      "href" => "../scr/tab.php?obj=om_sousetat",
448          "open"  => "|om_lettretype"      "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  //{{{ SIG  // }}}
466    
467    // {{{ Rubrique SIG
468    //
469  $rubrik = array(  $rubrik = array(
470      "title" => _("SIG"),      "title" => _("sig"),
471      "class" => "sig",      "class" => "sig",
472      "right" => "menu_sig",      "right" => "menu_sig",
473  );  );
474    //
475  $links = array();  $links = array();
476    array_push($links,  //
477      array(  $links[] = array(
478          "href" => "../scr/tab.php?obj=parcelle",      "href" => "../scr/tab.php?obj=parcelle",
479          "class" => "parcelle",      "class" => "parcelle",
480          "title" => _("parcelle"),      "title" => _("parcelle"),
481          "right" => "parcelle",      "right" => array("parcelle", "parcelle_tab"),
482          "open"  => "|parcelle",      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
483      ));  );
484    //
485    array_push($links,  $links[] = array(
486      array(      "href" => "../scr/tab.php?obj=proprietaire",
487          "href" => "../scr/tab.php?obj=proprietaire",      "class" => "proprietaire",
488          "class" => "proprietaire",      "title" => _("proprietaire"),
489          "title" => _("proprietaire"),      "right" => array("proprietaire", "proprietaire_tab"),
490          "right" => "proprietaire",      "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
491          "open"  => "|proprietaire"  );
492      ));  //
493    $links[] = array(
494        "class" => "category",
495        "title" => _("servitudes"),
496          "right" => array(
497    // servitudes          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
498    array_push($links,          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
499      array(          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
500          "title" => "<hr/>",      ),
501          "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")  );
502          ));  //
503      array_push($links,  $links[] = array(
504      array(      "title" => "<hr/>",
505          "href" => "../scr/tab.php?obj=pos",      "right" => array(
506          "class" => "pos",          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
507          "title" => _("pos"),          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
508          "right" => "pos",          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
509          "open"  => "|pos",      ),
510      ));  );
511    array_push($links,  //
512      array(  $links[] = array(
513          "href" => "../scr/tab.php?obj=servitude_surfacique",      "href" => "../scr/tab.php?obj=pos",
514          "class" => "servitude",      "class" => "pos",
515          "title" => _("servitude")." "._("surfacique"),      "title" => _("pos"),
516          "right" => "servitude_surfacique",      "right" => array("pos", "pos_tab"),
517          "open"  => "|servitude_surfacique"      "open" => array("tab.php|pos", "form.php|pos", ),
518      ));  );
519    array_push($links,  //
520      array(  $links[] = array(
521          "href" => "../scr/tab.php?obj=servitude_ligne",      "href" => "../scr/tab.php?obj=servitude_surfacique",
522          "class" => "servitude",      "class" => "servitude_surfacique",
523          "title" => _("servitude")." "._("ligne"),      "title" => _("servitude_surfacique"),
524          "right" => "servitude_ligne",      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
525          "open"  => "|servitude_ligne"      "open" => array(
526      ));          "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
527    array_push($links,      ),
528      array(  );
529          "href" => "../scr/tab.php?obj=servitude_point",  //
530          "class" => "servitude",  $links[] = array(
531          "title" => _("servitude")." "._("point"),      "href" => "../scr/tab.php?obj=servitude_ligne",
532          "right" => "servitude_point",      "class" => "servitude_ligne",
533          "open"  => "|servitude_point"      "title" => _("servitude_ligne"),
534      ));      "right" => array("servitude_ligne", "servitude_ligne_tab"),
535        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
536    array_push($links,  );
537      array(  //
538          "href" => "../scr/tab.php?obj=parcelle_lot",  $links[] = array(
539          "class" => "parcelle",      "href" => "../scr/tab.php?obj=servitude_point",
540          "title" => _("parcelle")." "._("lot"),      "class" => "servitude_point",
541          "right" => "parcelle_lot",      "title" => _("servitude_point"),
542          "open"  => "|parcelle_lot"      "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"  => "|om_collectivite"      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
575      ));  );
576  array_push($links,  //
577      array(  $links[] = array(
578          "href" => "../scr/tab.php?obj=om_parametre",      "href" => "../scr/tab.php?obj=om_parametre",
579          "class" => "collectivite",      "class" => "parametre",
580          "title" => _("om_parametre"),      "title" => _("om_parametre"),
581          "right" => "om_parametre_tab",      "right" => array("om_parametre", "om_parametre_tab", ),
582          "open"  => "|om_parametre"      "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
583      ));  );
584    //
585    $links[] = array(
586  array_push($links,      "class" => "category",
587      array(      "title" => _("gestion des utilisateurs"),
588          "title" => "<hr/>",      "right" => array(
589          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
590      ));          "om_droit", "om_droit_tab", "directory",
591  array_push($links,      ),
592      array(  );
593          "href" => "../scr/tab.php?obj=om_profil",  //
594          "class" => "profil",  $links[] = array(
595          "title" => _("om_profil"),      "title" => "<hr/>",
596          "right" => "om_profil_tab",      "right" => array(
597          "open"  => "|om_profil"          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
598      ));          "om_droit", "om_droit_tab",
599  array_push($links,      ),
600      array(  );
601          "href" => "../scr/tab.php?obj=om_droit",  //
602          "class" => "droit",  $links[] = array(
603          "title" => _("om_droit"),      "href" => "../scr/tab.php?obj=om_profil",
604          "right" => "om_droit_multi",      "class" => "profil",
605          "open"  => "|om_droit"      "title" => _("om_profil"),
606      ));      "right" => array("om_profil", "om_profil_tab", ),
607  array_push($links,      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
608      array(  );
609          "href" => "../scr/tab.php?obj=om_utilisateur",  //
610          "class" => "utilisateur",  $links[] = array(
611          "title" => _("om_utilisateur"),      "href" => "../scr/tab.php?obj=om_droit",
612          "right" => "om_utilisateur_tab",      "class" => "droit",
613          "open"  => "|om_utilisateur"      "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          "title" => "<hr />",  //
618          "right" => array("directory"),  $links[] = array(
619      ));      "href" => "../scr/tab.php?obj=om_utilisateur",
620  array_push($links,      "class" => "utilisateur",
621      array(      "title" => _("om_utilisateur"),
622          "href" => "../scr/directory.php",      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
623          "title" => _("Annuaire"),      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
624          "right" => "directory",  );
625          "class" => "utilisateur",  //
626          "open"  => "directory.php|"  $links[] = array(
627      ));      "title" => "<hr/>",
628  array_push($links,      "right" => array("directory", ),
629      array(      "parameters" => array("isDirectoryOptionEnabled" => true, ),
630          "title" => "<hr/>",  );
631          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),  //
632      ));  $links[] = array(
633  array_push($links,      "href" => "../scr/directory.php",
634      array(      "class" => "directory",
635          "href" => "../scr/tab.php?obj=om_sig_point",      "title" => _("annuaire"),
636          "class" => "om_sig_point",      "right" => array("directory", ),
637          "title" => _("om SIG"),      "open" => array("directory.php|", ),
638          "right" => "om_sig_point_tab",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
639          "open"  => "|om_sig_point"  );
640      ));  //
641    $links[] = array(
642  array_push($links,      "class" => "category",
643      array(      "title" => _("tableaux de bord"),
644          "href" => "../scr/tab.php?obj=om_sig_wms",      "right" => array("om_widget", "om_widget_tab", ),
645          "class" => "om_sig_wms",  );
646          "title" => _("om wms"),  //
647          "right" => "om_sig_wms_tab",  $links[] = array(
648          "open"  => "|om_sig_wms",      "title" => "<hr/>",
649      ));      "right" => array("om_widget", "om_widget_tab", ),
650  array_push($links,  );
651      array(  //
652          "href" => "../scr/tab.php?obj=om_widget",  $links[] = array(
653          "class" => "om_widget",      "href" => "../scr/tab.php?obj=om_widget",
654          "title" => _("widget"),      "class" => "om_widget",
655          "right" => "om_widget",      "title" => _("widget"),
656          "open"  => "|om_widget"      "right" => array("om_widget", "om_widget_tab", ),
657      ));      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
658  array_push($links,  );
659      array(  //
660          "title" => "<hr/>",  $links[] = array(
661          "right" => array("import"),      "class" => "category",
662      ));      "title" => _("sig"),
663  array_push($links,      "right" => array(
664      array(          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
665          "href" => "../scr/import.php",      ),
666          "class" => "import",  );
667          "title" => _("Import"),  //
668          "right" => "import",  $links[] = array(
669          "open"  => "import.php|"      "title" => "<hr/>",
670      ));      "right" => array(
671            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
672  array_push($links,      ),
673      array(  );
674          "title" => "<hr/>",  //
675          "right" => array("gen"),  $links[] = array(
676      ));      "href" => "../scr/tab.php?obj=om_sig_map",
677  array_push($links,      "class" => "om_sig_map",
678      array(      "title" => _("om_sig_map"),
679          "title" => _("Generateur"),      "right" => array("om_sig_map", "om_sig_map_tab", ),
680          "href" => "../scr/gen.php",      "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
681          "class" => "generator",  );
682          "right" => "gen",  //
683          "open"  => "gen.php|"  $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.326  
changed lines
  Added in v.509

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26