/[openfoncier]/branches/3.14.x/dyn/menu.inc.php
ViewVC logotype

Diff of /branches/3.14.x/dyn/menu.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 334 by fraynaud, Wed Jun 27 11:01:04 2012 UTC revision 380 by fmichon, Wed Sep 19 06:30:05 2012 UTC
# Line 3  Line 3 
3   * Ce fichier permet de configurer quelles actions vont etre disponibles   * Ce fichier permet de configurer quelles actions vont etre disponibles
4   * dans le menu.   * dans le menu.
5   *   *
  *  
  *  
6   * @package openmairie_exemple   * @package openmairie_exemple
7   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $
8   */   */
9    
10  /**  //
  * $menu est le tableau associatif qui contient tout le menu de  
  * l'application, il contient lui meme un tableau par rubrique, puis chaque  
  * rubrique contient un tableau par lien  
  *  
  * Caracteristiques :  
  * --- tableau rubrik  
  *     - title [obligatoire]  
  *     - description (texte qui s'affiche au survol de la rubrique)  
  *     - href (contenu du lien href)  
  *     - class (classe css qui s'affiche sur la rubrique)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cette rubrique)  
  *     - links [obligatoire]  
  *  
  * --- tableau links  
  *     - title [obligatoire]  
  *     - href [obligatoire] (contenu du lien href)  
  *     - class (classe css qui s'affiche sur l'element)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cet element)  
  *     - target (pour ouvrir le lien dans une nouvelle fenetre)  
  */  
11  $menu = array();  $menu = array();
12    
13  // {{{  Rubrique application  // {{{ Rubrique APPLICATION
14  // inserer ici vos tables principales  //
   
