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

Legend:
Removed from v.142  
changed lines
  Added in v.538

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26