/[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 90 by fraynaud, Thu Aug 25 10:10:35 2011 UTC revision 491 by vpihour, Thu Oct 11 12:33:12 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    //
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", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
233      array(           "travaux", "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    $links[] = array(
255        "href" => "../scr/tab.php?obj=service_categorie",
256        "class" => "service_categorie",
257        "title" => _("thematique des services"),
258        "right" => array("service_categorie", "service_categorie_tab", ),
259        "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
260    );
261    $links[] = array(
262        "href" => "../scr/tab.php?obj=lien_service_service_categorie",
263        "class" => "lien_service_service_categorie",
264        "title" => _("Lien service / thematique"),
265        "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
266        "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
267    );
268    //
269    $links[] = array(
270        "href" => "../scr/tab.php?obj=travaux",
271        "class" => "travaux",
272        "title" => _("travaux"),
273        "right" => array("travaux", "travaux_tab", ),
274        "open" => array("tab.php|travaux", "form.php|travaux", ),
275    );
276    //
277    $links[] = array(
278        "href" => "../scr/tab.php?obj=categorie_demandeur",
279        "class" => "categorie_demandeur",
280        "title" => _("categorie_demandeur"),
281        "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
282        "open" => array(
283            "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
284        ),
285    );
286    //
287    $links[] = array(
288        "href" => "../scr/tab.php?obj=destination",
289        "class" => "destination",
290        "title" => _("destination"),
291        "right" => array("destination", "destination_tab", ),
292        "open" => array("tab.php|destination", "form.php|destination", ),
293    );
294    //
295    $links[] = array(
296        "href" => "../scr/tab.php?obj=nature",
297        "class" => "nature",
298        "title" => _("nature"),
299        "right" => array("nature", "nature_tab", ),
300        "open" => array("tab.php|nature", "form.php|nature", ),
301    );
302    //
303    $links[] = array(
304        "href" => "../scr/tab.php?obj=rivoli",
305        "class" => "rivoli",
306        "title" => _("rivoli"),
307        "right" => array("rivoli", "rivoli_tab", ),
308        "open" => array("tab.php|rivoli", "form.php|rivoli", ),
309    );
310    //
311    $links[] = array(
312        "href" => "../scr/tab.php?obj=civilite",
313        "class" => "civilite",
314        "title" => _("civilite"),
315        "right" => array("civilite", "civilite_tab", ),
316        "open" => array("tab.php|civilite", "form.php|civilite", ),
317    );
318    //
319    $links[] = array(
320        "href" => "../scr/tab.php?obj=parametre",
321        "class" => "parametre",
322        "title" => _("parametre")." "._("statistique"),
323        "right" => array("parametre", "parametre_tab", ),
324        "open" => array("tab.php|parametre", "form.php|parametre", ),
325    );
326    //
327    $links[] = array(
328        "class" => "category",
329        "title" => _("workflows"),
330        "right" => array(
331            "action", "action_tab", "transition", "transition_tab", "etat",
332            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
333            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
334        ),
335    );
336    //
337    $links[] = array(
338        "title" => "<hr/>",
339        "right" => array(
340            "action", "action_tab", "transition", "transition_tab", "etat",
341            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
342            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
343        ),
344    );
345    //
346    $links[] = array(
347        "href" => "../scr/tab.php?obj=action",
348        "class" => "action",
349        "title" => _("action"),
350        "right" => array("action", "action_tab", ),
351        "open" => array("tab.php|action", "form.php|action", ),
352    );
353    //
354    $links[] = array(
355        "href" => "../scr/tab.php?obj=transition",
356        "class" => "transition",
357        "title" => _("transition"),
358        "right" => array("transition", "transition_tab", ),
359        "open" => array("tab.php|transition", "form.php|transition", ),
360    );
361    //
362    $links[] = array(
363        "href" => "../scr/tab.php?obj=etat",
364        "class" => "etat",
365        "title" => _("etat"),
366        "right" => array("etat", "etat_tab", ),
367        "open" => array("tab.php|etat", "form.php|etat", ),
368    );
369    //
370    $links[] = array(
371        "href" => "../scr/tab.php?obj=evenement",
372        "class" => "evenement",
373        "title" => _("evenement"),
374        "right" => array("evenement", "evenement_tab", ),
375        "open" => array("tab.php|evenement", "form.php|evenement", ),
376    );
377    //
378    $links[] = array(
379        "href" => "../scr/tab.php?obj=bible",
380        "class" => "bible",
381        "title" => _("bible"),
382        "right" => array("bible", "bible_tab", ),
383        "open" => array("tab.php|bible", "form.php|bible", ),
384    );
385    //
386    $links[] = array(
387        "href" => "../scr/tab.php?obj=avis_decision",
388        "class" => "avis_decision",
389        "title" => _("avis decision"),
390        "right" => array("avis_decision", "avis_decision_tab", ),
391        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
392    );
393    //
394    $links[] = array(
395        "href" => "../scr/tab.php?obj=avis_consultation",
396        "class" => "avis_consultation",
397        "title" => _("avis consultation"),
398        "right" => array("avis_consultation", "avis_consultation_tab", ),
399        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
400    );
401    //
402    $links[] = array(
403        "class" => "category",
404        "title" => _("editions"),
405        "right" => array(
406            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
407            "om_lettretype", "om_lettretype_tab",
408        ),
409    );
410    //
411    $links[] = array(
412        "title" => "<hr/>",
413        "right" => array(
414            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
415            "om_lettretype", "om_lettretype_tab",
416        ),
417    );
418    //
419    $links[] = array(
420        "href" => "../scr/tab.php?obj=om_etat",
421        "class" => "etat",
422        "title" => _("om_etat"),
423        "right" => array("om_etat", "om_etat_tab", ),
424        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
425    );
426    //
427    $links[] = array(
428        "href" => "../scr/tab.php?obj=om_sousetat",
429        "class" => "sousetat",
430        "title" => _("om_sousetat"),
431        "right" => array("om_sousetat", "om_sousetat_tab", ),
432        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
433    );
434    //
435    $links[] = array(
436        "href" => "../scr/tab.php?obj=om_lettretype",
437        "class" => "lettretype",
438        "title" => _("om_lettretype"),
439        "right" => array("om_lettretype", "om_lettretype_tab"),
440        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
441    );
442    //
443  $rubrik['links'] = $links;  $rubrik['links'] = $links;
444  array_push($menu, $rubrik);  //
445    $menu[] = $rubrik;
446  // }}}  // }}}
447    
448    // {{{ Rubrique SIG
449    //
 // {{{  Rubrique parametrage de l'application  
   
450  $rubrik = array(  $rubrik = array(
451      "title" => _("Parametrage"),      "title" => _("sig"),
452      "class" => "parametrage",      "class" => "sig",
453      "right" => "menu_parametrage",      "right" => "menu_sig",
454  );  );
455    //
456  $links = array();  $links = array();
457  // *** TABLES DE PARAMETRAGE ***  //
458  // inserer ici vos tables de parametres  $links[] = array(
459  // ========================================================================      "href" => "../scr/tab.php?obj=parcelle",
460  /*      "class" => "parcelle",
461    array_push($links,      "title" => _("parcelle"),
462      array(      "right" => array("parcelle", "parcelle_tab"),
463          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
464          "class" => "nom_table",  );
465          "title" => _("nom_table"),  //
466          "right" => "nom_table"  $links[] = array(
467      ));      "href" => "../scr/tab.php?obj=proprietaire",
468  */      "class" => "proprietaire",
469  // ========================================================================      "title" => _("proprietaire"),
470        "right" => array("proprietaire", "proprietaire_tab"),
471        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
472  // param gaux  );
473    //
474    array_push($links,  $links[] = array(
475      array(      "class" => "category",
476          "href" => "../scr/tab.php?obj=architecte",      "title" => _("servitudes"),
477          "class" => "architecte",      "right" => array(
478          "title" => _("architecte"),          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
479          "right" => "architecte"          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
480      ));          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
481        ),
482    );
483    //
484    array_push($links,  $links[] = array(
485      array(      "title" => "<hr/>",
486          "href" => "../scr/tab.php?obj=service",      "right" => array(
487          "class" => "service",          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
488          "title" => _("service"),          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
489          "right" => "service"          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
490      ));      ),
491      );
492    array_push($links,  //
493      array(  $links[] = array(
494          "href" => "../scr/tab.php?obj=travaux",      "href" => "../scr/tab.php?obj=pos",
495          "class" => "travaux",      "class" => "pos",
496          "title" => _("travaux"),      "title" => _("pos"),
497          "right" => "travaux"      "right" => array("pos", "pos_tab"),
498      ));      "open" => array("tab.php|pos", "form.php|pos", ),
499    );
500    array_push($links,  //
501      array(  $links[] = array(
502          "href" => "../scr/tab.php?obj=regle",      "href" => "../scr/tab.php?obj=servitude_surfacique",
503          "class" => "regle",      "class" => "servitude_surfacique",
504          "title" => _("regle"),      "title" => _("servitude_surfacique"),
505          "right" => "regle"      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
506      ));      "open" => array(
507            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
508    array_push($links,      ),
509      array(  );
510          "href" => "../scr/tab.php?obj=categorie_demandeur",  //
511          "class" => "categorie_demandeur",  $links[] = array(
512          "title" => _("categorie_demandeur"),      "href" => "../scr/tab.php?obj=servitude_ligne",
513          "right" => "categorie_demandeur"      "class" => "servitude_ligne",
514      ));      "title" => _("servitude_ligne"),
515          "right" => array("servitude_ligne", "servitude_ligne_tab"),
516    array_push($links,      "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
517      array(  );
518          "href" => "../scr/tab.php?obj=destination",  //
519          "class" => "destination",  $links[] = array(
520          "title" => _("destination"),      "href" => "../scr/tab.php?obj=servitude_point",
521          "right" => "destination"      "class" => "servitude_point",
522      ));      "title" => _("servitude_point"),
523        "right" => array("servitude_point", "servitude_point_tab"),
524    array_push($links,      "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
525      array(  );
526          "href" => "../scr/tab.php?obj=nature",  //
527          "class" => "nature",  $links[] = array(
528          "title" => _("nature"),      "href" => "../scr/tab.php?obj=parcelle_lot",
529          "right" => "nature"      "class" => "parcelle_lot",
530      ));      "title" => _("parcelle_lot"),
531        "right" => array("parcelle_lot", "parcelle_lot_tab"),
532  // workflows      "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
533      array_push($links,  );
534      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"  
     ));  
   