15  $rubrik = array(  $rubrik = array(
16      "title" => _("Instruction"),      "title" => _("instruction"),
17      "class" => "application",      "class" => "application",
18      "right" => "menu_application",      "right" => "menu_application",
19  );  );
20    //
21  $links = array();  $links = array();
22  // *** APPLICATION ***  //
23  // inserez ici les tables de votra application  $links[] = array(
24  // ========================================================================      "href" => "../scr/tab.php?obj=PC",
25  /*      "class" => "dossier",
26    array_push($links,      "title" => _("PC"),
27      array(      "right" => array("PC", "PC_tab", ),
28          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|PC", "form.php|PC", ),
29          "class" => "nom_table",  );
30          "title" => _("nom_table"),  //
31          "right" => "nom_table"  $links[] = array(
32      ));      "href" => "../scr/tab.php?obj=DP",
33  */      "class" => "dossier",
34  // ========================================================================      "title" => _("DP"),
35        "right" => array("DP", "DP_tab", ),
36        "open" => array("tab.php|DP", "form.php|DP", ),
37    array_push($links,  );
38      array(  //
39          "href" => "../scr/tab.php?obj=PC",  $links[] = array(
40          "class" => "dossier",      "href" => "../scr/tab.php?obj=PD",
41          "title" => _("PC"),      "class" => "dossier",
42          "right" => "PC_tab",      "title" => _("PD"),
43          "open"  => "|PC"      "right" => array("PD", "PD_tab", ),
44      ));      "open" => array("tab.php|PD", "form.php|PD", ),
45      );
46    array_push($links,  //
47      array(  $links[] = array(
48          "href" => "../scr/tab.php?obj=DP",      "href" => "../scr/tab.php?obj=PA",
49          "class" => "dossier",      "class" => "dossier",
50          "title" => _("DP"),      "title" => _("PA"),
51          "right" => "DP",      "right" => array("PA", "PA_tab", ),
52          "open"  => "|DP"      "open" => array("tab.php|PA", "form.php|PA", ),
53      ));  );
54    //
55    $links[] = array(
56    array_push($links,      "title" => "<hr/>",
57      array(      "right" => array(
58          "href" => "../scr/tab.php?obj=PD",          "PC_accueil", "PC_accueil_tab", "DP_accueil", "DP_accueil_tab",
59          "class" => "dossier",          "PD_accueil", "PD_accueil_tab", "PA_accueil", "PA_accueil_tab",
60          "title" => _("PD"),      ),
61          "right" => "PD",  );
62          "open"  => "|PD"  //
63      ));  $links[] = array(
64        "href" => "../scr/tab.php?obj=PC_accueil",
65    array_push($links,      "class" => "dossier",
66      array(      "title" => _("PC - accueil"),
67          "href" => "../scr/tab.php?obj=PA",      "right" => array("PC_accueil", "PC_accueil_tab", ),
68          "class" => "dossier",      "open" => array("tab.php|PC_accueil", "form.php|PC_accueil", ),
69          "title" => _("PA"),  );
70          "right" => "PA",  //
71          "open"  => "|PA"  $links[] = array(
72      ));      "href" => "../scr/tab.php?obj=DP_accueil",
73        "class" => "dossier",
74  array_push($links,      "title" => _("DP - accueil"),
75      array(      "right" => array("DP_accueil", "DP_accueil_tab", ),
76          "title" => "<hr/>",      "open" => array("tab.php|DP_accueil", "form.php|DP_accueil", ),
77          "right" => array(),  );
78      ));  //
79    $links[] = array(
80    array_push($links,      "href" => "../scr/tab.php?obj=PD_accueil",
81      array(      "class" => "dossier",
82          "href" => "../scr/tab.php?obj=PC_accueil",      "title" => _("PD - accueil"),
83          "class" => "dossier",      "right" => array("PD_accueil", "PD_accueil_tab", ),
84          "title" => _("PC - accueil"),      "open" => array("tab.php|PD_accueil", "form.php|PD_accueil", ),
85          "right" => "PC_accueil",  );
86          "open"  => "|PC_accueil"  //
87      ));  $links[] = array(
88          "href" => "../scr/tab.php?obj=PA_accueil",
89    array_push($links,      "class" => "dossier",
90      array(      "title" => _("PA - accueil"),
91          "href" => "../scr/tab.php?obj=DP_accueil",      "right" => array("PA_accueil", "PA_accueil_tab", ),
92          "class" => "dossier",      "open" => array("tab.php|PA_accueil", "form.php|PA_accueil", ),
93          "title" => _("DP - accueil"),  );
94          "right" => "DP_accueil",  //
95          "open"  => "|DP_accueil"  $links[] = array(
96      ));      "title" => "<hr/>",
97        "right" => array("PC_modificatif", "PC_modificatif_tab", ),
98    );
99    array_push($links,  //
100      array(  $links[] = array(
101          "href" => "../scr/tab.php?obj=PD_accueil",      "href" => "../scr/tab.php?obj=PC_modificatif",
102          "class" => "dossier",      "class" => "traitement",
103          "title" => _("PD - accueil"),      "title" => _("modificatif transfert"),
104          "right" => "PD_accueil",      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
105          "open"  => "|PD_accueil"      "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
106      ));  );
107    //
108    array_push($links,  $links[] = array(
109      array(      "title" => "<hr/>",
110          "href" => "../scr/tab.php?obj=PA_accueil",      "right" => array("recherchedossier", ),
111          "class" => "dossier",  );
112          "title" => _("PA - accueil"),  //
113          "right" => "PA_accueil",  $links[] = array(
114          "open"  => "|PA_accueil"      "href" => "../app/recherchedossier.php",
115      ));      "class" => "dossier",
116        "title" => _("Recherche dossier"),
117      array_push($links,      "right" => "recherchedossier",
118      array(      "open" => "recherchedossier.php|",
119          "title" => "<hr/>",  );
120          "right" => array(),  //
     ));  
   
     array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC_modificatif",  
         "class" => "traitement",  
         "title" => _("modificatif transfert"),  
         "right" => "PC_modificatif",  
         "open"  => array("|PC_modificatif","dossier_modificatif.php|")  
     ));  
   
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array(),  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../app/recherchedossier.php",  
         "class" => "dossier",  
         "title" => _("Recherche dossier"),  
         "right" => "recherchedossier",  
         "open"  => "recherchedossier.php|"  
     ));  
   
