/[openfoncier]/trunk/dyn/menu.inc.php
ViewVC logotype

Diff of /trunk/dyn/menu.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.177  
changed lines
  Added in v.509

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26