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

Legend:
Removed from v.142  
changed lines
  Added in v.533

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26