121  $rubrik['links'] = $links;  $rubrik['links'] = $links;
122  array_push($menu, $rubrik);  //
123    $menu[] = $rubrik;
124  //}}}  // }}}
125    
126  // {{{ Rubrique EXPORT  // {{{ Rubrique EXPORT
127    //
128  $rubrik = array(  $rubrik = array(
129      "title" => _("Export"),      "title" => _("export"),
130      "class" => "edition",      "class" => "edition",
131      "right" => "menu_export",      "right" => "menu_export",
132  );  );
133    //
134  $links = array();  $links = array();
135  array_push($links,  //
136      array(  $links[] = array(
137          "href" => "../scr/edition.php",      "href" => "../scr/edition.php",
138          "class" => "edition",      "class" => "edition",
139          "title" => _("Edition"),      "title" => _("edition"),
140          "right" => "edition",      "right" => "edition",
141          "open"  => "edition.php|"      "open" => "edition.php|",
142      ));  );
143  array_push($links,  //
144      array(  $links[] = array(
145          "href" => "../app/edition_p.php",      "href" => "../app/edition_p.php",
146          "class" => "edition",      "class" => "edition",
147          "title" => _("Edition date depot"),      "title" => _("edition date depot"),
148          "right" => "edition_p",      "right" => "edition_p",
149          "open"  => "edition_p.php|"      "open" => "edition_p.php|",
150      ));  );
151    //
152  array_push($links,  $links[] = array(
153      array(      "href" => "../app/edition_d.php",
154          "href" => "../app/edition_d.php",      "class" => "edition",
155          "class" => "edition",      "title" => _("edition date decision"),
156          "title" => _("Edition date decision"),      "right" => "edition_d",
157          "right" => "edition_d",      "open" => "edition_d.php|",
158          "open"  => "edition_d.php|"  );
159      ));  //
160    $links[] = array(
161      array_push($links,      "title" => "<hr/>",
162      array(      "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
163          "title" => "<hr/>",  );
164          "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel")  //
165      ));  $links[] = array(
166        "href" => "../scr/reqmo.php",
167  array_push($links,      "class" => "reqmo",
168      array(      "title" => _("requetes memorisees"),
169          "href" => "../scr/reqmo.php",      "right" => "reqmo",
170          "class" => "reqmo",      "open" => array("reqmo.php|", "requeteur.php|", ),
171          "title" => _("Requetes memorisees"),  );
172          "right" => "reqmo",  //
173          "open"  => array("reqmo.php|","requeteur.php|",),  $links[] = array(
174      ));      "href" => "../app/export_pc.php",
175        "class" => "reqmo",
176      array_push($links,      "title" => _("export PC Lascot"),
177      array(      "right" => "export_pc",
178          "href" => "../app/export_pc.php",      "open" => "export_pc.php|",
179          "class" => "reqmo",  );
180          "title" => _("export PC Lascot"),  //
181          "right" => "export_pc",  $links[] = array(
182          "open"  => "export_pc.php|"      "href" => "../app/export_dp.php",
183      ));      "class" => "reqmo",
184            "title" => _("export DP Lascot"),
185      array_push($links,      "right" => "export_dp",
186      array(      "open" => "export_dp.php|",
187          "href" => "../app/export_dp.php",  );
188          "class" => "reqmo",  //
189          "title" => _("export DP Lascot"),  $links[] = array(
190          "right" => "export_dp",      "href" => "../app/sitadel.php",
191          "open"  => "export_dp.php|"      "class" => "reqmo",
192      ));      "title" => _("export sitadel")." 2",
193        "right" => "export_sitadel",
194      array_push($links,      "open" => "sitadel.php|",
195      array(  );
196          "href" => "../app/sitadel.php",  //
         "class" => "reqmo",  
         "title" => _("export")._("sitadel")." 2",  
         "right" => "export_sitadel",  
         "open"  => "sitadel.php|"  
     ));  
   
   
197  $rubrik['links'] = $links;  $rubrik['links'] = $links;
198  array_push($menu, $rubrik);  //
199    $menu[] = $rubrik;
200  // }}}  // }}}
 // {{{  Rubrique parametrage de l'application  
