/[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 315 by atreal, Wed Mar 28 19:50:07 2012 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" => "PC",      "title" => _("PD"),
43          "open"  => "|PC"      "right" => array("PD", "PD_tab", ),
44      ));      "open" => array("tab.php|PD", "form.php|PD", ),
45      );
46    array_push($links,  //
47      array(  $links[] = array(
48          "href" => "../scr/tab.php?obj=DP",      "href" => "../scr/tab.php?obj=PA",
49          "class" => "dossier",      "class" => "dossier",
50          "title" => _("DP"),      "title" => _("PA"),
51          "right" => "DP",      "right" => array("PA", "PA_tab", ),
52          "open"  => "|DP"      "open" => array("tab.php|PA", "form.php|PA", ),
53      ));  );
54    //
55    $links[] = array(
56    array_push($links,      "title" => "<hr/>",
57      array(      "right" => array(
58          "href" => "../scr/tab.php?obj=PD",          "PC_accueil", "PC_accueil_tab", "DP_accueil", "DP_accueil_tab",
59          "class" => "dossier",          "PD_accueil", "PD_accueil_tab", "PA_accueil", "PA_accueil_tab",
60          "title" => _("PD"),      ),
61          "right" => "PD",  );
62          "open"  => "|PD"  //
63      ));  $links[] = array(
64        "href" => "../scr/tab.php?obj=PC_accueil",
65    array_push($links,      "class" => "dossier",
66      array(      "title" => _("PC - accueil"),
67          "href" => "../scr/tab.php?obj=PA",      "right" => array("PC_accueil", "PC_accueil_tab", ),
68          "class" => "dossier",      "open" => array("tab.php|PC_accueil", "form.php|PC_accueil", ),
69          "title" => _("PA"),  );
70          "right" => "PA",  //
71          "open"  => "|PA"  $links[] = array(
72      ));      "href" => "../scr/tab.php?obj=DP_accueil",
73        "class" => "dossier",
74  array_push($links,      "title" => _("DP - accueil"),
75      array(      "right" => array("DP_accueil", "DP_accueil_tab", ),
76          "title" => "<hr/>",      "open" => array("tab.php|DP_accueil", "form.php|DP_accueil", ),
77          "right" => array(),  );
78      ));  //
79    $links[] = array(
80    array_push($links,      "href" => "../scr/tab.php?obj=PD_accueil",
81      array(      "class" => "dossier",
82          "href" => "../scr/tab.php?obj=PC_accueil",      "title" => _("PD - accueil"),
83          "class" => "dossier",      "right" => array("PD_accueil", "PD_accueil_tab", ),
84          "title" => _("PC - accueil"),      "open" => array("tab.php|PD_accueil", "form.php|PD_accueil", ),
85          "right" => "PC_accueil",  );
86          "open"  => "|PC_accueil"  //
87      ));  $links[] = array(
88          "href" => "../scr/tab.php?obj=PA_accueil",
89    array_push($links,      "class" => "dossier",
90      array(      "title" => _("PA - accueil"),
91          "href" => "../scr/tab.php?obj=DP_accueil",      "right" => array("PA_accueil", "PA_accueil_tab", ),
92          "class" => "dossier",      "open" => array("tab.php|PA_accueil", "form.php|PA_accueil", ),
93          "title" => _("DP - accueil"),  );
94          "right" => "DP_accueil",  //
95          "open"  => "|DP_accueil"  $links[] = array(
96      ));      "title" => "<hr/>",
97        "right" => array("PC_modificatif", "PC_modificatif_tab", ),
98    );
99    array_push($links,  //
100      array(  $links[] = array(
101          "href" => "../scr/tab.php?obj=PD_accueil",      "href" => "../scr/tab.php?obj=PC_modificatif",
102          "class" => "dossier",      "class" => "traitement",
103          "title" => _("PD - accueil"),      "title" => _("modificatif transfert"),
104          "right" => "PD_accueil",      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
105          "open"  => "|PD_accueil"      "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
106      ));  );
107    //
108    array_push($links,  $links[] = array(
109      array(      "title" => "<hr/>",
110          "href" => "../scr/tab.php?obj=PA_accueil",      "right" => array("recherchedossier", ),
111          "class" => "dossier",  );
112          "title" => _("PA - accueil"),  //
113          "right" => "PA_accueil",  $links[] = array(
114          "open"  => "|PA_accueil"      "href" => "../app/recherchedossier.php",
115      ));      "class" => "dossier",
116        "title" => _("Recherche dossier"),
117      array_push($links,      "right" => "recherchedossier",
118      array(      "open" => "recherchedossier.php|",
119          "title" => "<hr/>",  );
120          "right" => array(),  $links[] = array(
121      ));      "class" => "category",
122        "title" => _("Consultation"),
123      array_push($links,      "right" => array("consultation_mes_retours", "consultation_tous_retours","avis_code_barre"),
124      array(  );
125          "href" => "../scr/tab.php?obj=PC_modificatif",  $links[] = array(
126          "class" => "traitement",      "title" => "<hr/>",
127          "title" => _("modificatif transfert"),      "right" => array("consultation_mes_retours", "consultation_tous_retours","avis_code_barre"),
128          "right" => "PC_modificatif",  );
129          "open"  => array("|PC_modificatif","dossier_modificatif.php|")  $links[] = array(
130      ));      "href" => "../scr/tab.php?obj=consultation_mes_retours",
131        "class" => "consultation_mes_retours",
132      array_push($links,      "title" => _("Mes retours"),
133      array(      "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
134          "title" => "<hr/>",      "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
135          "right" => array(),  );
136      ));  $links[] = array(
137        "href" => "../scr/tab.php?obj=consultation_tous_retours",
138      array_push($links,      "class" => "consultation_tous_retours",
139      array(      "title" => _("Tous les retours"),
140          "href" => "../app/recherchedossier.php",      "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
141          "class" => "dossier",      "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
142          "title" => _("Recherche dossier"),  );
143          "right" => "recherchedossier",  $links[] = array(
144          "open"  => "recherchedossier.php|"      "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;
152    //
153    $menu[] = $rubrik;
154    // }}}
155    
156    
157    // {{{ Rubrique Demandes d'avis
158    //
159    $rubrik = array(
160        "title" => _("Demandes d'avis"),
161        "class" => "demande_avis",
162    );
163    //
164    $links = array();
165    //
166    $links[] = array(
167        "href" => "../scr/tab.php?obj=demande_encours",
168        "class" => "demande_encours",
169        "title" => _("Demandes en cours"),
170        "right" => array("demande_encours", "demande_encours_tab", ),
171        "open" => array("tab.php|demande_encours", "form.php|demande_encours", ),
172    );
173    
174    $links[] = array(
175        "href" => "../scr/tab.php?obj=demande_passee",
176        "class" => "demande_passee",
177        "title" => _("Demandes passees"),
178        "right" => array("demande_passee", "demande_passee_tab", ),
179        "open" => array("tab.php|demande_passee", "form.php|demande_passee", ),
180    );
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    
196    
 //}}}  
197    
198  // {{{ Rubrique EXPORT  // {{{ Rubrique EXPORT
199    //
200  $rubrik = array(  $rubrik = array(
201      "title" => _("Export"),      "title" => _("export"),
202      "class" => "edition",      "class" => "edition",
203      "right" => "menu_export",      "right" => "menu_export",
204  );  );
205    //
206  $links = array();  $links = array();
207  array_push($links,  //
208      array(  $links[] = array(
209          "href" => "../scr/edition.php",      "href" => "../scr/edition.php",
210          "class" => "edition",      "class" => "edition",
211          "title" => _("Edition"),      "title" => _("edition"),
212          "right" => "edition",      "right" => "edition",
213          "open"  => "edition.php|"      "open" => "edition.php|",
214      ));  );
215  array_push($links,  //
216      array(  $links[] = array(
217          "href" => "../app/edition_p.php",      "href" => "../app/edition_p.php",
218          "class" => "edition",      "class" => "edition",
219          "title" => _("Edition date depot"),      "title" => _("edition date depot"),
220          "right" => "edition_p",      "right" => "edition_p",
221          "open"  => "edition_p.php|"      "open" => "edition_p.php|",
222      ));  );
223    //
224  array_push($links,  $links[] = array(
225      array(      "href" => "../app/edition_d.php",
226          "href" => "../app/edition_d.php",      "class" => "edition",
227          "class" => "edition",      "title" => _("edition date decision"),
228          "title" => _("Edition date decision"),      "right" => "edition_d",
229          "right" => "edition_d",      "open" => "edition_d.php|",
230          "open"  => "edition_d.php|"  );
231      ));  //
232    $links[] = array(
233      array_push($links,      "title" => "<hr/>",
234      array(      "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
235          "title" => "<hr/>",  );
236          "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel")  //
237      ));  $links[] = array(
238        "href" => "../scr/reqmo.php",
239  array_push($links,      "class" => "reqmo",
240      array(      "title" => _("requetes memorisees"),
241          "href" => "../scr/reqmo.php",      "right" => "reqmo",
242          "class" => "reqmo",      "open" => array("reqmo.php|", "requeteur.php|", ),
243          "title" => _("Requetes memorisees"),  );
244          "right" => "reqmo",  //
245          "open"  => array("reqmo.php|","requeteur.php|",),  $links[] = array(
246      ));      "href" => "../app/export_pc.php",
247        "class" => "reqmo",
248      array_push($links,      "title" => _("export PC Lascot"),
249      array(      "right" => "export_pc",
250          "href" => "../app/export_pc.php",      "open" => "export_pc.php|",
251          "class" => "reqmo",  );
252          "title" => _("export PC Lascot"),  //
253          "right" => "export_pc",  $links[] = array(
254          "open"  => "export_pc.php|"      "href" => "../app/export_dp.php",
255      ));      "class" => "reqmo",
256            "title" => _("export DP Lascot"),
257      array_push($links,      "right" => "export_dp",
258      array(      "open" => "export_dp.php|",
259          "href" => "../app/export_dp.php",  );
260          "class" => "reqmo",  //
261          "title" => _("export DP Lascot"),  $links[] = array(
262          "right" => "export_dp",      "href" => "../app/sitadel.php",
263          "open"  => "export_dp.php|"      "class" => "reqmo",
264      ));      "title" => _("export sitadel")." 2",
265        "right" => "export_sitadel",
266      array_push($links,      "open" => "sitadel.php|",
267      array(  );
268          "href" => "../app/sitadel.php",  //
         "class" => "reqmo",  
         "title" => _("export")._("sitadel")." 2",  
         "right" => "export_sitadel",  
         "open"  => "sitadel.php|"  
     ));  
   
   
269  $rubrik['links'] = $links;  $rubrik['links'] = $links;
270  array_push($menu, $rubrik);  //
271    $menu[] = $rubrik;
272  // }}}  // }}}
 // {{{  Rubrique parametrage de l'application  
273    
274    // {{{ Rubrique PARAMETRAGE
275    //
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/form.php?obj=dossier_numeromanuel",      "title" => "<hr/>",
303          "class" => "traitement",      "right" => array(
304          "title" => _("numero manuel"),          "architecte", "architecte_tab", "service", "service_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
305          "right" => "dossier_numeromanuel",           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
306          "open"  => "|dossier_numeromanuel"          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
307      ));          "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
308        ),
309      array_push($links,  );
310      array(  //
311          "href" => "../app/num_dossier.php",  $links[] = array(
312          "class" => "traitement",      "href" => "../scr/tab.php?obj=architecte",
313          "title" => _("remise a 0"),      "class" => "architecte",
314          "right" => "num_dossier",      "title" => _("architecte"),
315          "open"  => "num_dossier.php|"      "right" => array("architecte", "architecte_tab", ),
316      ));      "open" => array("tab.php|architecte", "form.php|architecte", ),
317    );
318      array_push($links,  //
319      array(  $links[] = array(
320          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=service",
321          "right" => array(),      "class" => "service",
322      ));      "title" => _("service"),
323        "right" => array("service", "service_tab", ),
324        "open" => array("tab.php|service", "form.php|service", ),
325    array_push($links,  );
326      array(  $links[] = array(
327          "href" => "../scr/tab.php?obj=architecte",      "href" => "../scr/tab.php?obj=service_categorie",
328          "class" => "architecte",      "class" => "service_categorie",
329          "title" => _("architecte"),      "title" => _("thematique des services"),
330          "right" => "architecte",      "right" => array("service_categorie", "service_categorie_tab", ),
331          "open"  => "|architecte"      "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
332      ));  );
333    $links[] = array(
334        "href" => "../scr/tab.php?obj=lien_service_service_categorie",
335        "class" => "lien_service_service_categorie",
336    array_push($links,      "title" => _("Lien service / thematique"),
337      array(      "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
338          "href" => "../scr/tab.php?obj=service",      "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
339          "class" => "service",  );
340          "title" => _("service"),  //
341          "right" => "service",  $links[] = array(
342          "open"  => "|service"      "href" => "../scr/tab.php?obj=travaux",
343      ));      "class" => "travaux",
344          "title" => _("travaux"),
345    array_push($links,      "right" => array("travaux", "travaux_tab", ),
346      array(      "open" => array("tab.php|travaux", "form.php|travaux", ),
347          "href" => "../scr/tab.php?obj=travaux",  );
348          "class" => "travaux",  //
349          "title" => _("travaux"),  $links[] = array(
350          "right" => "travaux",      "href" => "../scr/tab.php?obj=categorie_demandeur",
351          "open"  => "|travaux",      "class" => "categorie_demandeur",
352      ));      "title" => _("categorie_demandeur"),
353        "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
354    array_push($links,      "open" => array(
355      array(          "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
356          "href" => "../scr/tab.php?obj=categorie_demandeur",      ),
357          "class" => "categorie_demandeur",  );
358          "title" => _("categorie_demandeur"),  //
359          "right" => "categorie_demandeur",  $links[] = array(
360          "open"  => "|categorie_demandeur"      "href" => "../scr/tab.php?obj=destination",
361      ));      "class" => "destination",
362          "title" => _("destination"),
363    array_push($links,      "right" => array("destination", "destination_tab", ),
364      array(      "open" => array("tab.php|destination", "form.php|destination", ),
365          "href" => "../scr/tab.php?obj=destination",  );
366          "class" => "destination",  //
367          "title" => _("destination"),  $links[] = array(
368          "right" => "destination",      "href" => "../scr/tab.php?obj=nature",
369          "open"  => "|destination"      "class" => "nature",
370      ));      "title" => _("nature"),
371        "right" => array("nature", "nature_tab", ),
372    array_push($links,      "open" => array("tab.php|nature", "form.php|nature", ),
373      array(  );
374          "href" => "../scr/tab.php?obj=nature",  //
375          "class" => "nature",  $links[] = array(
376          "title" => _("nature"),      "href" => "../scr/tab.php?obj=rivoli",
377          "right" => "nature",      "class" => "rivoli",
378          "open"  => "|nature"      "title" => _("rivoli"),
379      ));      "right" => array("rivoli", "rivoli_tab", ),
380        "open" => array("tab.php|rivoli", "form.php|rivoli", ),
381    array_push($links,  );
382      array(  //
383          "href" => "../scr/tab.php?obj=rivoli",  $links[] = array(
384          "class" => "rivoli",      "href" => "../scr/tab.php?obj=civilite",
385          "title" => _("rivoli"),      "class" => "civilite",
386          "right" => "rivoli",      "title" => _("civilite"),
387          "open"  => "|rivoli"      "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=civilite",      "href" => "../scr/tab.php?obj=parametre",
393          "class" => "civilite",      "class" => "parametre",
394          "title" => _("civilite"),      "title" => _("parametre")." "._("statistique"),
395          "right" => "civilite",      "right" => array("parametre", "parametre_tab", ),
396          "open"  => "|civilite"      "open" => array("tab.php|parametre", "form.php|parametre", ),
397      ));  );
398    //
399    $links[] = array(
400        "class" => "category",
401        "title" => _("workflows"),
402    array_push($links,      "right" => array(
403      array(          "action", "action_tab", "transition", "transition_tab", "etat",
404          "href" => "../scr/tab.php?obj=parametre",          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
405          "class" => "parametre",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
406          "title" => _("parametre")." "._("statistique"),      ),
407          "right" => "parametre",  );
408          "open"  => "|parametre"  //
409      ));  $links[] = array(
410        "title" => "<hr/>",
411        "right" => array(
412            "action", "action_tab", "transition", "transition_tab", "etat",
413  // workflows          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
414      array_push($links,          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
415      array(      ),
416          "title" => "<hr/>",  );
417          "right" => array("action_tab", "transition_tab", "etat_tab",  //
418                           "evenement_tab", "bible", "avis")  $links[] = array(
419      ));      "href" => "../scr/tab.php?obj=action",
420        "class" => "action",
421    array_push($links,      "title" => _("action"),
422      array(      "right" => array("action", "action_tab", ),
423          "href" => "../scr/tab.php?obj=action",      "open" => array("tab.php|action", "form.php|action", ),
424          "class" => "action",  );
425          "title" => _("action"),  //
426          "right" => "action",  $links[] = array(
427          "open"  => "|action"      "href" => "../scr/tab.php?obj=transition",
428      ));      "class" => "transition",
429        "title" => _("transition"),
430    array_push($links,      "right" => array("transition", "transition_tab", ),
431      array(      "open" => array("tab.php|transition", "form.php|transition", ),
432          "href" => "../scr/tab.php?obj=transition",  );
433          "class" => "transition",  //
434          "title" => _("transition"),  $links[] = array(
435          "right" => "transition",      "href" => "../scr/tab.php?obj=etat",
436          "open"  => "|transition"      "class" => "etat",
437      ));      "title" => _("etat"),
438          "right" => array("etat", "etat_tab", ),
439      array_push($links,      "open" => array("tab.php|etat", "form.php|etat", ),
440      array(  );
441          "href" => "../scr/tab.php?obj=etat",  //
442          "class" => "etat",  $links[] = array(
443          "title" => _("etat"),      "href" => "../scr/tab.php?obj=evenement",
444          "right" => "etat",      "class" => "evenement",
445          "open"  => "|etat"      "title" => _("evenement"),
446      ));      "right" => array("evenement", "evenement_tab", ),
447        "open" => array("tab.php|evenement", "form.php|evenement", ),
448      array_push($links,  );
449        array(  //
450            "href" => "../scr/tab.php?obj=evenement",  $links[] = array(
451            "class" => "evenement",      "href" => "../scr/tab.php?obj=bible",
452            "title" => _("evenement"),      "class" => "bible",
453            "right" => "evenement",      "title" => _("bible"),
454            "open"  => "|evenement"      "right" => array("bible", "bible_tab", ),
455        ));      "open" => array("tab.php|bible", "form.php|bible", ),
456        );
457      array_push($links,  //
458      array(  $links[] = array(
459          "href" => "../scr/tab.php?obj=bible",      "href" => "../scr/tab.php?obj=avis_decision",
460          "class" => "bible",      "class" => "avis_decision",
461          "title" => _("bible"),      "title" => _("avis decision"),
462          "right" => "bible",      "right" => array("avis_decision", "avis_decision_tab", ),
463          "open"  => "|bible"      "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
464      ));  );
465          //
466      array_push($links,  $links[] = array(
467      array(      "href" => "../scr/tab.php?obj=avis_consultation",
468          "href" => "../scr/tab.php?obj=avis",      "class" => "avis_consultation",
469          "class" => "avis",      "title" => _("avis consultation"),
470          "title" => _("avis"),      "right" => array("avis_consultation", "avis_consultation_tab", ),
471          "right" => "avis",      "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
472          "open"  => "|avis"  );
473      ));  //
474    array_push($links,  $links[] = array(
475      array(      "class" => "category",
476          "title" => "<hr/>",      "title" => _("Organisation"),
477          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "right" => array("direction", "division", "instructeur"),
478      ));  );
479    array_push($links,  $links[] = array(
480      array(      "title" => "<hr/>",
481          "href" => "../scr/tab.php?obj=om_etat",      "right" => array("direction", "division", "instructeur"),
482          "class" => "etat",  );
483          "title" => _("om_etat"),  //
484          "right" => "om_etat_tab",  $links[] = array(
485          "open"  => "|om_etat"      "href" => "../scr/tab.php?obj=direction",
486      ));      "class" => "direction",
487    array_push($links,      "title" => _("direction"),
488      array(      "right" => array("direction", "direction_tab", ),
489          "href" => "../scr/tab.php?obj=om_sousetat",      "open" => array("tab.php|direction", "form.php|direction", ),
490          "class" => "sousetat",  );
491          "title" => _("om_sousetat"),  //
492          "right" => "om_sousetat_tab",  $links[] = array(
493          "open"  => "|om_sousetat"      "href" => "../scr/tab.php?obj=division",
494      ));      "class" => "division",
495    array_push($links,      "title" => _("division"),
496      array(      "right" => array("division", "division_tab", ),
497          "href" => "../scr/tab.php?obj=om_lettretype",      "open" => array("tab.php|division", "form.php|division", ),
498          "class" => "lettretype",  );
499          "title" => _("om_lettretype"),  //
500          "right" => "om_lettretype_tab",  $links[] = array(
501          "open"  => "|om_lettretype"      "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  //{{{ SIG  // }}}
553    
554    // {{{ Rubrique SIG
555    //
556  $rubrik = array(  $rubrik = array(
557      "title" => _("SIG"),      "title" => _("sig"),
558      "class" => "sig",      "class" => "sig",
559      "right" => "menu_sig",      "right" => "menu_sig",
560  );  );
561    //
562  $links = array();  $links = array();
563    array_push($links,  //
564      array(  $links[] = array(
565          "href" => "../scr/tab.php?obj=parcelle",      "href" => "../scr/tab.php?obj=parcelle",
566          "class" => "parcelle",      "class" => "parcelle",
567          "title" => _("parcelle"),      "title" => _("parcelle"),
568          "right" => "parcelle",      "right" => array("parcelle", "parcelle_tab"),
569          "open"  => "|parcelle",      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
570      ));  );
571    //
572    array_push($links,  $links[] = array(
573      array(      "href" => "../scr/tab.php?obj=proprietaire",
574          "href" => "../scr/tab.php?obj=proprietaire",      "class" => "proprietaire",
575          "class" => "proprietaire",      "title" => _("proprietaire"),
576          "title" => _("proprietaire"),      "right" => array("proprietaire", "proprietaire_tab"),
577          "right" => "proprietaire",      "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
578          "open"  => "|proprietaire"  );
579      ));  //
580    $links[] = array(
581        "class" => "category",
582        "title" => _("servitudes"),
583          "right" => array(
584    // servitudes          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
585    array_push($links,          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
586      array(          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
587          "title" => "<hr/>",      ),
588          "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")  );
589          ));  //
590      array_push($links,  $links[] = array(
591      array(      "title" => "<hr/>",
592          "href" => "../scr/tab.php?obj=pos",      "right" => array(
593          "class" => "pos",          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
594          "title" => _("pos"),          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
595          "right" => "pos",          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
596          "open"  => "|pos",      ),
597      ));  );
598    array_push($links,  //
599      array(  $links[] = array(
600          "href" => "../scr/tab.php?obj=servitude_surfacique",      "href" => "../scr/tab.php?obj=pos",
601          "class" => "servitude",      "class" => "pos",
602          "title" => _("servitude")." "._("surfacique"),      "title" => _("pos"),
603          "right" => "servitude_surfacique",      "right" => array("pos", "pos_tab"),
604          "open"  => "|servitude_surfacique"      "open" => array("tab.php|pos", "form.php|pos", ),
605      ));  );
606    array_push($links,  //
607      array(  $links[] = array(
608          "href" => "../scr/tab.php?obj=servitude_ligne",      "href" => "../scr/tab.php?obj=servitude_surfacique",
609          "class" => "servitude",      "class" => "servitude_surfacique",
610          "title" => _("servitude")." "._("ligne"),      "title" => _("servitude_surfacique"),
611          "right" => "servitude_ligne",      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
612          "open"  => "|servitude_ligne"      "open" => array(
613      ));          "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
614    array_push($links,      ),
615      array(  );
616          "href" => "../scr/tab.php?obj=servitude_point",  //
617          "class" => "servitude",  $links[] = array(
618          "title" => _("servitude")." "._("point"),      "href" => "../scr/tab.php?obj=servitude_ligne",
619          "right" => "servitude_point",      "class" => "servitude_ligne",
620          "open"  => "|servitude_point"      "title" => _("servitude_ligne"),
621      ));      "right" => array("servitude_ligne", "servitude_ligne_tab"),
622        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
623    array_push($links,  );
624      array(  //
625          "href" => "../scr/tab.php?obj=parcelle_lot",  $links[] = array(
626          "class" => "parcelle",      "href" => "../scr/tab.php?obj=servitude_point",
627          "title" => _("parcelle")." "._("lot"),      "class" => "servitude_point",
628          "right" => "parcelle_lot",      "title" => _("servitude_point"),
629          "open"  => "|parcelle_lot"      "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;  $rubrik['links'] = $links;
642  array_push($menu, $rubrik);  //
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"  => "|om_collectivite"      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
662      ));  );
663  array_push($links,  //
664      array(  $links[] = array(
665          "href" => "../scr/tab.php?obj=om_parametre",      "href" => "../scr/tab.php?obj=om_parametre",
666          "class" => "collectivite",      "class" => "parametre",
667          "title" => _("om_parametre"),      "title" => _("om_parametre"),
668          "right" => "om_parametre_tab",      "right" => array("om_parametre", "om_parametre_tab", ),
669          "open"  => "|om_parametre"      "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
670      ));  );
671    //
672    $links[] = array(
673  array_push($links,      "class" => "category",
674      array(      "title" => _("gestion des utilisateurs"),
675          "title" => "<hr/>",      "right" => array(
676          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
677      ));          "om_droit", "om_droit_tab", "directory",
678  array_push($links,      ),
679      array(  );
680          "href" => "../scr/tab.php?obj=om_profil",  //
681          "class" => "profil",  $links[] = array(
682          "title" => _("om_profil"),      "title" => "<hr/>",
683          "right" => "om_profil_tab",      "right" => array(
684          "open"  => "|om_profil"          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
685      ));          "om_droit", "om_droit_tab",
686  array_push($links,      ),
687      array(  );
688          "href" => "../scr/tab.php?obj=om_droit",  //
689          "class" => "droit",  $links[] = array(
690          "title" => _("om_droit"),      "href" => "../scr/tab.php?obj=om_profil",
691          "right" => "om_droit_multi",      "class" => "profil",
692          "open"  => "|om_droit"      "title" => _("om_profil"),
693      ));      "right" => array("om_profil", "om_profil_tab", ),
694  array_push($links,      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
695      array(  );
696          "href" => "../scr/tab.php?obj=om_utilisateur",  //
697          "class" => "utilisateur",  $links[] = array(
698          "title" => _("om_utilisateur"),      "href" => "../scr/tab.php?obj=om_droit",
699          "right" => "om_utilisateur_tab",      "class" => "droit",
700          "open"  => "|om_utilisateur"      "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          "title" => "<hr />",  //
705          "right" => array("directory"),  $links[] = array(
706      ));      "href" => "../scr/tab.php?obj=om_utilisateur",
707  array_push($links,      "class" => "utilisateur",
708      array(      "title" => _("om_utilisateur"),
709          "href" => "../scr/directory.php",      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
710          "title" => _("Annuaire"),      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
711          "right" => "directory",  );
712          "class" => "utilisateur",  //
713          "open"  => "directory.php|"  $links[] = array(
714      ));      "title" => "<hr/>",
715  array_push($links,      "right" => array("directory", ),
716      array(      "parameters" => array("isDirectoryOptionEnabled" => true, ),
717          "title" => "<hr/>",  );
718          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),  //
719      ));  $links[] = array(
720  array_push($links,      "href" => "../scr/directory.php",
721      array(      "class" => "directory",
722          "href" => "../scr/tab.php?obj=om_sig_point",      "title" => _("annuaire"),
723          "class" => "om_sig_point",      "right" => array("directory", ),
724          "title" => _("om SIG"),      "open" => array("directory.php|", ),
725          "right" => "om_sig_point_tab",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
726          "open"  => "|om_sig_point"  );
727      ));  //
728  array_push($links,  $links[] = array(
729      array(      "class" => "category",
730          "href" => "../scr/tab.php?obj=om_widget",      "title" => _("tableaux de bord"),
731          "class" => "om_widget",      "right" => array("om_widget", "om_widget_tab", ),
732          "title" => _("widget"),  );
733          "right" => "om_widget",  //
734          "open"  => "|om_widget"  $links[] = array(
735      ));      "title" => "<hr/>",
736  array_push($links,      "right" => array("om_widget", "om_widget_tab", ),
737      array(  );
738          "title" => "<hr/>",  //
739          "right" => array("import"),  $links[] = array(
740      ));      "href" => "../scr/tab.php?obj=om_widget",
741  array_push($links,      "class" => "om_widget",
742      array(      "title" => _("widget"),
743          "href" => "../scr/import.php",      "right" => array("om_widget", "om_widget_tab", ),
744          "class" => "import",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
745          "title" => _("Import"),  );
746          "right" => "import",  //
747          "open"  => "import.php|"  $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" => "../scr/gen.php",          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
759          "class" => "generator",      ),
760          "right" => "gen",  );
761          "open"  => "gen.php|"  //
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.315  
changed lines
  Added in v.554

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26