/[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 142 by fraynaud, Tue Sep 27 14:52:41 2011 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" => "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      ));  $links[] = array(
121        "class" => "category",
122        "title" => _("Consultation"),
123        "right" => "consultation"
124    );
125    $links[] = array(
126        "title" => "<hr/>",
127        "right" => array("consultation_mes_retours", "consultation_tous_retours"),
128    );
129    $links[] = array(
130        "href" => "../scr/tab.php?obj=consultation_mes_retours",
131        "class" => "consultation_mes_retours",
132        "title" => _("Mes retours"),
133        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
134        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
135    );
136    $links[] = array(
137        "href" => "../scr/tab.php?obj=consultation_tous_retours",
138        "class" => "consultation_tous_retours",
139        "title" => _("Tous les retours"),
140        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
141        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
142    );
143    //
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|",
165  array_push($links,  );
166      array(  //
167          "href" => "../app/edition_p.php",  $links[] = array(
168          "class" => "edition",      "href" => "../app/edition_p.php",
169          "title" => _("Edition date depot"),      "class" => "edition",
170          "right" => "edition"      "title" => _("edition date depot"),
171      ));      "right" => "edition_p",
172        "open" => "edition_p.php|",
173  array_push($links,  );
174      array(  //
175          "href" => "../app/edition_d.php",  $links[] = array(
176          "class" => "edition",      "href" => "../app/edition_d.php",
177          "title" => _("Edition date decision"),      "class" => "edition",
178          "right" => "edition"      "title" => _("edition date decision"),
179      ));      "right" => "edition_d",
180        "open" => "edition_d.php|",
181      array_push($links,  );
182      array(  //
183          "title" => "<hr/>",  $links[] = array(
184          "right" => array("reqmo", "export_pc_tab", "export_dp_tab", "export_sitadel_tab")      "title" => "<hr/>",
185      ));      "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
186    );
187  array_push($links,  //
188      array(  $links[] = array(
189          "href" => "../scr/reqmo.php",      "href" => "../scr/reqmo.php",
190          "class" => "reqmo",      "class" => "reqmo",
191          "title" => _("Requetes memorisees"),      "title" => _("requetes memorisees"),
192          "right" => "reqmo"      "right" => "reqmo",
193      ));      "open" => array("reqmo.php|", "requeteur.php|", ),
194    );
195      array_push($links,  //
196      array(  $links[] = array(
197          "href" => "../app/export_pc.php",      "href" => "../app/export_pc.php",
198          "class" => "reqmo",      "class" => "reqmo",
199          "title" => _("export PC Lascot"),      "title" => _("export PC Lascot"),
200          "right" => "ecport_pc"      "right" => "export_pc",
201      ));      "open" => "export_pc.php|",
202        );
203      array_push($links,  //
204      array(  $links[] = array(
205          "href" => "../app/export_dp.php",      "href" => "../app/export_dp.php",
206          "class" => "reqmo",      "class" => "reqmo",
207          "title" => _("export DP Lascot"),      "title" => _("export DP Lascot"),
208          "right" => "export_dp"      "right" => "export_dp",
209      ));      "open" => "export_dp.php|",
210        );
211      array_push($links,  //
212      array(  $links[] = array(
213          "href" => "../app/export_sitadel.php",      "href" => "../app/sitadel.php",
214          "class" => "reqmo",      "class" => "reqmo",
215          "title" => _("export sitadel"),      "title" => _("export sitadel")." 2",
216          "right" => "export_sitadel"      "right" => "export_sitadel",
217      ));      "open" => "sitadel.php|",
218    );
219    //
220  $rubrik['links'] = $links;  $rubrik['links'] = $links;
221  array_push($menu, $rubrik);  //
222    $menu[] = $rubrik;
223  // }}}  // }}}
224    
225  // {{{ Rubrique TRAITEMENT  // {{{ Rubrique PARAMETRAGE
226    //
227  $rubrik = array(  $rubrik = array(
228      "title" => _("Traitement"),      "title" => _("parametrage"),
229      "class" => "traitement",      "class" => "parametrage",
230      "right" => "menu_traitement",      "right" => "menu_parametrage",
231  );  );
232    //
233  $links = array();  $links = array();
234  // *** TRAITEMENT ***  //
235  // inserez le lien d acces au traitement  // 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" => "../trt/nom_du_traitement.php",      "right" => "dossier_numeromanuel",
241          "class" => "traitement",      "open" => "|dossier_numeromanuel",
242          "title" => _("Traitement"),  );
243          "right" => "traitement"  //
244      ));  $links[] = array(
245  */      "href" => "../app/num_dossier.php",
246  // ========================================================================      "class" => "traitement",
247      array_push($links,      "title" => _("remise a 0"),
248      array(      "right" => "num_dossier",
249          "href" => "../scr/form.php?obj=dossier_numeromanuel",      "open" => "num_dossier.php|",
250          "class" => "traitement",  );
251          "title" => _("numero manuel"),  //
252          "right" => "traitement"  $links[] = array(
253      ));      "title" => "<hr/>",
254        "right" => array(
255      array_push($links,          "architecte", "architecte_tab", "service", "service_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
256      array(           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
257          "href" => "../scr/tab.php?obj=PC_modificatif",          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
258          "class" => "traitement",          "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
259          "title" => _("modificatif transfert"),      ),
260          "right" => "traitement"  );
261      ));      //
262    $links[] = array(
263      array_push($links,      "href" => "../scr/tab.php?obj=architecte",
264      array(      "class" => "architecte",
265          "href" => "../app/num_dossier.php",      "title" => _("architecte"),
266          "class" => "traitement",      "right" => array("architecte", "architecte_tab", ),
267          "title" => _("remise a 0"),      "open" => array("tab.php|architecte", "form.php|architecte", ),
268          "right" => "traitement"  );
269      ));  //
270    $links[] = array(
271        "href" => "../scr/tab.php?obj=service",
272        "class" => "service",
273        "title" => _("service"),
274        "right" => array("service", "service_tab", ),
275        "open" => array("tab.php|service", "form.php|service", ),
276    );
277    $links[] = array(
278        "href" => "../scr/tab.php?obj=service_categorie",
279        "class" => "service_categorie",
280        "title" => _("thematique des services"),
281        "right" => array("service_categorie", "service_categorie_tab", ),
282        "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        "title" => _("Lien service / thematique"),
288        "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
289        "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
290    );
291    //
292    $links[] = array(
293        "href" => "../scr/tab.php?obj=travaux",
294        "class" => "travaux",
295        "title" => _("travaux"),
296        "right" => array("travaux", "travaux_tab", ),
297        "open" => array("tab.php|travaux", "form.php|travaux", ),
298    );
299    //
300    $links[] = array(
301        "href" => "../scr/tab.php?obj=categorie_demandeur",
302        "class" => "categorie_demandeur",
303        "title" => _("categorie_demandeur"),
304        "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
305        "open" => array(
306            "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
307        ),
308    );
309    //
310    $links[] = array(
311        "href" => "../scr/tab.php?obj=destination",
312        "class" => "destination",
313        "title" => _("destination"),
314        "right" => array("destination", "destination_tab", ),
315        "open" => array("tab.php|destination", "form.php|destination", ),
316    );
317    //
318    $links[] = array(
319        "href" => "../scr/tab.php?obj=nature",
320        "class" => "nature",
321        "title" => _("nature"),
322        "right" => array("nature", "nature_tab", ),
323        "open" => array("tab.php|nature", "form.php|nature", ),
324    );
325    //
326    $links[] = array(
327        "href" => "../scr/tab.php?obj=rivoli",
328        "class" => "rivoli",
329        "title" => _("rivoli"),
330        "right" => array("rivoli", "rivoli_tab", ),
331        "open" => array("tab.php|rivoli", "form.php|rivoli", ),
332    );
333    //
334    $links[] = array(
335        "href" => "../scr/tab.php?obj=civilite",
336        "class" => "civilite",
337        "title" => _("civilite"),
338        "right" => array("civilite", "civilite_tab", ),
339        "open" => array("tab.php|civilite", "form.php|civilite", ),
340    );
341    //
342    $links[] = array(
343        "href" => "../scr/tab.php?obj=parametre",
344        "class" => "parametre",
345        "title" => _("parametre")." "._("statistique"),
346        "right" => array("parametre", "parametre_tab", ),
347        "open" => array("tab.php|parametre", "form.php|parametre", ),
348    );
349    //
350    $links[] = array(
351        "class" => "category",
352        "title" => _("workflows"),
353        "right" => array(
354            "action", "action_tab", "transition", "transition_tab", "etat",
355            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
356            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
357        ),
358    );
359    //
360    $links[] = array(
361        "title" => "<hr/>",
362        "right" => array(
363            "action", "action_tab", "transition", "transition_tab", "etat",
364            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
365            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
366        ),
367    );
368    //
369    $links[] = array(
370        "href" => "../scr/tab.php?obj=action",
371        "class" => "action",
372        "title" => _("action"),
373        "right" => array("action", "action_tab", ),
374        "open" => array("tab.php|action", "form.php|action", ),
375    );
376    //
377    $links[] = array(
378        "href" => "../scr/tab.php?obj=transition",
379        "class" => "transition",
380        "title" => _("transition"),
381        "right" => array("transition", "transition_tab", ),
382        "open" => array("tab.php|transition", "form.php|transition", ),
383    );
384    //
385    $links[] = array(
386        "href" => "../scr/tab.php?obj=etat",
387        "class" => "etat",
388        "title" => _("etat"),
389        "right" => array("etat", "etat_tab", ),
390        "open" => array("tab.php|etat", "form.php|etat", ),
391    );
392    //
393    $links[] = array(
394        "href" => "../scr/tab.php?obj=evenement",
395        "class" => "evenement",
396        "title" => _("evenement"),
397        "right" => array("evenement", "evenement_tab", ),
398        "open" => array("tab.php|evenement", "form.php|evenement", ),
399    );
400    //
401    $links[] = array(
402        "href" => "../scr/tab.php?obj=bible",
403        "class" => "bible",
404        "title" => _("bible"),
405        "right" => array("bible", "bible_tab", ),
406        "open" => array("tab.php|bible", "form.php|bible", ),
407    );
408    //
409    $links[] = array(
410        "href" => "../scr/tab.php?obj=avis_decision",
411        "class" => "avis_decision",
412        "title" => _("avis decision"),
413        "right" => array("avis_decision", "avis_decision_tab", ),
414        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
415    );
416    //
417    $links[] = array(
418        "href" => "../scr/tab.php?obj=avis_consultation",
419        "class" => "avis_consultation",
420        "title" => _("avis consultation"),
421        "right" => array("avis_consultation", "avis_consultation_tab", ),
422        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
423    );
424    //
425    $links[] = array(
426        "class" => "category",
427        "title" => _("editions"),
428        "right" => array(
429            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
430            "om_lettretype", "om_lettretype_tab",
431        ),
432    );
433    //
434    $links[] = array(
435        "title" => "<hr/>",
436        "right" => array(
437            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
438            "om_lettretype", "om_lettretype_tab",
439        ),
440    );
441    //
442    $links[] = array(
443        "href" => "../scr/tab.php?obj=om_etat",
444        "class" => "etat",
445        "title" => _("om_etat"),
446        "right" => array("om_etat", "om_etat_tab", ),
447        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
448    );
449    //
450    $links[] = array(
451        "href" => "../scr/tab.php?obj=om_sousetat",
452        "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  // }}}  // }}}
470    
471    // {{{ Rubrique SIG
472    //
 // {{{  Rubrique parametrage de l'application  
   
473  $rubrik = array(  $rubrik = array(
474      "title" => _("Parametrage"),      "title" => _("sig"),
475      "class" => "parametrage",      "class" => "sig",
476      "right" => "menu_parametrage",      "right" => "menu_sig",
477  );  );
478    //
479  $links = array();  $links = array();
480  // *** TABLES DE PARAMETRAGE ***  //
481  // inserer ici vos tables de parametres  $links[] = array(
482  // ========================================================================      "href" => "../scr/tab.php?obj=parcelle",
483  /*      "class" => "parcelle",
484    array_push($links,      "title" => _("parcelle"),
485      array(      "right" => array("parcelle", "parcelle_tab"),
486          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
487          "class" => "nom_table",  );
488          "title" => _("nom_table"),  //
489          "right" => "nom_table"  $links[] = array(
490      ));      "href" => "../scr/tab.php?obj=proprietaire",
491  */      "class" => "proprietaire",
492  // ========================================================================      "title" => _("proprietaire"),
493        "right" => array("proprietaire", "proprietaire_tab"),
494        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
495  // param gaux  );
496    //
497    array_push($links,  $links[] = array(
498      array(      "class" => "category",
499          "href" => "../scr/tab.php?obj=architecte",      "title" => _("servitudes"),
500          "class" => "architecte",      "right" => array(
501          "title" => _("architecte"),          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
502          "right" => "architecte"          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
503      ));          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
504        ),
505    );
506    //
507    array_push($links,  $links[] = array(
508      array(      "title" => "<hr/>",
509          "href" => "../scr/tab.php?obj=service",      "right" => array(
510          "class" => "service",          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
511          "title" => _("service"),          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
512          "right" => "service"          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
513      ));      ),
514      );
515    array_push($links,  //
516      array(  $links[] = array(
517          "href" => "../scr/tab.php?obj=travaux",      "href" => "../scr/tab.php?obj=pos",
518          "class" => "travaux",      "class" => "pos",
519          "title" => _("travaux"),      "title" => _("pos"),
520          "right" => "travaux"      "right" => array("pos", "pos_tab"),
521      ));      "open" => array("tab.php|pos", "form.php|pos", ),
522    );
523    array_push($links,  //
524      array(  $links[] = array(
525          "href" => "../scr/tab.php?obj=regle",      "href" => "../scr/tab.php?obj=servitude_surfacique",
526          "class" => "regle",      "class" => "servitude_surfacique",
527          "title" => _("regle"),      "title" => _("servitude_surfacique"),
528          "right" => "regle"      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
529      ));      "open" => array(
530            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
531    array_push($links,      ),
532      array(  );
533          "href" => "../scr/tab.php?obj=categorie_demandeur",  //
534          "class" => "categorie_demandeur",  $links[] = array(
535          "title" => _("categorie_demandeur"),      "href" => "../scr/tab.php?obj=servitude_ligne",
536          "right" => "categorie_demandeur"      "class" => "servitude_ligne",
537      ));      "title" => _("servitude_ligne"),
538          "right" => array("servitude_ligne", "servitude_ligne_tab"),
539    array_push($links,      "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
540      array(  );
541          "href" => "../scr/tab.php?obj=destination",  //
542          "class" => "destination",  $links[] = array(
543          "title" => _("destination"),      "href" => "../scr/tab.php?obj=servitude_point",
544          "right" => "destination"      "class" => "servitude_point",
545      ));      "title" => _("servitude_point"),
546        "right" => array("servitude_point", "servitude_point_tab"),
547    array_push($links,      "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
548      array(  );
549          "href" => "../scr/tab.php?obj=nature",  //
550          "class" => "nature",  $links[] = array(
551          "title" => _("nature"),      "href" => "../scr/tab.php?obj=parcelle_lot",
552          "right" => "nature"      "class" => "parcelle_lot",
553      ));      "title" => _("parcelle_lot"),
554        "right" => array("parcelle_lot", "parcelle_lot_tab"),
555  // workflows      "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
556      array_push($links,  );
557      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"  
     ));  
   
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" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
579  array_push($links,  );
580      array(  //
581          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
582          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
583          "title" => _("om_parametre"),      "class" => "parametre",
584          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
585      ));      "right" => array("om_parametre", "om_parametre_tab", ),
586        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
587    );
588  array_push($links,  //
589      array(  $links[] = array(
590          "title" => "<hr/>",      "class" => "category",
591          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
592      ));      "right" => array(
593  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
594      array(          "om_droit", "om_droit_tab", "directory",
595          "href" => "../scr/tab.php?obj=om_profil",      ),
596          "class" => "profil",  );
597          "title" => _("om_profil"),  //
598          "right" => "om_profil_tab"  $links[] = array(
599      ));      "title" => "<hr/>",
600  array_push($links,      "right" => array(
601      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
602          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
603          "class" => "droit",      ),
604          "title" => _("om_droit"),  );
605          "right" => "om_droit_multi"  //
606      ));  $links[] = array(
607  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
608      array(      "class" => "profil",
609          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
610          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
611          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
612          "right" => "om_utilisateur_tab"  );
613      ));  //
614  array_push($links,  $links[] = array(
615      array(      "href" => "../scr/tab.php?obj=om_droit",
616          "title" => "<hr/>",      "class" => "droit",
617          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "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          "href" => "../scr/tab.php?obj=om_etat",  //
622          "class" => "etat",  $links[] = array(
623          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
624          "right" => "om_etat_tab"      "class" => "utilisateur",
625      ));      "title" => _("om_utilisateur"),
626  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
627      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
628          "href" => "../scr/tab.php?obj=om_sousetat",  );
629          "class" => "sousetat",  //
630          "title" => _("om_sousetat"),  $links[] = array(
631          "right" => "om_sousetat_tab"      "title" => "<hr/>",
632      ));      "right" => array("directory", ),
633  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
634      array(  );
635          "href" => "../scr/tab.php?obj=om_lettretype",  //
636          "class" => "lettretype",  $links[] = array(
637          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
638          "right" => "om_lettretype_tab"      "class" => "directory",
639      ));      "title" => _("annuaire"),
640  array_push($links,      "right" => array("directory", ),
641      array(      "open" => array("directory.php|", ),
642          "href" => "../scr/tab.php?obj=om_sig_point",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
643          "class" => "om_sig_point",  );
644          "title" => _("om SIG"),  //
645          "right" => "om_sig_point_tab"  $links[] = array(
646      ));      "class" => "category",
647  array_push($links,      "title" => _("tableaux de bord"),
648      array(      "right" => array("om_widget", "om_widget_tab", ),
649          "href" => "../scr/tab.php?obj=om_widget",  );
650          "class" => "om_widget",  //
651          "title" => _("widget"),  $links[] = array(
652          "right" => "om_widget"      "title" => "<hr/>",
653      ));      "right" => array("om_widget", "om_widget_tab", ),
654  array_push($links,  );
655      array(  //
656          "title" => "<hr/>",  $links[] = array(
657          "right" => array("import"),      "href" => "../scr/tab.php?obj=om_widget",
658      ));      "class" => "om_widget",
659  array_push($links,      "title" => _("widget"),
660      array(      "right" => array("om_widget", "om_widget_tab", ),
661          "href" => "../scr/import.php",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
662          "class" => "import",  );
663          "title" => _("Import"),  //
664          "right" => "import"  $links[] = array(
665      ));      "class" => "category",
666        "title" => _("sig"),
667        "right" => array(
668            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
669        ),
670    );
671    //
672    $links[] = array(
673        "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      ));      "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.142  
changed lines
  Added in v.519

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26