201    
202    // {{{ Rubrique PARAMETRAGE
203    //
204  $rubrik = array(  $rubrik = array(
205      "title" => _("Parametrage"),      "title" => _("parametrage"),
206      "class" => "parametrage",      "class" => "parametrage",
207      "right" => "menu_parametrage",      "right" => "menu_parametrage",
208  );  );
209    //
210  $links = array();  $links = array();
211  // *** TABLES DE PARAMETRAGE ***  //
212  // inserer ici vos tables de parametres  // GENERAUX
213  // ========================================================================  $links[] = array(
214  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
215    array_push($links,      "class" => "traitement",
216      array(      "title" => _("numero manuel"),
217          "href" => "../scr/tab.php?obj=nom_table",      "right" => "dossier_numeromanuel",
218          "class" => "nom_table",      "open" => "|dossier_numeromanuel",
219          "title" => _("nom_table"),  );
220          "right" => "nom_table"  //
221      ));  $links[] = array(
222  */      "href" => "../app/num_dossier.php",
223  // ========================================================================      "class" => "traitement",
224        "title" => _("remise a 0"),
225        "right" => "num_dossier",
226  // param gaux      "open" => "num_dossier.php|",
227    );
228      array_push($links,  //
229      array(  $links[] = array(
230          "href" => "../scr/form.php?obj=dossier_numeromanuel",      "title" => "<hr/>",
231          "class" => "traitement",      "right" => array(
232          "title" => _("numero manuel"),          "architecte", "architecte_tab", "service", "service_tab", "travaux",
233          "right" => "dossier_numeromanuel",          "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
234          "open"  => "|dossier_numeromanuel"          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
235      ));          "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
236        ),
237      array_push($links,  );
238      array(  //
239          "href" => "../app/num_dossier.php",  $links[] = array(
240          "class" => "traitement",      "href" => "../scr/tab.php?obj=architecte",
241          "title" => _("remise a 0"),      "class" => "architecte",
242          "right" => "num_dossier",      "title" => _("architecte"),
243          "open"  => "num_dossier.php|"      "right" => array("architecte", "architecte_tab", ),
244      ));      "open" => array("tab.php|architecte", "form.php|architecte", ),
245    );
246      array_push($links,  //
247      array(  $links[] = array(
248          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=service",
249          "right" => array(),      "class" => "service",
250      ));      "title" => _("service"),
251        "right" => array("service", "service_tab", ),
252        "open" => array("tab.php|service", "form.php|service", ),
253    array_push($links,  );
254      array(  //
255          "href" => "../scr/tab.php?obj=architecte",  $links[] = array(
256          "class" => "architecte",      "href" => "../scr/tab.php?obj=travaux",
257          "title" => _("architecte"),      "class" => "travaux",
258          "right" => "architecte",      "title" => _("travaux"),
259          "open"  => "|architecte"      "right" => array("travaux", "travaux_tab", ),
260      ));      "open" => array("tab.php|travaux", "form.php|travaux", ),
261    );
262    //
263    $links[] = array(
264    array_push($links,      "href" => "../scr/tab.php?obj=categorie_demandeur",
265      array(      "class" => "categorie_demandeur",
266          "href" => "../scr/tab.php?obj=service",      "title" => _("categorie_demandeur"),
267          "class" => "service",      "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
268          "title" => _("service"),      "open" => array(
269          "right" => "service",          "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
270          "open"  => "|service"      ),
271      ));  );
272      //
273    array_push($links,  $links[] = array(
274      array(      "href" => "../scr/tab.php?obj=destination",
275          "href" => "../scr/tab.php?obj=travaux",      "class" => "destination",
276          "class" => "travaux",      "title" => _("destination"),
277          "title" => _("travaux"),      "right" => array("destination", "destination_tab", ),
278          "right" => "travaux",      "open" => array("tab.php|destination", "form.php|destination", ),
279          "open"  => "|travaux",  );
280      ));  //
281    $links[] = array(
282    array_push($links,      "href" => "../scr/tab.php?obj=nature",
283      array(      "class" => "nature",
284          "href" => "../scr/tab.php?obj=categorie_demandeur",      "title" => _("nature"),
285          "class" => "categorie_demandeur",      "right" => array("nature", "nature_tab", ),
286          "title" => _("categorie_demandeur"),      "open" => array("tab.php|nature", "form.php|nature", ),
287          "right" => "categorie_demandeur",  );
288          "open"  => "|categorie_demandeur"  //
289      ));  $links[] = array(
290          "href" => "../scr/tab.php?obj=rivoli",
291    array_push($links,      "class" => "rivoli",
292      array(      "title" => _("rivoli"),
293          "href" => "../scr/tab.php?obj=destination",      "right" => array("rivoli", "rivoli_tab", ),
294          "class" => "destination",      "open" => array("tab.php|rivoli", "form.php|rivoli", ),
295          "title" => _("destination"),  );
296          "right" => "destination",  //
297          "open"  => "|destination"  $links[] = array(
298      ));      "href" => "../scr/tab.php?obj=civilite",
299        "class" => "civilite",
300    array_push($links,      "title" => _("civilite"),
301      array(      "right" => array("civilite", "civilite_tab", ),
302          "href" => "../scr/tab.php?obj=nature",      "open" => array("tab.php|civilite", "form.php|civilite", ),
303          "class" => "nature",  );
304          "title" => _("nature"),  //
305          "right" => "nature",  $links[] = array(
306          "open"  => "|nature"      "href" => "../scr/tab.php?obj=parametre",
307      ));      "class" => "parametre",
308        "title" => _("parametre")." "._("statistique"),
309    array_push($links,      "right" => array("parametre", "parametre_tab", ),
310      array(      "open" => array("tab.php|parametre", "form.php|parametre", ),
311          "href" => "../scr/tab.php?obj=rivoli",  );
312          "class" => "rivoli",  //
313          "title" => _("rivoli"),  $links[] = array(
314          "right" => "rivoli",      "class" => "category",
315          "open"  => "|rivoli"      "title" => _("workflows"),
316      ));      "right" => array(
317            "action", "action_tab", "transition", "transition_tab", "etat",
318    array_push($links,          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis",
319      array(          "avis_tab",
320          "href" => "../scr/tab.php?obj=civilite",      ),
321          "class" => "civilite",  );
322          "title" => _("civilite"),  //
323          "right" => "civilite",  $links[] = array(
324          "open"  => "|civilite"      "title" => "<hr/>",
325      ));      "right" => array(
326            "action", "action_tab", "transition", "transition_tab", "etat",
327            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis",
328            "avis_tab",
329        ),
330    array_push($links,  );
331      array(  //
332          "href" => "../scr/tab.php?obj=parametre",  $links[] = array(
333          "class" => "parametre",      "href" => "../scr/tab.php?obj=action",
334          "title" => _("parametre")." "._("statistique"),      "class" => "action",
335          "right" => "parametre",      "title" => _("action"),
336          "open"  => "|parametre"      "right" => array("action", "action_tab", ),
337      ));      "open" => array("tab.php|action", "form.php|action", ),
338    );
339    //
340    $links[] = array(
341  // workflows      "href" => "../scr/tab.php?obj=transition",
342      array_push($links,      "class" => "transition",
343      array(      "title" => _("transition"),
344          "title" => "<hr/>",      "right" => array("transition", "transition_tab", ),
345          "right" => array("action_tab", "transition_tab", "etat_tab",      "open" => array("tab.php|transition", "form.php|transition", ),
346                           "evenement_tab", "bible", "avis")  );
347      ));  //
348    $links[] = array(
349    array_push($links,      "href" => "../scr/tab.php?obj=etat",
350      array(      "class" => "etat",
351          "href" => "../scr/tab.php?obj=action",      "title" => _("etat"),
352          "class" => "action",      "right" => array("etat", "etat_tab", ),
353          "title" => _("action"),      "open" => array("tab.php|etat", "form.php|etat", ),
354          "right" => "action",  );
355          "open"  => "|action"  //
356      ));  $links[] = array(
357        "href" => "../scr/tab.php?obj=evenement",
358    array_push($links,      "class" => "evenement",
359      array(      "title" => _("evenement"),
360          "href" => "../scr/tab.php?obj=transition",      "right" => array("evenement", "evenement_tab", ),
361          "class" => "transition",      "open" => array("tab.php|evenement", "form.php|evenement", ),
362          "title" => _("transition"),  );
363          "right" => "transition",  //
364          "open"  => "|transition"  $links[] = array(
365      ));      "href" => "../scr/tab.php?obj=bible",
366          "class" => "bible",
367      array_push($links,      "title" => _("bible"),
368      array(      "right" => array("bible", "bible_tab", ),
369          "href" => "../scr/tab.php?obj=etat",      "open" => array("tab.php|bible", "form.php|bible", ),
370          "class" => "etat",  );
371          "title" => _("etat"),  //
372          "right" => "etat",  $links[] = array(
373          "open"  => "|etat"      "href" => "../scr/tab.php?obj=avis",
374      ));      "class" => "avis",
375        "title" => _("avis"),
376      array_push($links,      "right" => array("avis", "avis_tab", ),
377        array(      "open" => array("tab.php|avis", "form.php|avis", ),
378            "href" => "../scr/tab.php?obj=evenement",  );
379            "class" => "evenement",  //
380            "title" => _("evenement"),  $links[] = array(
381            "right" => "evenement",      "class" => "category",
382            "open"  => "|evenement"      "title" => _("editions"),
383        ));      "right" => array(
384                "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
385      array_push($links,          "om_lettretype", "om_lettretype_tab",
386      array(      ),
387          "href" => "../scr/tab.php?obj=bible",  );
388          "class" => "bible",  //
389          "title" => _("bible"),  $links[] = array(
390          "right" => "bible",      "title" => "<hr/>",
391          "open"  => "|bible"      "right" => array(
392      ));          "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
393                  "om_lettretype", "om_lettretype_tab",
394      array_push($links,      ),
395      array(  );
396          "href" => "../scr/tab.php?obj=avis",  //
397          "class" => "avis",  $links[] = array(
398          "title" => _("avis"),      "href" => "../scr/tab.php?obj=om_etat",
399          "right" => "avis",      "class" => "etat",
400          "open"  => "|avis"      "title" => _("om_etat"),
401      ));      "right" => array("om_etat", "om_etat_tab", ),
402    array_push($links,      "open" => array("tab.php|om_etat", "form.php|om_etat", ),
403      array(  );
404          "title" => "<hr/>",  //
405          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),  $links[] = array(
406      ));      "href" => "../scr/tab.php?obj=om_sousetat",
407    array_push($links,      "class" => "sousetat",
408      array(      "title" => _("om_sousetat"),
409          "href" => "../scr/tab.php?obj=om_etat",      "right" => array("om_sousetat", "om_sousetat_tab", ),
410          "class" => "etat",      "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
411          "title" => _("om_etat"),  );
412          "right" => "om_etat_tab",  //
413          "open"  => "|om_etat"  $links[] = array(
414      ));      "href" => "../scr/tab.php?obj=om_lettretype",
415    array_push($links,      "class" => "lettretype",
416      array(      "title" => _("om_lettretype"),
417          "href" => "../scr/tab.php?obj=om_sousetat",      "right" => array("om_lettretype", "om_lettretype_tab"),
418          "class" => "sousetat",      "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
419          "title" => _("om_sousetat"),  );
420          "right" => "om_sousetat_tab",  //
         "open"  => "|om_sousetat"  
     ));  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=om_lettretype",  
         "class" => "lettretype",  
         "title" => _("om_lettretype"),  
         "right" => "om_lettretype_tab",  
         "open"  => "|om_lettretype"  
     ));  
   
   
