/[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 177 by fraynaud, Wed Oct 5 16:04:37 2011 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" => "dossier"      "title" => _("PD"),
43      ));      "right" => array("PD", "PD_tab", ),
44          "open" => array("tab.php|PD", "form.php|PD", ),
45    array_push($links,  );
46      array(  //
47          "href" => "../scr/tab.php?obj=DP",  $links[] = array(
48          "class" => "dossier",      "href" => "../scr/tab.php?obj=PA",
49          "title" => _("DP"),      "class" => "dossier",
50          "right" => "dossier"      "title" => _("PA"),
51      ));      "right" => array("PA", "PA_tab", ),
52        "open" => array("tab.php|PA", "form.php|PA", ),
53    );
54    array_push($links,  //
55      array(  $links[] = array(
56          "href" => "../scr/tab.php?obj=PD",      "title" => "<hr/>",
57          "class" => "dossier",      "right" => array(
58          "title" => _("PD"),          "PC_accueil", "PC_accueil_tab", "DP_accueil", "DP_accueil_tab",
59          "right" => "dossier"          "PD_accueil", "PD_accueil_tab", "PA_accueil", "PA_accueil_tab",
60      ));      ),
61    );
62    array_push($links,  //
63      array(  $links[] = array(
64          "href" => "../scr/tab.php?obj=PA",      "href" => "../scr/tab.php?obj=PC_accueil",
65          "class" => "dossier",      "class" => "dossier",
66          "title" => _("PA"),      "title" => _("PC - accueil"),
67          "right" => "dossier"      "right" => array("PC_accueil", "PC_accueil_tab", ),
68      ));      "open" => array("tab.php|PC_accueil", "form.php|PC_accueil", ),
69    );
70  array_push($links,  //
71      array(  $links[] = array(
72          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=DP_accueil",
73          "right" => array("gen"),      "class" => "dossier",
74      ));      "title" => _("DP - accueil"),
75        "right" => array("DP_accueil", "DP_accueil_tab", ),
76    array_push($links,      "open" => array("tab.php|DP_accueil", "form.php|DP_accueil", ),
77      array(  );
78          "href" => "../scr/tab.php?obj=PC_accueil",  //
79          "class" => "dossier",  $links[] = array(
80          "title" => _("PC - accueil"),      "href" => "../scr/tab.php?obj=PD_accueil",
81          "right" => "dossier"      "class" => "dossier",
82      ));      "title" => _("PD - accueil"),
83          "right" => array("PD_accueil", "PD_accueil_tab", ),
84    array_push($links,      "open" => array("tab.php|PD_accueil", "form.php|PD_accueil", ),
85      array(  );
86          "href" => "../scr/tab.php?obj=DP_accueil",  //
87          "class" => "dossier",  $links[] = array(
88          "title" => _("DP - accueil"),      "href" => "../scr/tab.php?obj=PA_accueil",
89          "right" => "dossier"      "class" => "dossier",
90      ));      "title" => _("PA - accueil"),
91        "right" => array("PA_accueil", "PA_accueil_tab", ),
92        "open" => array("tab.php|PA_accueil", "form.php|PA_accueil", ),
93    array_push($links,  );
94      array(  //
95          "href" => "../scr/tab.php?obj=PD_accueil",  $links[] = array(
96          "class" => "dossier",      "title" => "<hr/>",
97          "title" => _("PD - accueil"),      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
98          "right" => "dossier"  );
99      ));  //
100    $links[] = array(
101    array_push($links,      "href" => "../scr/tab.php?obj=PC_modificatif",
102      array(      "class" => "traitement",
103          "href" => "../scr/tab.php?obj=PA_accueil",      "title" => _("modificatif transfert"),
104          "class" => "dossier",      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
105          "title" => _("PA - accueil"),      "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
106          "right" => "dossier"  );
107      ));  //
108      array_push($links,  $links[] = array(
109      array(      "title" => "<hr/>",
110          "title" => "<hr/>",      "right" => array("recherchedossier", ),
111          "right" => array("gen"),  );
112      ));  //
113    $links[] = array(
114      array_push($links,      "href" => "../app/recherchedossier.php",
115      array(      "class" => "dossier",
116          "href" => "../app/recherchedossier.php",      "title" => _("Recherche dossier"),
117          "class" => "dossier",      "right" => "recherchedossier",
118          "title" => _("Recherche dossier"),      "open" => "recherchedossier.php|",
119          "right" => "recherchedossier"  );
120      ));  //
   
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|",
142  array_push($links,  );
143      array(  //
144          "href" => "../app/edition_p.php",  $links[] = array(
145          "class" => "edition",      "href" => "../app/edition_p.php",
146          "title" => _("Edition date depot"),      "class" => "edition",
147          "right" => "edition"      "title" => _("edition date depot"),
148      ));      "right" => "edition_p",
149        "open" => "edition_p.php|",
150  array_push($links,  );
151      array(  //
152          "href" => "../app/edition_d.php",  $links[] = array(
153          "class" => "edition",      "href" => "../app/edition_d.php",
154          "title" => _("Edition date decision"),      "class" => "edition",
155          "right" => "edition"      "title" => _("edition date decision"),
156      ));      "right" => "edition_d",
157        "open" => "edition_d.php|",
158      array_push($links,  );
159      array(  //
160          "title" => "<hr/>",  $links[] = array(
161          "right" => array("reqmo", "export_pc_tab", "export_dp_tab", "export_sitadel_tab")      "title" => "<hr/>",
162      ));      "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
163    );
164  array_push($links,  //
165      array(  $links[] = array(
166          "href" => "../scr/reqmo.php",      "href" => "../scr/reqmo.php",
167          "class" => "reqmo",      "class" => "reqmo",
168          "title" => _("Requetes memorisees"),      "title" => _("requetes memorisees"),
169          "right" => "reqmo"      "right" => "reqmo",
170      ));      "open" => array("reqmo.php|", "requeteur.php|", ),
171    );
172      array_push($links,  //
173      array(  $links[] = array(
174          "href" => "../app/export_pc.php",      "href" => "../app/export_pc.php",
175          "class" => "reqmo",      "class" => "reqmo",
176          "title" => _("export PC Lascot"),      "title" => _("export PC Lascot"),
177          "right" => "ecport_pc"      "right" => "export_pc",
178      ));      "open" => "export_pc.php|",
179        );
180      array_push($links,  //
181      array(  $links[] = array(
182          "href" => "../app/export_dp.php",      "href" => "../app/export_dp.php",
183          "class" => "reqmo",      "class" => "reqmo",
184          "title" => _("export DP Lascot"),      "title" => _("export DP Lascot"),
185          "right" => "export_dp"      "right" => "export_dp",
186      ));      "open" => "export_dp.php|",
187        );
188      array_push($links,  //
189      array(  $links[] = array(
190          "href" => "../app/export_sitadel.php",      "href" => "../app/sitadel.php",
191          "class" => "reqmo",      "class" => "reqmo",
192          "title" => _("export sitadel"),      "title" => _("export sitadel")." 2",
193          "right" => "export_sitadel"      "right" => "export_sitadel",
194      ));      "open" => "sitadel.php|",
195    );
196      array_push($links,  //
     array(  
         "href" => "../app/sitadel.php",  
         "class" => "reqmo",  
         "title" => _("export")._("sitadel")." 2",  
         "right" => "export_sitadel"  
     ));  
   
   
