/[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 223 by fmichon, Wed Oct 19 08:23:29 2011 UTC revision 509 by nhaye, Tue Oct 16 16:50:50 2012 UTC
# Line 3  Line 3 
3   * Ce fichier permet de configurer quelles actions vont etre disponibles   * Ce fichier permet de configurer quelles actions vont etre disponibles
4   * dans le menu.   * dans le menu.
5   *   *
  *  
  *  
6   * @package openmairie_exemple   * @package openmairie_exemple
7   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $
8   */   */
9    
10  /**  //
  * $menu est le tableau associatif qui contient tout le menu de  
  * l'application, il contient lui meme un tableau par rubrique, puis chaque  
  * rubrique contient un tableau par lien  
  *  
  * Caracteristiques :  
  * --- tableau rubrik  
  *     - title [obligatoire]  
  *     - description (texte qui s'affiche au survol de la rubrique)  
  *     - href (contenu du lien href)  
  *     - class (classe css qui s'affiche sur la rubrique)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cette rubrique)  
  *     - links [obligatoire]  
  *  
  * --- tableau links  
  *     - title [obligatoire]  
  *     - href [obligatoire] (contenu du lien href)  
  *     - class (classe css qui s'affiche sur l'element)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cet element)  
  *     - target (pour ouvrir le lien dans une nouvelle fenetre)  
  */  
11  $menu = array();  $menu = array();
12    
13  // {{{  Rubrique application  // {{{ Rubrique APPLICATION
14  // inserer ici vos tables principales  //
   
15  $rubrik = array(  $rubrik = array(
16      "title" => _("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" => "subtitle",
122        "title" => _("Consultation"),
123        "right" => "consultation"
124    );
125    $links[] = array(
126        "href" => "../scr/tab.php?obj=consultation_mes_retours",
127        "class" => "consultation_mes_retours",
128        "title" => _("Mes retours"),
129        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
130        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
131    );
132    $links[] = array(
133        "href" => "../scr/tab.php?obj=consultation_tous_retours",
134        "class" => "consultation_tous_retours",
135        "title" => _("Tous les retours"),
136        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
137        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
138    );
139    //
140  $rubrik['links'] = $links;  $rubrik['links'] = $links;
141  array_push($menu, $rubrik);  //
142    $menu[] = $rubrik;
143    // }}}
144    
145  // {{{ Rubrique EXPORT  // {{{ Rubrique EXPORT
146    //
147  $rubrik = array(  $rubrik = array(
148      "title" => _("Export"),      "title" => _("export"),
149      "class" => "edition",      "class" => "edition",
150      "right" => "menu_export",      "right" => "menu_export",
151  );  );
152    //
153  $links = array();  $links = array();
154  array_push($links,  //
155      array(  $links[] = array(
156          "href" => "../scr/edition.php",      "href" => "../scr/edition.php",
157          "class" => "edition",      "class" => "edition",
158          "title" => _("Edition"),      "title" => _("edition"),
159          "right" => "edition"      "right" => "edition",
160      ));      "open" => "edition.php|",
 array_push($links,  
     array(  
         "href" => "../app/edition_p.php",  
         "class" => "edition",  
         "title" => _("Edition date depot"),  
         "right" => "edition"  
     ));  
   
 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/sitadel.php",  
         "class" => "reqmo",  
         "title" => _("export")._("sitadel")." 2",  
         "right" => "export_sitadel"  
     ));  
   
   
 $rubrik['links'] = $links;  
 array_push($menu, $rubrik);  
 // }}}  
   
 // {{{ Rubrique TRAITEMENT  
   
 $rubrik = array(  
     "title" => _("Traitement"),  
     "class" => "traitement",  
     "right" => "menu_traitement",  
161  );  );
162  $links = array();  //
163  // *** TRAITEMENT ***  $links[] = array(
164  // inserez le lien d acces au traitement      "href" => "../app/edition_p.php",
165  // ========================================================================      "class" => "edition",
166  /*      "title" => _("edition date depot"),
167   array_push($links,      "right" => "edition_p",
168      array(      "open" => "edition_p.php|",
169          "href" => "../trt/nom_du_traitement.php",  );
170          "class" => "traitement",  //
171          "title" => _("Traitement"),  $links[] = array(
172          "right" => "traitement"      "href" => "../app/edition_d.php",
173      ));      "class" => "edition",
174  */      "title" => _("edition date decision"),
175  // ========================================================================      "right" => "edition_d",
176      array_push($links,      "open" => "edition_d.php|",
177      array(  );
178          "href" => "../scr/form.php?obj=dossier_numeromanuel",  //
179          "class" => "traitement",  $links[] = array(
180          "title" => _("numero manuel"),      "title" => "<hr/>",
181          "right" => "traitement"      "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
182      ));  );
183    //
184      array_push($links,  $links[] = array(
185      array(      "href" => "../scr/reqmo.php",
186          "href" => "../scr/tab.php?obj=PC_modificatif",      "class" => "reqmo",
187          "class" => "traitement",      "title" => _("requetes memorisees"),
188          "title" => _("modificatif transfert"),      "right" => "reqmo",
189          "right" => "traitement"      "open" => array("reqmo.php|", "requeteur.php|", ),
190      ));      );
191    //
192      array_push($links,  $links[] = array(
193      array(      "href" => "../app/export_pc.php",
194          "href" => "../app/num_dossier.php",      "class" => "reqmo",
195          "class" => "traitement",      "title" => _("export PC Lascot"),
196          "title" => _("remise a 0"),      "right" => "export_pc",
197          "right" => "traitement"      "open" => "export_pc.php|",
198      ));  );
199    //
200    $links[] = array(
201        "href" => "../app/export_dp.php",
202        "class" => "reqmo",
203        "title" => _("export DP Lascot"),
204        "right" => "export_dp",
205        "open" => "export_dp.php|",
206    );
207    //
208    $links[] = array(
209        "href" => "../app/sitadel.php",
210        "class" => "reqmo",
211        "title" => _("export sitadel")." 2",
212        "right" => "export_sitadel",
213        "open" => "sitadel.php|",
214    );
215    //
216  $rubrik['links'] = $links;  $rubrik['links'] = $links;
217  array_push($menu, $rubrik);  //
218    $menu[] = $rubrik;
219  // }}}  // }}}
220    
221    // {{{ Rubrique PARAMETRAGE
222    //
 // {{{  Rubrique parametrage de l'application  
   
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/tab.php?obj=architecte",      "title" => "<hr/>",
250          "class" => "architecte",      "right" => array(
251          "title" => _("architecte"),          "architecte", "architecte_tab", "service", "service_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
252          "right" => "architecte"           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
253      ));          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
254            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
255        ),
256    );
257    array_push($links,  //
258      array(  $links[] = array(
259          "href" => "../scr/tab.php?obj=service",      "href" => "../scr/tab.php?obj=architecte",
260          "class" => "service",      "class" => "architecte",
261          "title" => _("service"),      "title" => _("architecte"),
262          "right" => "service"      "right" => array("architecte", "architecte_tab", ),
263      ));      "open" => array("tab.php|architecte", "form.php|architecte", ),
264      );
265    array_push($links,  //
266      array(  $links[] = array(
267          "href" => "../scr/tab.php?obj=travaux",      "href" => "../scr/tab.php?obj=service",
268          "class" => "travaux",      "class" => "service",
269          "title" => _("travaux"),      "title" => _("service"),
270          "right" => "travaux"      "right" => array("service", "service_tab", ),
271      ));      "open" => array("tab.php|service", "form.php|service", ),
272    );
273    array_push($links,  $links[] = array(
274      array(      "href" => "../scr/tab.php?obj=service_categorie",
275          "href" => "../scr/tab.php?obj=regle",      "class" => "service_categorie",
276          "class" => "regle",      "title" => _("thematique des services"),
277          "title" => _("regle"),      "right" => array("service_categorie", "service_categorie_tab", ),
278          "right" => "regle"      "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
279      ));  );
280    $links[] = array(
281    array_push($links,      "href" => "../scr/tab.php?obj=lien_service_service_categorie",
282      array(      "class" => "lien_service_service_categorie",
283          "href" => "../scr/tab.php?obj=categorie_demandeur",      "title" => _("Lien service / thematique"),
284          "class" => "categorie_demandeur",      "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
285          "title" => _("categorie_demandeur"),      "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
286          "right" => "categorie_demandeur"  );
287      ));  //
288      $links[] = array(
289    array_push($links,      "href" => "../scr/tab.php?obj=travaux",
290      array(      "class" => "travaux",
291          "href" => "../scr/tab.php?obj=destination",      "title" => _("travaux"),
292          "class" => "destination",      "right" => array("travaux", "travaux_tab", ),
293          "title" => _("destination"),      "open" => array("tab.php|travaux", "form.php|travaux", ),
294          "right" => "destination"  );
295      ));  //
296    $links[] = array(
297    array_push($links,      "href" => "../scr/tab.php?obj=categorie_demandeur",
298      array(      "class" => "categorie_demandeur",
299          "href" => "../scr/tab.php?obj=nature",      "title" => _("categorie_demandeur"),
300          "class" => "nature",      "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
301          "title" => _("nature"),      "open" => array(
302          "right" => "nature"          "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
303      ));      ),
304    );
305    array_push($links,  //
306      array(  $links[] = array(
307          "href" => "../scr/tab.php?obj=rivoli",      "href" => "../scr/tab.php?obj=destination",
308          "class" => "rivoli",      "class" => "destination",
309          "title" => _("rivoli"),      "title" => _("destination"),
310          "right" => "rivoli"      "right" => array("destination", "destination_tab", ),
311      ));      "open" => array("tab.php|destination", "form.php|destination", ),
312    );
313    array_push($links,  //
314      array(  $links[] = array(
315          "href" => "../scr/tab.php?obj=civilite",      "href" => "../scr/tab.php?obj=nature",
316          "class" => "civilite",      "class" => "nature",
317          "title" => _("civilite"),      "title" => _("nature"),
318          "right" => "civilite"      "right" => array("nature", "nature_tab", ),
319      ));      "open" => array("tab.php|nature", "form.php|nature", ),
320    );
321    //
322    $links[] = array(
323        "href" => "../scr/tab.php?obj=rivoli",
324    array_push($links,      "class" => "rivoli",
325      array(      "title" => _("rivoli"),
326          "href" => "../scr/tab.php?obj=parametre",      "right" => array("rivoli", "rivoli_tab", ),
327          "class" => "parametre",      "open" => array("tab.php|rivoli", "form.php|rivoli", ),
328          "title" => _("parametre")." "._("statistique"),  );
329          "right" => "parametre"  //
330      ));  $links[] = array(
331        "href" => "../scr/tab.php?obj=civilite",
332        "class" => "civilite",
333        "title" => _("civilite"),
334  // workflows      "right" => array("civilite", "civilite_tab", ),
335      array_push($links,      "open" => array("tab.php|civilite", "form.php|civilite", ),
336      array(  );
337          "title" => "<hr/>",  //
338          "right" => array("action_tab", "transition_tab", "etat_tab",  $links[] = array(
339                           "evenement_tab", "bible", "avis")      "href" => "../scr/tab.php?obj=parametre",
340      ));      "class" => "parametre",
341        "title" => _("parametre")." "._("statistique"),
342    array_push($links,      "right" => array("parametre", "parametre_tab", ),
343      array(      "open" => array("tab.php|parametre", "form.php|parametre", ),
344          "href" => "../scr/tab.php?obj=action",  );
345          "class" => "action",  //
346          "title" => _("action"),  $links[] = array(
347          "right" => "action"      "class" => "category",
348      ));      "title" => _("workflows"),
349        "right" => array(
350    array_push($links,          "action", "action_tab", "transition", "transition_tab", "etat",
351      array(          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
352          "href" => "../scr/tab.php?obj=transition",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
353          "class" => "transition",      ),
354          "title" => _("transition"),  );
355          "right" => "transition"  //
356      ));  $links[] = array(
357          "title" => "<hr/>",
358      array_push($links,      "right" => array(
359      array(          "action", "action_tab", "transition", "transition_tab", "etat",
360          "href" => "../scr/tab.php?obj=etat",          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
361          "class" => "etat",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
362          "title" => _("etat"),      ),
363          "right" => "etat"  );
364      ));  //
365    $links[] = array(
366      array_push($links,      "href" => "../scr/tab.php?obj=action",
367        array(      "class" => "action",
368            "href" => "../scr/tab.php?obj=evenement",      "title" => _("action"),
369            "class" => "evenement",      "right" => array("action", "action_tab", ),
370            "title" => _("evenement"),      "open" => array("tab.php|action", "form.php|action", ),
371            "right" => "evenement"  );
372        ));  //
373        $links[] = array(
374      array_push($links,      "href" => "../scr/tab.php?obj=transition",
375      array(      "class" => "transition",
376          "href" => "../scr/tab.php?obj=bible",      "title" => _("transition"),
377          "class" => "bible",      "right" => array("transition", "transition_tab", ),
378          "title" => _("bible"),      "open" => array("tab.php|transition", "form.php|transition", ),
379          "right" => "bible"  );
380      ));  //
381          $links[] = array(
382      array_push($links,      "href" => "../scr/tab.php?obj=etat",
383      array(      "class" => "etat",
384          "href" => "../scr/tab.php?obj=avis",      "title" => _("etat"),
385          "class" => "avis",      "right" => array("etat", "etat_tab", ),
386          "title" => _("avis"),      "open" => array("tab.php|etat", "form.php|etat", ),
387          "right" => "avis"  );
388      ));  //
389    $links[] = array(
390        "href" => "../scr/tab.php?obj=evenement",
391        "class" => "evenement",
392        "title" => _("evenement"),
393        "right" => array("evenement", "evenement_tab", ),
394        "open" => array("tab.php|evenement", "form.php|evenement", ),
395    );
396    //
397    $links[] = array(
398        "href" => "../scr/tab.php?obj=bible",
399        "class" => "bible",
400        "title" => _("bible"),
401        "right" => array("bible", "bible_tab", ),
402        "open" => array("tab.php|bible", "form.php|bible", ),
403    );
404    //
405    $links[] = array(
406        "href" => "../scr/tab.php?obj=avis_decision",
407        "class" => "avis_decision",
408        "title" => _("avis decision"),
409        "right" => array("avis_decision", "avis_decision_tab", ),
410        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
411    );
412    //
413    $links[] = array(
414        "href" => "../scr/tab.php?obj=avis_consultation",
415        "class" => "avis_consultation",
416        "title" => _("avis consultation"),
417        "right" => array("avis_consultation", "avis_consultation_tab", ),
418        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
419    );
420    //
421    $links[] = array(
422        "class" => "category",
423        "title" => _("editions"),
424        "right" => array(
425            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
426            "om_lettretype", "om_lettretype_tab",
427        ),
428    );
429    //
430    $links[] = array(
431        "title" => "<hr/>",
432        "right" => array(
433            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
434            "om_lettretype", "om_lettretype_tab",
435        ),
436    );
437    //
438    $links[] = array(
439        "href" => "../scr/tab.php?obj=om_etat",
440        "class" => "etat",
441        "title" => _("om_etat"),
442        "right" => array("om_etat", "om_etat_tab", ),
443        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
444    );
445    //
446    $links[] = array(
447        "href" => "../scr/tab.php?obj=om_sousetat",
448        "class" => "sousetat",
449        "title" => _("om_sousetat"),
450        "right" => array("om_sousetat", "om_sousetat_tab", ),
451        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
452    );
453    //
454    $links[] = array(
455        "href" => "../scr/tab.php?obj=om_lettretype",
456        "class" => "lettretype",
457        "title" => _("om_lettretype"),
458        "right" => array("om_lettretype", "om_lettretype_tab"),
459        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
460    );
461    //
462  $rubrik['links'] = $links;  $rubrik['links'] = $links;
463  array_push($menu, $rubrik);  //
464    $menu[] = $rubrik;
465  // 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" => array("tab.php|parcelle", "form.php|parcelle", ),
483    );
484    array_push($links,  //
485      array(  $links[] = array(
486          "href" => "../scr/tab.php?obj=proprietaire",      "href" => "../scr/tab.php?obj=proprietaire",
487          "class" => "proprietaire",      "class" => "proprietaire",
488          "title" => _("proprietaire"),      "title" => _("proprietaire"),
489          "right" => "proprietaire"      "right" => array("proprietaire", "proprietaire_tab"),
490      ));      "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
491    );
492    //
493    $links[] = array(
494          "class" => "category",
495    // servitudes      "title" => _("servitudes"),
496    array_push($links,      "right" => array(
497      array(          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
498          "title" => "<hr/>",          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
499          "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
500      ));      ),
501      array_push($links,  );
502      array(  //
503          "href" => "../scr/tab.php?obj=pos",  $links[] = array(
504          "class" => "pos",      "title" => "<hr/>",
505          "title" => _("pos"),      "right" => array(
506          "right" => "pos"          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
507      ));          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
508    array_push($links,          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
509      array(      ),
510          "href" => "../scr/tab.php?obj=servitude_surfacique",  );
511          "class" => "servitude",  //
512          "title" => _("servitude")." "._("surfacique"),  $links[] = array(
513          "right" => "servitude"      "href" => "../scr/tab.php?obj=pos",
514      ));      "class" => "pos",
515    array_push($links,      "title" => _("pos"),
516      array(      "right" => array("pos", "pos_tab"),
517          "href" => "../scr/tab.php?obj=servitude_ligne",      "open" => array("tab.php|pos", "form.php|pos", ),
518          "class" => "servitude",  );
519          "title" => _("servitude")." "._("ligne"),  //
520          "right" => "servitude"  $links[] = array(
521      ));      "href" => "../scr/tab.php?obj=servitude_surfacique",
522    array_push($links,      "class" => "servitude_surfacique",
523      array(      "title" => _("servitude_surfacique"),
524          "href" => "../scr/tab.php?obj=servitude_point",      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
525          "class" => "servitude",      "open" => array(
526          "title" => _("servitude")." "._("point"),          "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
527          "right" => "servitude"      ),
528      ));  );
529    //
530    array_push($links,  $links[] = array(
531      array(      "href" => "../scr/tab.php?obj=servitude_ligne",
532          "href" => "../scr/tab.php?obj=parcelle_lot",      "class" => "servitude_ligne",
533          "class" => "parcelle",      "title" => _("servitude_ligne"),
534          "title" => _("parcelle")." "._("lot"),      "right" => array("servitude_ligne", "servitude_ligne_tab"),
535          "right" => "parcelle_lot"      "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
536      ));  );
537    //
538    $links[] = array(
539        "href" => "../scr/tab.php?obj=servitude_point",
540        "class" => "servitude_point",
541        "title" => _("servitude_point"),
542        "right" => array("servitude_point", "servitude_point_tab"),
543        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
544    );
545    //
546    $links[] = array(
547        "href" => "../scr/tab.php?obj=parcelle_lot",
548        "class" => "parcelle_lot",
549        "title" => _("parcelle_lot"),
550        "right" => array("parcelle_lot", "parcelle_lot_tab"),
551        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
552    );
553    //
554  $rubrik['links'] = $links;  $rubrik['links'] = $links;
555  array_push($menu, $rubrik);  //
556    $menu[] = $rubrik;
557    // }}}
558    
559  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
560  //  //
561  $rubrik = array(  $rubrik = array(
562      "title" => _("Administration"),      "title" => _("administration"),
563      "class" => "administration",      "class" => "administration",
564      "right" => "menu_administration",      "right" => "menu_administration",
565  );  );
566  //  //
567  $links = array();  $links = array();
568  array_push($links,  //
569      array(  $links[] = array(
570          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
571          "class" => "collectivite",      "class" => "collectivite",
572          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
573          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
574      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
575  array_push($links,  );
576      array(  //
577          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
578          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
579          "title" => _("om_parametre"),      "class" => "parametre",
580          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
581      ));      "right" => array("om_parametre", "om_parametre_tab", ),
582        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
583    );
584  array_push($links,  //
585      array(  $links[] = array(
586          "title" => "<hr/>",      "class" => "category",
587          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
588      ));      "right" => array(
589  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
590      array(          "om_droit", "om_droit_tab", "directory",
591          "href" => "../scr/tab.php?obj=om_profil",      ),
592          "class" => "profil",  );
593          "title" => _("om_profil"),  //
594          "right" => "om_profil_tab"  $links[] = array(
595      ));      "title" => "<hr/>",
596  array_push($links,      "right" => array(
597      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
598          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
599          "class" => "droit",      ),
600          "title" => _("om_droit"),  );
601          "right" => "om_droit_multi"  //
602      ));  $links[] = array(
603  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
604      array(      "class" => "profil",
605          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
606          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
607          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
608          "right" => "om_utilisateur_tab"  );
609      ));  //
610  array_push($links,  $links[] = array(
611      array(      "href" => "../scr/tab.php?obj=om_droit",
612          "title" => "<hr />",      "class" => "droit",
613          "right" => array("directory"),      "title" => _("om_droit"),
614      ));      "right" => array("om_droit", "om_droit_tab", ),
615  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
616      array(  );
617          "href" => "../scr/directory.php",  //
618          "title" => _("Annuaire"),  $links[] = array(
619          "right" => "directory",      "href" => "../scr/tab.php?obj=om_utilisateur",
620          "class" => "utilisateur",      "class" => "utilisateur",
621      ));      "title" => _("om_utilisateur"),
622  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
623      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
624          "title" => "<hr/>",  );
625          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),  //
626      ));  $links[] = array(
627  array_push($links,      "title" => "<hr/>",
628      array(      "right" => array("directory", ),
629          "href" => "../scr/tab.php?obj=om_etat",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
630          "class" => "etat",  );
631          "title" => _("om_etat"),  //
632          "right" => "om_etat_tab"  $links[] = array(
633      ));      "href" => "../scr/directory.php",
634  array_push($links,      "class" => "directory",
635      array(      "title" => _("annuaire"),
636          "href" => "../scr/tab.php?obj=om_sousetat",      "right" => array("directory", ),
637          "class" => "sousetat",      "open" => array("directory.php|", ),
638          "title" => _("om_sousetat"),      "parameters" => array("isDirectoryOptionEnabled" => true, ),
639          "right" => "om_sousetat_tab"  );
640      ));  //
641  array_push($links,  $links[] = array(
642      array(      "class" => "category",
643          "href" => "../scr/tab.php?obj=om_lettretype",      "title" => _("tableaux de bord"),
644          "class" => "lettretype",      "right" => array("om_widget", "om_widget_tab", ),
645          "title" => _("om_lettretype"),  );
646          "right" => "om_lettretype_tab"  //
647      ));  $links[] = array(
648  array_push($links,      "title" => "<hr/>",
649      array(      "right" => array("om_widget", "om_widget_tab", ),
650          "href" => "../scr/tab.php?obj=om_sig_point",  );
651          "class" => "om_sig_point",  //
652          "title" => _("om SIG"),  $links[] = array(
653          "right" => "om_sig_point_tab"      "href" => "../scr/tab.php?obj=om_widget",
654      ));      "class" => "om_widget",
655  array_push($links,      "title" => _("widget"),
656      array(      "right" => array("om_widget", "om_widget_tab", ),
657          "href" => "../scr/tab.php?obj=om_widget",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
658          "class" => "om_widget",  );
659          "title" => _("widget"),  //
660          "right" => "om_widget"  $links[] = array(
661      ));      "class" => "category",
662  array_push($links,      "title" => _("sig"),
663      array(      "right" => array(
664          "title" => "<hr/>",          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
665          "right" => array("import"),      ),
666      ));  );
667  array_push($links,  //
668      array(  $links[] = array(
669          "href" => "../scr/import.php",      "title" => "<hr/>",
670          "class" => "import",      "right" => array(
671          "title" => _("Import"),          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
672          "right" => "import"      ),
673      ));  );
674    //
675  array_push($links,  $links[] = array(
676      array(      "href" => "../scr/tab.php?obj=om_sig_map",
677          "title" => "<hr/>",      "class" => "om_sig_map",
678          "right" => array("gen"),      "title" => _("om_sig_map"),
679      ));      "right" => array("om_sig_map", "om_sig_map_tab", ),
680  array_push($links,      "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
681      array(  );
682          "title" => _("Generateur"),  //
683          "href" => "../scr/gen.php",  $links[] = array(
684          "class" => "generator",      "href" => "../scr/tab.php?obj=om_sig_wms",
685          "right" => "gen",      "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.223  
changed lines
  Added in v.509

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26