421  $rubrik['links'] = $links;  $rubrik['links'] = $links;
422  array_push($menu, $rubrik);  //
423  //}}}  $menu[] = $rubrik;
424  //{{{ SIG  // }}}
425    
426    // {{{ Rubrique SIG
427    //
428  $rubrik = array(  $rubrik = array(
429      "title" => _("SIG"),      "title" => _("sig"),
430      "class" => "sig",      "class" => "sig",
431      "right" => "menu_sig",      "right" => "menu_sig",
432  );  );
433    //
434  $links = array();  $links = array();
435    array_push($links,  //
436      array(  $links[] = array(
437          "href" => "../scr/tab.php?obj=parcelle",      "href" => "../scr/tab.php?obj=parcelle",
438          "class" => "parcelle",      "class" => "parcelle",
439          "title" => _("parcelle"),      "title" => _("parcelle"),
440          "right" => "parcelle",      "right" => array("parcelle", "parcelle_tab"),
441          "open"  => "|parcelle",      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
442      ));  );
443    //
444    array_push($links,  $links[] = array(
445      array(      "href" => "../scr/tab.php?obj=proprietaire",
446          "href" => "../scr/tab.php?obj=proprietaire",      "class" => "proprietaire",
447          "class" => "proprietaire",      "title" => _("proprietaire"),
448          "title" => _("proprietaire"),      "right" => array("proprietaire", "proprietaire_tab"),
449          "right" => "proprietaire",      "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
450          "open"  => "|proprietaire"  );
451      ));  //
452    $links[] = array(
453        "class" => "category",
454        "title" => _("servitudes"),
455          "right" => array(
456    // servitudes          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
457    array_push($links,          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
458      array(          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
459          "title" => "<hr/>",      ),
460          "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")  );
461          ));  //
462      array_push($links,  $links[] = array(
463      array(      "title" => "<hr/>",
464          "href" => "../scr/tab.php?obj=pos",      "right" => array(
465          "class" => "pos",          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
466          "title" => _("pos"),          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
467          "right" => "pos",          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
468          "open"  => "|pos",      ),
469      ));  );
470    array_push($links,  //
471      array(  $links[] = array(
472          "href" => "../scr/tab.php?obj=servitude_surfacique",      "href" => "../scr/tab.php?obj=pos",
473          "class" => "servitude",      "class" => "pos",
474          "title" => _("servitude")." "._("surfacique"),      "title" => _("pos"),
475          "right" => "servitude_surfacique",      "right" => array("pos", "pos_tab"),
476          "open"  => "|servitude_surfacique"      "open" => array("tab.php|pos", "form.php|pos", ),
477      ));  );
478    array_push($links,  //
479      array(  $links[] = array(
480          "href" => "../scr/tab.php?obj=servitude_ligne",      "href" => "../scr/tab.php?obj=servitude_surfacique",
481          "class" => "servitude",      "class" => "servitude_surfacique",
482          "title" => _("servitude")." "._("ligne"),      "title" => _("servitude_surfacique"),
483          "right" => "servitude_ligne",      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
484          "open"  => "|servitude_ligne"      "open" => array(
485      ));          "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
486    array_push($links,      ),
487      array(  );
488          "href" => "../scr/tab.php?obj=servitude_point",  //
489          "class" => "servitude",  $links[] = array(
490          "title" => _("servitude")." "._("point"),      "href" => "../scr/tab.php?obj=servitude_ligne",
491          "right" => "servitude_point",      "class" => "servitude_ligne",
492          "open"  => "|servitude_point"      "title" => _("servitude_ligne"),
493      ));      "right" => array("servitude_ligne", "servitude_ligne_tab"),
494        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
495    array_push($links,  );
496      array(  //
497          "href" => "../scr/tab.php?obj=parcelle_lot",  $links[] = array(
498          "class" => "parcelle",      "href" => "../scr/tab.php?obj=servitude_point",
499          "title" => _("parcelle")." "._("lot"),      "class" => "servitude_point",
500          "right" => "parcelle_lot",      "title" => _("servitude_point"),
501          "open"  => "|parcelle_lot"      "right" => array("servitude_point", "servitude_point_tab"),
502      ));      "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
503    );
504    //
505    $links[] = array(
506        "href" => "../scr/tab.php?obj=parcelle_lot",
507        "class" => "parcelle_lot",
508        "title" => _("parcelle_lot"),
509        "right" => array("parcelle_lot", "parcelle_lot_tab"),
510        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
511    );
512    //
513  $rubrik['links'] = $links;  $rubrik['links'] = $links;
514  array_push($menu, $rubrik);  //
515    $menu[] = $rubrik;
516    // }}}
517    
 //}}}  
