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

Legend:
Removed from v.38  
changed lines
  Added in v.554

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26