535  $rubrik['links'] = $links;  $rubrik['links'] = $links;
536  array_push($menu, $rubrik);  //
537    $menu[] = $rubrik;
538    // }}}
   
   
539    
540  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
541  //  //
542  $rubrik = array(  $rubrik = array(
543      "title" => _("Administration"),      "title" => _("administration"),
544      "class" => "administration",      "class" => "administration",
545      "right" => "menu_administration",      "right" => "menu_administration",
546  );  );
547  //  //
548  $links = array();  $links = array();
549  array_push($links,  //
550      array(  $links[] = array(
551          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
552          "class" => "collectivite",      "class" => "collectivite",
553          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
554          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
555      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
556  array_push($links,  );
557      array(  //
558          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
559          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
560          "title" => _("om_parametre"),      "class" => "parametre",
561          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
562      ));      "right" => array("om_parametre", "om_parametre_tab", ),
563        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
564    );
565  array_push($links,  //
566      array(  $links[] = array(
567          "title" => "<hr/>",      "class" => "category",
568          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
569      ));      "right" => array(
570  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
571      array(          "om_droit", "om_droit_tab", "directory",
572          "href" => "../scr/tab.php?obj=om_profil",      ),
573          "class" => "profil",  );
574          "title" => _("om_profil"),  //
575          "right" => "om_profil_tab"  $links[] = array(
576      ));      "title" => "<hr/>",
577  array_push($links,      "right" => array(
578      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
579          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
580          "class" => "droit",      ),
581          "title" => _("om_droit"),  );
582          "right" => "om_droit_multi"  //
583      ));  $links[] = array(
584  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
585      array(      "class" => "profil",
586          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
587          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
588          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
589          "right" => "om_utilisateur_tab"  );
590      ));  //
591  array_push($links,  $links[] = array(
592      array(      "href" => "../scr/tab.php?obj=om_droit",
593          "title" => "<hr/>",      "class" => "droit",
594          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
595      ));      "right" => array("om_droit", "om_droit_tab", ),
596  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
597      array(  );
598          "href" => "../scr/tab.php?obj=om_etat",  //
599          "class" => "etat",  $links[] = array(
600          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
601          "right" => "om_etat_tab"      "class" => "utilisateur",
602      ));      "title" => _("om_utilisateur"),
603  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
604      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
605          "href" => "../scr/tab.php?obj=om_sousetat",  );
606          "class" => "sousetat",  //
607          "title" => _("om_sousetat"),  $links[] = array(
608          "right" => "om_sousetat_tab"      "title" => "<hr/>",
609      ));      "right" => array("directory", ),
610  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
611      array(  );
612          "href" => "../scr/tab.php?obj=om_lettretype",  //
613          "class" => "lettretype",  $links[] = array(
614          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
615          "right" => "om_lettretype_tab"      "class" => "directory",
616      ));      "title" => _("annuaire"),
617  array_push($links,      "right" => array("directory", ),
618      array(      "open" => array("directory.php|", ),
619          "href" => "../scr/tab.php?obj=om_sig_point",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
620          "class" => "om_sig_point",  );
621          "title" => _("om SIG"),  //
622          "right" => "om_sig_point_tab"  $links[] = array(
623      ));      "class" => "category",
624  array_push($links,      "title" => _("tableaux de bord"),
625      array(      "right" => array("om_widget", "om_widget_tab", ),
626          "href" => "../scr/tab.php?obj=om_widget",  );
627          "class" => "om_widget",  //
628          "title" => _("widget"),  $links[] = array(
629          "right" => "om_widget"      "title" => "<hr/>",
630      ));      "right" => array("om_widget", "om_widget_tab", ),
631  array_push($links,  );
632      array(  //
633          "title" => "<hr/>",  $links[] = array(
634          "right" => array("import"),      "href" => "../scr/tab.php?obj=om_widget",
635      ));      "class" => "om_widget",
636  array_push($links,      "title" => _("widget"),
637      array(      "right" => array("om_widget", "om_widget_tab", ),
638          "href" => "../scr/import.php",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
639          "class" => "import",  );
640          "title" => _("Import"),  //
641          "right" => "import"  $links[] = array(
642      ));      "class" => "category",
643        "title" => _("sig"),
644  array_push($links,      "right" => array(
645      array(          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
646          "title" => "<hr/>",      ),
647          "right" => array("gen"),  );
648      ));  //
649  array_push($links,  $links[] = array(
650      array(      "title" => "<hr/>",
651          "title" => _("Generateur"),      "right" => array(
652          "href" => "../scr/gen.php",          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
653          "class" => "generator",      ),
654          "right" => "gen",  );
655      ));  //
656    $links[] = array(
657        "href" => "../scr/tab.php?obj=om_sig_map",
658        "class" => "om_sig_map",
659        "title" => _("om_sig_map"),
660        "right" => array("om_sig_map", "om_sig_map_tab", ),
661        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
662    );
663    //
664    $links[] = array(
665        "href" => "../scr/tab.php?obj=om_sig_wms",
666        "class" => "om_sig_wms",
667        "title" => _("om_sig_wms"),
668        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
669        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
670    );
671    //
672    $links[] = array(
673        "class" => "category",
674        "title" => _("options avancees"),
675        "right" => array("import", "gen", ),
676    );
677    //
678    $links[] = array(
679        "title" => "<hr/>",
680        "right" => array("import", ),
681    );
682    //
683    $links[] = array(
684        "href" => "../scr/import.php",
685        "class" => "import",
686        "title" => _("Import"),
687        "right" => array("import", ),
688        "open" => array("import.php|", ),
689    );
690    //
691    $links[] = array(
692        "title" => "<hr/>",
693        "right" => array("gen", ),
694    );
695    //
696    $links[] = array(
697        "title" => _("Generateur"),
698        "href" => "../scr/gen.php",
699        "class" => "generator",
700        "right" => array("gen", ),
701        "open" => array(
702            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
703            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
704            "genimport.php|",
705        ),
706    );
707    //
708  $rubrik['links'] = $links;  $rubrik['links'] = $links;
709  array_push($menu, $rubrik);  //
710    $menu[] = $rubrik;
711  // }}}  // }}}
712    
713  ?>  ?>

Legend:
Removed from v.90  
changed lines
  Added in v.491

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26