518  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
519  //  //
520  $rubrik = array(  $rubrik = array(
521      "title" => _("Administration"),      "title" => _("administration"),
522      "class" => "administration",      "class" => "administration",
523      "right" => "menu_administration",      "right" => "menu_administration",
524  );  );
525  //  //
526  $links = array();  $links = array();
527  array_push($links,  //
528      array(  $links[] = array(
529          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
530          "class" => "collectivite",      "class" => "collectivite",
531          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
532          "right" => "om_collectivite_tab",      "right" => array("om_collectivite", "om_collectivite_tab", ),
533          "open"  => "|om_collectivite"      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
534      ));  );
535  array_push($links,  //
536      array(  $links[] = array(
537          "href" => "../scr/tab.php?obj=om_parametre",      "href" => "../scr/tab.php?obj=om_parametre",
538          "class" => "collectivite",      "class" => "parametre",
539          "title" => _("om_parametre"),      "title" => _("om_parametre"),
540          "right" => "om_parametre_tab",      "right" => array("om_parametre", "om_parametre_tab", ),
541          "open"  => "|om_parametre"      "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
542      ));  );
543    //
544    $links[] = array(
545  array_push($links,      "class" => "category",
546      array(      "title" => _("gestion des utilisateurs"),
547          "title" => "<hr/>",      "right" => array(
548          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
549      ));          "om_droit", "om_droit_tab", "directory",
550  array_push($links,      ),
551      array(  );
552          "href" => "../scr/tab.php?obj=om_profil",  //
553          "class" => "profil",  $links[] = array(
554          "title" => _("om_profil"),      "title" => "<hr/>",
555          "right" => "om_profil_tab",      "right" => array(
556          "open"  => "|om_profil"          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
557      ));          "om_droit", "om_droit_tab",
558  array_push($links,      ),
559      array(  );
560          "href" => "../scr/tab.php?obj=om_droit",  //
561          "class" => "droit",  $links[] = array(
562          "title" => _("om_droit"),      "href" => "../scr/tab.php?obj=om_profil",
563          "right" => "om_droit_multi",      "class" => "profil",
564          "open"  => "|om_droit"      "title" => _("om_profil"),
565      ));      "right" => array("om_profil", "om_profil_tab", ),
566  array_push($links,      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
567      array(  );
568          "href" => "../scr/tab.php?obj=om_utilisateur",  //
569          "class" => "utilisateur",  $links[] = array(
570          "title" => _("om_utilisateur"),      "href" => "../scr/tab.php?obj=om_droit",
571          "right" => "om_utilisateur_tab",      "class" => "droit",
572          "open"  => "|om_utilisateur"      "title" => _("om_droit"),
573      ));      "right" => array("om_droit", "om_droit_tab", ),
574  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
575      array(  );
576          "title" => "<hr />",  //
577          "right" => array("directory"),  $links[] = array(
578      ));      "href" => "../scr/tab.php?obj=om_utilisateur",
579  array_push($links,      "class" => "utilisateur",
580      array(      "title" => _("om_utilisateur"),
581          "href" => "../scr/directory.php",      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
582          "title" => _("Annuaire"),      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
583          "right" => "directory",  );
584          "class" => "utilisateur",  //
585          "open"  => "directory.php|"  $links[] = array(
586      ));      "title" => "<hr/>",
587  array_push($links,      "right" => array("directory", ),
588      array(      "parameters" => array("isDirectoryOptionEnabled" => true, ),
589          "title" => "<hr/>",  );
590          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),  //
591      ));  $links[] = array(
592  array_push($links,      "href" => "../scr/directory.php",
593      array(      "class" => "directory",
594          "href" => "../scr/tab.php?obj=om_sig_map",      "title" => _("annuaire"),
595          "class" => "om_sig_map",      "right" => array("directory", ),
596          "title" => _("om SIG"),      "open" => array("directory.php|", ),
597          "right" => "om_sig_map_tab",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
598          "open"  => "|om_sig_map"  );
599      ));  //
600    $links[] = array(
601  array_push($links,      "class" => "category",
602      array(      "title" => _("tableaux de bord"),
603          "href" => "../scr/tab.php?obj=om_sig_wms",      "right" => array("om_widget", "om_widget_tab", ),
604          "class" => "om_sig_wms",  );
605          "title" => _("om wms"),  //
606          "right" => "om_sig_wms_tab",  $links[] = array(
607          "open"  => "|om_sig_wms",      "title" => "<hr/>",
608      ));      "right" => array("om_widget", "om_widget_tab", ),
609  array_push($links,  );
610      array(  //
611          "href" => "../scr/tab.php?obj=om_widget",  $links[] = array(
612          "class" => "om_widget",      "href" => "../scr/tab.php?obj=om_widget",
613          "title" => _("widget"),      "class" => "om_widget",
614          "right" => "om_widget",      "title" => _("widget"),
615          "open"  => "|om_widget"      "right" => array("om_widget", "om_widget_tab", ),
616      ));      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
617  array_push($links,  );
618      array(  //
619          "title" => "<hr/>",  $links[] = array(
620          "right" => array("import"),      "class" => "category",
621      ));      "title" => _("sig"),
622  array_push($links,      "right" => array(
623      array(          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
624          "href" => "../scr/import.php",      ),
625          "class" => "import",  );
626          "title" => _("Import"),  //
627          "right" => "import",  $links[] = array(
628          "open"  => "import.php|"      "title" => "<hr/>",
629      ));      "right" => array(
630            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
631  array_push($links,      ),
632      array(  );
633          "title" => "<hr/>",  //
634          "right" => array("gen"),  $links[] = array(
635      ));      "href" => "../scr/tab.php?obj=om_sig_map",
636  array_push($links,      "class" => "om_sig_map",
637      array(      "title" => _("om_sig_map"),
638          "title" => _("Generateur"),      "right" => array("om_sig_map", "om_sig_map_tab", ),
639          "href" => "../scr/gen.php",      "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
640          "class" => "generator",  );
641          "right" => "gen",  //
642          "open"  => "gen.php|"  $links[] = array(
643      ));      "href" => "../scr/tab.php?obj=om_sig_wms",
644        "class" => "om_sig_wms",
645        "title" => _("om_sig_wms"),
646        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
647        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
648    );
649    //
650    $links[] = array(
651        "class" => "category",
652        "title" => _("options avancees"),
653        "right" => array("import", "gen", ),
654    );
655    //
656    $links[] = array(
657        "title" => "<hr/>",
658        "right" => array("import", ),
659    );
660    //
661    $links[] = array(
662        "href" => "../scr/import.php",
663        "class" => "import",
664        "title" => _("Import"),
665        "right" => array("import", ),
666        "open" => array("import.php|", ),
667    );
668    //
669    $links[] = array(
670        "title" => "<hr/>",
671        "right" => array("gen", ),
672    );
673    //
674    $links[] = array(
675        "title" => _("Generateur"),
676        "href" => "../scr/gen.php",
677        "class" => "generator",
678        "right" => array("gen", ),
679        "open" => array(
680            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
681            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
682            "genimport.php|",
683        ),
684    );
685    //
686  $rubrik['links'] = $links;  $rubrik['links'] = $links;
687  array_push($menu, $rubrik);  //
688    $menu[] = $rubrik;
689  // }}}  // }}}
690    
691  ?>  ?>

Legend:
Removed from v.334  
changed lines
  Added in v.380

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26