197  $rubrik['links'] = $links;  $rubrik['links'] = $links;
198  array_push($menu, $rubrik);  //
199    $menu[] = $rubrik;
200  // }}}  // }}}
201    
202  // {{{ Rubrique TRAITEMENT  // {{{ Rubrique PARAMETRAGE
203    //
204  $rubrik = array(  $rubrik = array(
205      "title" => _("Traitement"),      "title" => _("parametrage"),
206      "class" => "traitement",      "class" => "parametrage",
207      "right" => "menu_traitement",      "right" => "menu_parametrage",
208  );  );
209    //
210  $links = array();  $links = array();
211  // *** TRAITEMENT ***  //
212  // inserez le lien d acces au traitement  // 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" => "../trt/nom_du_traitement.php",      "right" => "dossier_numeromanuel",
218          "class" => "traitement",      "open" => "|dossier_numeromanuel",
219          "title" => _("Traitement"),  );
220          "right" => "traitement"  //
221      ));  $links[] = array(
222  */      "href" => "../app/num_dossier.php",
223  // ========================================================================      "class" => "traitement",
224      array_push($links,      "title" => _("remise a 0"),
225      array(      "right" => "num_dossier",
226          "href" => "../scr/form.php?obj=dossier_numeromanuel",      "open" => "num_dossier.php|",
227          "class" => "traitement",  );
228          "title" => _("numero manuel"),  //
229          "right" => "traitement"  $links[] = array(
230      ));      "title" => "<hr/>",
231        "right" => array(
232      array_push($links,          "architecte", "architecte_tab", "service", "service_tab", "travaux",
233      array(          "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
234          "href" => "../scr/tab.php?obj=PC_modificatif",          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
235          "class" => "traitement",          "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
236          "title" => _("modificatif transfert"),      ),
237          "right" => "traitement"  );
238      ));      //
239    $links[] = array(
240      array_push($links,      "href" => "../scr/tab.php?obj=architecte",
241      array(      "class" => "architecte",
242          "href" => "../app/num_dossier.php",      "title" => _("architecte"),
243          "class" => "traitement",      "right" => array("architecte", "architecte_tab", ),
244          "title" => _("remise a 0"),      "open" => array("tab.php|architecte", "form.php|architecte", ),
245          "right" => "traitement"  );
246      ));  //
247    $links[] = array(
248        "href" => "../scr/tab.php?obj=service",
249        "class" => "service",
250        "title" => _("service"),
251        "right" => array("service", "service_tab", ),
252        "open" => array("tab.php|service", "form.php|service", ),
253    );
254    //
255    $links[] = array(
256        "href" => "../scr/tab.php?obj=travaux",
257        "class" => "travaux",
258        "title" => _("travaux"),
259        "right" => array("travaux", "travaux_tab", ),
260        "open" => array("tab.php|travaux", "form.php|travaux", ),
261    );
262    //
263    $links[] = array(
264        "href" => "../scr/tab.php?obj=categorie_demandeur",
265        "class" => "categorie_demandeur",
266        "title" => _("categorie_demandeur"),
267        "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
268        "open" => array(
269            "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
270        ),
271    );
272    //
273    $links[] = array(
274        "href" => "../scr/tab.php?obj=destination",
275        "class" => "destination",
276        "title" => _("destination"),
277        "right" => array("destination", "destination_tab", ),
278        "open" => array("tab.php|destination", "form.php|destination", ),
279    );
280    //
281    $links[] = array(
282        "href" => "../scr/tab.php?obj=nature",
283        "class" => "nature",
284        "title" => _("nature"),
285        "right" => array("nature", "nature_tab", ),
286        "open" => array("tab.php|nature", "form.php|nature", ),
287    );
288    //
289    $links[] = array(
290        "href" => "../scr/tab.php?obj=rivoli",
291        "class" => "rivoli",
292        "title" => _("rivoli"),
293        "right" => array("rivoli", "rivoli_tab", ),
294        "open" => array("tab.php|rivoli", "form.php|rivoli", ),
295    );
296    //
297    $links[] = array(
298        "href" => "../scr/tab.php?obj=civilite",
299        "class" => "civilite",
300        "title" => _("civilite"),
301        "right" => array("civilite", "civilite_tab", ),
302        "open" => array("tab.php|civilite", "form.php|civilite", ),
303    );
304    //
305    $links[] = array(
306        "href" => "../scr/tab.php?obj=parametre",
307        "class" => "parametre",
308        "title" => _("parametre")." "._("statistique"),
309        "right" => array("parametre", "parametre_tab", ),
310        "open" => array("tab.php|parametre", "form.php|parametre", ),
311    );
312    //
313    $links[] = array(
314        "class" => "category",
315        "title" => _("workflows"),
316        "right" => array(
317            "action", "action_tab", "transition", "transition_tab", "etat",
318            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis",
319            "avis_tab",
320        ),
321    );
322    //
323    $links[] = array(
324        "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    );
331    //
332    $links[] = array(
333        "href" => "../scr/tab.php?obj=action",
334        "class" => "action",
335        "title" => _("action"),
336        "right" => array("action", "action_tab", ),
337        "open" => array("tab.php|action", "form.php|action", ),
338    );
339    //
340    $links[] = array(
341        "href" => "../scr/tab.php?obj=transition",
342        "class" => "transition",
343        "title" => _("transition"),
344        "right" => array("transition", "transition_tab", ),
345        "open" => array("tab.php|transition", "form.php|transition", ),
346    );
347    //
348    $links[] = array(
349        "href" => "../scr/tab.php?obj=etat",
350        "class" => "etat",
351        "title" => _("etat"),
352        "right" => array("etat", "etat_tab", ),
353        "open" => array("tab.php|etat", "form.php|etat", ),
354    );
355    //
356    $links[] = array(
357        "href" => "../scr/tab.php?obj=evenement",
358        "class" => "evenement",
359        "title" => _("evenement"),
360        "right" => array("evenement", "evenement_tab", ),
361        "open" => array("tab.php|evenement", "form.php|evenement", ),
362    );
363    //
364    $links[] = array(
365        "href" => "../scr/tab.php?obj=bible",
366        "class" => "bible",
367        "title" => _("bible"),
368        "right" => array("bible", "bible_tab", ),
369        "open" => array("tab.php|bible", "form.php|bible", ),
370    );
371    //
372    $links[] = array(
373        "href" => "../scr/tab.php?obj=avis",
374        "class" => "avis",
375        "title" => _("avis"),
376        "right" => array("avis", "avis_tab", ),
377        "open" => array("tab.php|avis", "form.php|avis", ),
378    );
379    //
380    $links[] = array(
381        "class" => "category",
382        "title" => _("editions"),
383        "right" => array(
384            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
385            "om_lettretype", "om_lettretype_tab",
386        ),
387    );
388    //
389    $links[] = array(
390        "title" => "<hr/>",
391        "right" => array(
392            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
393            "om_lettretype", "om_lettretype_tab",
394        ),
395    );
396    //
397    $links[] = array(
398        "href" => "../scr/tab.php?obj=om_etat",
399        "class" => "etat",
400        "title" => _("om_etat"),
401        "right" => array("om_etat", "om_etat_tab", ),
402        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
403    );
404    //
405    $links[] = array(
406        "href" => "../scr/tab.php?obj=om_sousetat",
407        "class" => "sousetat",
408        "title" => _("om_sousetat"),
409        "right" => array("om_sousetat", "om_sousetat_tab", ),
410        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
411    );
412    //
413    $links[] = array(
414        "href" => "../scr/tab.php?obj=om_lettretype",
415        "class" => "lettretype",
416        "title" => _("om_lettretype"),
417        "right" => array("om_lettretype", "om_lettretype_tab"),
418        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
419    );
420    //
421  $rubrik['links'] = $links;  $rubrik['links'] = $links;
422  array_push($menu, $rubrik);  //
423    $menu[] = $rubrik;
424  // }}}  // }}}
425    
426    // {{{ Rubrique SIG
427    //
 // {{{  Rubrique parametrage de l'application  
   
428  $rubrik = array(  $rubrik = array(
429      "title" => _("Parametrage"),      "title" => _("sig"),
430      "class" => "parametrage",      "class" => "sig",
431      "right" => "menu_parametrage",      "right" => "menu_sig",
432  );  );
433    //
434  $links = array();  $links = array();
435  // *** TABLES DE PARAMETRAGE ***  //
436  // inserer ici vos tables de parametres  $links[] = array(
437  // ========================================================================      "href" => "../scr/tab.php?obj=parcelle",
438  /*      "class" => "parcelle",
439    array_push($links,      "title" => _("parcelle"),
440      array(      "right" => array("parcelle", "parcelle_tab"),
441          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
442          "class" => "nom_table",  );
443          "title" => _("nom_table"),  //
444          "right" => "nom_table"  $links[] = array(
445      ));      "href" => "../scr/tab.php?obj=proprietaire",
446  */      "class" => "proprietaire",
447  // ========================================================================      "title" => _("proprietaire"),
448        "right" => array("proprietaire", "proprietaire_tab"),
449        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
450  // param gaux  );
451    //
452    array_push($links,  $links[] = array(
453      array(      "class" => "category",
454          "href" => "../scr/tab.php?obj=architecte",      "title" => _("servitudes"),
455          "class" => "architecte",      "right" => array(
456          "title" => _("architecte"),          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
457          "right" => "architecte"          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
458      ));          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
459        ),
460    );
461    //
462    array_push($links,  $links[] = array(
463      array(      "title" => "<hr/>",
464          "href" => "../scr/tab.php?obj=service",      "right" => array(
465          "class" => "service",          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
466          "title" => _("service"),          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
467          "right" => "service"          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
468      ));      ),
469      );
470    array_push($links,  //
471      array(  $links[] = array(
472          "href" => "../scr/tab.php?obj=travaux",      "href" => "../scr/tab.php?obj=pos",
473          "class" => "travaux",      "class" => "pos",
474          "title" => _("travaux"),      "title" => _("pos"),
475          "right" => "travaux"      "right" => array("pos", "pos_tab"),
476      ));      "open" => array("tab.php|pos", "form.php|pos", ),
477    );
478    array_push($links,  //
479      array(  $links[] = array(
480          "href" => "../scr/tab.php?obj=regle",      "href" => "../scr/tab.php?obj=servitude_surfacique",
481          "class" => "regle",      "class" => "servitude_surfacique",
482          "title" => _("regle"),      "title" => _("servitude_surfacique"),
483          "right" => "regle"      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
484      ));      "open" => array(
485            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
486    array_push($links,      ),
487      array(  );
488          "href" => "../scr/tab.php?obj=categorie_demandeur",  //
489          "class" => "categorie_demandeur",  $links[] = array(
490          "title" => _("categorie_demandeur"),      "href" => "../scr/tab.php?obj=servitude_ligne",
491          "right" => "categorie_demandeur"      "class" => "servitude_ligne",
492      ));      "title" => _("servitude_ligne"),
493          "right" => array("servitude_ligne", "servitude_ligne_tab"),
494    array_push($links,      "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
495      array(  );
496          "href" => "../scr/tab.php?obj=destination",  //
497          "class" => "destination",  $links[] = array(
498          "title" => _("destination"),      "href" => "../scr/tab.php?obj=servitude_point",
499          "right" => "destination"      "class" => "servitude_point",
500      ));      "title" => _("servitude_point"),
501        "right" => array("servitude_point", "servitude_point_tab"),
502    array_push($links,      "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
503      array(  );
504          "href" => "../scr/tab.php?obj=nature",  //
505          "class" => "nature",  $links[] = array(
506          "title" => _("nature"),      "href" => "../scr/tab.php?obj=parcelle_lot",
507          "right" => "nature"      "class" => "parcelle_lot",
508      ));      "title" => _("parcelle_lot"),
509        "right" => array("parcelle_lot", "parcelle_lot_tab"),
510  // workflows      "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
511      array_push($links,  );
512      array(  //
         "title" => "<hr/>",  
         "right" => array("action_tab", "transition_tab", "etat_tab",  
                          "evenement_tab", "bible", "avis")  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=action",  
         "class" => "action",  
         "title" => _("action"),  
         "right" => "action"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=transition",  
         "class" => "transition",  
         "title" => _("transition"),  
         "right" => "transition"  
     ));  
     
     array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=etat",  
         "class" => "etat",  
         "title" => _("etat"),  
         "right" => "etat"  
     ));  
   
     array_push($links,  
       array(  
           "href" => "../scr/tab.php?obj=evenement",  
           "class" => "evenement",  
           "title" => _("evenement"),  
           "right" => "evenement"  
       ));  
       
       array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=bible",  
         "class" => "bible",  
         "title" => _("bible"),  
         "right" => "bible"  
     ));  
         
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=avis",  
         "class" => "avis",  
         "title" => _("avis"),  
         "right" => "avis"  
     ));  
   
 // cadastre interne  
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")  
     ));  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=parcelle",  
         "class" => "parcelle",  
         "title" => _("parcelle"),  
         "right" => "parcelle"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=proprietaire",  
         "class" => "proprietaire",  
         "title" => _("proprietaire"),  
         "right" => "proprietaire"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=civilite",  
         "class" => "civilite",  
         "title" => _("civilite"),  
         "right" => "civilite"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=pos",  
         "class" => "pos",  
         "title" => _("pos"),  
         "right" => "pos"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=rivoli",  
         "class" => "rivoli",  
         "title" => _("rivoli"),  
         "right" => "rivoli"  
     ));  
     
   // servitudes  
   array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("servitude_tab", "servitude_tab", "servitude_tab")  
     ));  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=servitude_surfacique",  
         "class" => "servitude",  
         "title" => _("servitude")." "._("surfacique"),  
         "right" => "servitude"  
     ));  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=servitude_ligne",  
         "class" => "servitude",  
         "title" => _("servitude")." "._("ligne"),  
         "right" => "servitude"  
     ));  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=servitude_point",  
         "class" => "servitude",  
         "title" => _("servitude")." "._("point"),  
         "right" => "servitude"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=parcelle_lot",  
         "class" => "parcelle",  
         "title" => _("parcelle")." "._("lot"),  
         "right" => "parcelle_lot"  
     ));  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=parametre",  
         "class" => "parametre",  
         "title" => _("parametre")." "._("statistique"),  
         "right" => "parametre"  
     ));  
   
   
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" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
534  array_push($links,  );
535      array(  //
536          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
537          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
538          "title" => _("om_parametre"),      "class" => "parametre",
539          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
540      ));      "right" => array("om_parametre", "om_parametre_tab", ),
541        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
542    );
543  array_push($links,  //
544      array(  $links[] = array(
545          "title" => "<hr/>",      "class" => "category",
546          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
547      ));      "right" => array(
548  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
549      array(          "om_droit", "om_droit_tab", "directory",
550          "href" => "../scr/tab.php?obj=om_profil",      ),
551          "class" => "profil",  );
552          "title" => _("om_profil"),  //
553          "right" => "om_profil_tab"  $links[] = array(
554      ));      "title" => "<hr/>",
555  array_push($links,      "right" => array(
556      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
557          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
558          "class" => "droit",      ),
559          "title" => _("om_droit"),  );
560          "right" => "om_droit_multi"  //
561      ));  $links[] = array(
562  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
563      array(      "class" => "profil",
564          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
565          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
566          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
567          "right" => "om_utilisateur_tab"  );
568      ));  //
569  array_push($links,  $links[] = array(
570      array(      "href" => "../scr/tab.php?obj=om_droit",
571          "title" => "<hr/>",      "class" => "droit",
572          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "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          "href" => "../scr/tab.php?obj=om_etat",  //
577          "class" => "etat",  $links[] = array(
578          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
579          "right" => "om_etat_tab"      "class" => "utilisateur",
580      ));      "title" => _("om_utilisateur"),
581  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
582      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
583          "href" => "../scr/tab.php?obj=om_sousetat",  );
584          "class" => "sousetat",  //
585          "title" => _("om_sousetat"),  $links[] = array(
586          "right" => "om_sousetat_tab"      "title" => "<hr/>",
587      ));      "right" => array("directory", ),
588  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
589      array(  );
590          "href" => "../scr/tab.php?obj=om_lettretype",  //
591          "class" => "lettretype",  $links[] = array(
592          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
593          "right" => "om_lettretype_tab"      "class" => "directory",
594      ));      "title" => _("annuaire"),
595  array_push($links,      "right" => array("directory", ),
596      array(      "open" => array("directory.php|", ),
597          "href" => "../scr/tab.php?obj=om_sig_point",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
598          "class" => "om_sig_point",  );
599          "title" => _("om SIG"),  //
600          "right" => "om_sig_point_tab"  $links[] = array(
601      ));      "class" => "category",
602  array_push($links,      "title" => _("tableaux de bord"),
603      array(      "right" => array("om_widget", "om_widget_tab", ),
604          "href" => "../scr/tab.php?obj=om_widget",  );
605          "class" => "om_widget",  //
606          "title" => _("widget"),  $links[] = array(
607          "right" => "om_widget"      "title" => "<hr/>",
608      ));      "right" => array("om_widget", "om_widget_tab", ),
609  array_push($links,  );
610      array(  //
611          "title" => "<hr/>",  $links[] = array(
612          "right" => array("import"),      "href" => "../scr/tab.php?obj=om_widget",
613      ));      "class" => "om_widget",
614  array_push($links,      "title" => _("widget"),
615      array(      "right" => array("om_widget", "om_widget_tab", ),
616          "href" => "../scr/import.php",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
617          "class" => "import",  );
618          "title" => _("Import"),  //
619          "right" => "import"  $links[] = array(
620      ));      "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          "title" => "<hr/>",      ),
625          "right" => array("gen"),  );
626      ));  //
627  array_push($links,  $links[] = array(
628      array(      "title" => "<hr/>",
629          "title" => _("Generateur"),      "right" => array(
630          "href" => "../scr/gen.php",          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
631          "class" => "generator",      ),
632          "right" => "gen",  );
633      ));  //
634    $links[] = array(
635        "href" => "../scr/tab.php?obj=om_sig_map",
636        "class" => "om_sig_map",
637        "title" => _("om_sig_map"),
638        "right" => array("om_sig_map", "om_sig_map_tab", ),
639        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
640    );
641    //
642    $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.177  
changed lines
  Added in v.380

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26