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

Legend:
Removed from v.326  
changed lines
  Added in v.519

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26