/[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 315 by atreal, Wed Mar 28 19:50:07 2012 UTC revision 599 by mlimic, Mon Nov 5 16:19:12 2012 UTC
# Line 3  Line 3 
3   * Ce fichier permet de configurer quelles actions vont etre disponibles   * Ce fichier permet de configurer quelles actions vont etre disponibles
4   * dans le menu.   * dans le menu.
5   *   *
  *  
  *  
6   * @package openmairie_exemple   * @package openmairie_exemple
7   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $
8   */   */
9    
10  /**  //
  * $menu est le tableau associatif qui contient tout le menu de  
  * l'application, il contient lui meme un tableau par rubrique, puis chaque  
  * rubrique contient un tableau par lien  
  *  
  * Caracteristiques :  
  * --- tableau rubrik  
  *     - title [obligatoire]  
  *     - description (texte qui s'affiche au survol de la rubrique)  
  *     - href (contenu du lien href)  
  *     - class (classe css qui s'affiche sur la rubrique)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cette rubrique)  
  *     - links [obligatoire]  
  *  
  * --- tableau links  
  *     - title [obligatoire]  
  *     - href [obligatoire] (contenu du lien href)  
  *     - class (classe css qui s'affiche sur l'element)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cet element)  
  *     - target (pour ouvrir le lien dans une nouvelle fenetre)  
  */  
11  $menu = array();  $menu = array();
12    
13  // {{{  Rubrique application  // {{{ Rubrique APPLICATION
14  // inserer ici vos tables principales  //
15    $rubrik = array(
16        "title" => _("instruction"),
17        "class" => "instruction",
18        "right" => "menu_instruction",
19    );
20    //
21    $links = array();
22    //
23    $links[] = array(
24        "href" => "../scr/tab.php?obj=PC",
25        "class" => "dossier",
26        "title" => _("PC"),
27        "right" => array("PC", "PC_tab", ),
28        "open" => array("tab.php|PC", "form.php|PC", ),
29    );
30    //
31    $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    );
38    //
39    $links[] = array(
40        "href" => "../scr/tab.php?obj=PD",
41        "class" => "dossier",
42        "title" => _("PD"),
43        "right" => array("PD", "PD_tab", ),
44        "open" => array("tab.php|PD", "form.php|PD", ),
45    );
46    //
47    $links[] = array(
48        "href" => "../scr/tab.php?obj=PA",
49        "class" => "dossier",
50        "title" => _("PA"),
51        "right" => array("PA", "PA_tab", ),
52        "open" => array("tab.php|PA", "form.php|PA", ),
53    );
54    //
55    $links[] = array(
56        "title" => "<hr/>",
57        "right" => array(
58            "PC_accueil", "PC_accueil_tab", "DP_accueil", "DP_accueil_tab",
59            "PD_accueil", "PD_accueil_tab", "PA_accueil", "PA_accueil_tab",
60        ),
61    );
62    //
63    $links[] = array(
64        "href" => "../scr/tab.php?obj=PC_accueil",
65        "class" => "dossier",
66        "title" => _("PC - accueil"),
67        "right" => array("PC_accueil", "PC_accueil_tab", ),
68        "open" => array("tab.php|PC_accueil", "form.php|PC_accueil", ),
69    );
70    //
71    $links[] = array(
72        "href" => "../scr/tab.php?obj=DP_accueil",
73        "class" => "dossier",
74        "title" => _("DP - accueil"),
75        "right" => array("DP_accueil", "DP_accueil_tab", ),
76        "open" => array("tab.php|DP_accueil", "form.php|DP_accueil", ),
77    );
78    //
79    $links[] = array(
80        "href" => "../scr/tab.php?obj=PD_accueil",
81        "class" => "dossier",
82        "title" => _("PD - accueil"),
83        "right" => array("PD_accueil", "PD_accueil_tab", ),
84        "open" => array("tab.php|PD_accueil", "form.php|PD_accueil", ),
85    );
86    //
87    $links[] = array(
88        "href" => "../scr/tab.php?obj=PA_accueil",
89        "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    );
94    //
95    $links[] = array(
96        "title" => "<hr/>",
97        "right" => array("PC_modificatif", "PC_modificatif_tab", ),
98    );
99    //
100    $links[] = array(
101        "href" => "../scr/tab.php?obj=PC_modificatif",
102        "class" => "traitement",
103        "title" => _("modificatif transfert"),
104        "right" => array("PC_modificatif", "PC_modificatif_tab", ),
105        "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
106    );
107    //
108    $links[] = array(
109        "title" => "<hr/>",
110        "right" => array("recherchedossier", ),
111    );
112    //
113    $links[] = array(
114        "href" => "../app/recherchedossier.php",
115        "class" => "dossier",
116        "title" => _("Recherche dossier"),
117        "right" => "recherchedossier",
118        "open" => "recherchedossier.php|",
119    );
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    
144    
145    $links[] = array(
146        "class" => "category",
147        "title" => _("Messages"),
148        "right" => array("messages_mes_retours", "messages_tous_retours"),
149    );
150    $links[] = array(
151        "title" => "<hr/>",
152        "right" => array("messages_mes_retours", "messages_tous_retours"),
153    );
154    $links[] = array(
155        "href" => "../scr/tab.php?obj=messages_mes_retours",
156        "class" => "messages_mes_retours",
157        "title" => _("Mes messages"),
158        "right" => array("messages_mes_retours", "messages_mes_retours_tab", ),
159        "open" => array("tab.php|messages_mes_retours", "form.php|messages_mes_retours", ),
160    );
161    $links[] = array(
162        "href" => "../scr/tab.php?obj=messages_tous_retours",
163        "class" => "messages_tous_retours",
164        "title" => _("Tous les messages"),
165        "right" => array("messages_tous_retours", "messages_tous_retours_tab", ),
166        "open" => array("tab.php|messages_tous_retours", "form.php|messages_tous_retours", ),
167    );
168    
169    //
170    $rubrik['links'] = $links;
171    //
172    $menu[] = $rubrik;
173    // }}}
174    // {{{ Rubrique Demandes d'avis
175    //
176  $rubrik = array(  $rubrik = array(
177      "title" => _("Instruction"),      "title" => _("Suivi"),
178      "class" => "application",      "class" => "suivi",
179      "right" => "menu_application",      "right" => "menu_suivi",
180  );  );
181  $links = array();  $links = array();
182  // *** APPLICATION ***  //
183  // inserez ici les tables de votra application  $links[] = array(
184  // ========================================================================      "href" => "../app/avis_code_barre.php",
185  /*      "class" => "avis_code_barre",
186    array_push($links,      "title" => _("Retour de consultation"),
187      array(      "right" => array("avis_code_barre", ),
188          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("avis_code_barre.php|"),
189          "class" => "nom_table",  );
190          "title" => _("nom_table"),  //
191          "right" => "nom_table"  $rubrik['links'] = $links;
192      ));  //
193  */  $menu[] = $rubrik;
194  // ========================================================================  // }}}
195    // {{{ Rubrique Demandes d'avis
196    //
197    array_push($links,  $rubrik = array(
198      array(      "title" => _("Demandes d'avis"),
199          "href" => "../scr/tab.php?obj=PC",      "class" => "demande_avis",
200          "class" => "dossier",      "right" => "menu_demande_avis",
201          "title" => _("PC"),  );
202          "right" => "PC",  //
203          "open"  => "|PC"  $links = array();
204      ));  //
205      $links[] = array(
206    array_push($links,      "href" => "../scr/tab.php?obj=demande_avis_encours",
207      array(      "class" => "demande_avis_encours",
208          "href" => "../scr/tab.php?obj=DP",      "title" => _("Demandes en cours"),
209          "class" => "dossier",      "right" => array("demande_avis_encours", "demande_avis_encours_tab", ),
210          "title" => _("DP"),      "open" => array("tab.php|demande_avis_encours", "form.php|demande_avis_encours", ),
211          "right" => "DP",  );
212          "open"  => "|DP"  
213      ));  $links[] = array(
214        "href" => "../scr/tab.php?obj=demande_avis_passee",
215        "class" => "demande_avis_passee",
216    array_push($links,      "title" => _("Demandes passees"),
217      array(      "right" => array("demande_avis_passee", "demande_avis_passee_tab", ),
218          "href" => "../scr/tab.php?obj=PD",      "open" => array("tab.php|demande_avis_passee", "form.php|demande_avis_passee", ),
219          "class" => "dossier",  );
220          "title" => _("PD"),  
221          "right" => "PD",  $links[] = array(
222          "open"  => "|PD"      "href" => "../scr/tab.php?obj=demande_avis_export",
223      ));      "class" => "demande_avis_export",
224        "title" => _("Exports"),
225    array_push($links,      "right" => array("demande_avis_export", "demande_avis_export_tab", ),
226      array(      "open" => array("tab.php|demande_avis_export", "form.php|demande_avis_export", ),
227          "href" => "../scr/tab.php?obj=PA",  );
         "class" => "dossier",  
         "title" => _("PA"),  
         "right" => "PA",  
         "open"  => "|PA"  
     ));  
   
 array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array(),  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC_accueil",  
         "class" => "dossier",  
         "title" => _("PC - accueil"),  
         "right" => "PC_accueil",  
         "open"  => "|PC_accueil"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=DP_accueil",  
         "class" => "dossier",  
         "title" => _("DP - accueil"),  
         "right" => "DP_accueil",  
         "open"  => "|DP_accueil"  
     ));  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PD_accueil",  
         "class" => "dossier",  
         "title" => _("PD - accueil"),  
         "right" => "PD_accueil",  
         "open"  => "|PD_accueil"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PA_accueil",  
         "class" => "dossier",  
         "title" => _("PA - accueil"),  
         "right" => "PA_accueil",  
         "open"  => "|PA_accueil"  
     ));  
   
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array(),  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC_modificatif",  
         "class" => "traitement",  
         "title" => _("modificatif transfert"),  
         "right" => "PC_modificatif",  
         "open"  => array("|PC_modificatif","dossier_modificatif.php|")  
     ));  
   
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array(),  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../app/recherchedossier.php",  
         "class" => "dossier",  
         "title" => _("Recherche dossier"),  
         "right" => "recherchedossier",  
         "open"  => "recherchedossier.php|"  
     ));  
228    
229    //
230  $rubrik['links'] = $links;  $rubrik['links'] = $links;
231  array_push($menu, $rubrik);  //
232    $menu[] = $rubrik;
233    // }}}
234    
235    
 //}}}  
236    
237  // {{{ Rubrique EXPORT  // {{{ Rubrique EXPORT
238    //
239  $rubrik = array(  $rubrik = array(
240      "title" => _("Export"),      "title" => _("export"),
241      "class" => "edition",      "class" => "edition",
242      "right" => "menu_export",      "right" => "menu_export",
243  );  );
244    //
245  $links = array();  $links = array();
246  array_push($links,  //
247      array(  $links[] = array(
248          "href" => "../scr/edition.php",      "href" => "../scr/edition.php",
249          "class" => "edition",      "class" => "edition",
250          "title" => _("Edition"),      "title" => _("edition"),
251          "right" => "edition",      "right" => "edition",
252          "open"  => "edition.php|"      "open" => "edition.php|",
253      ));  );
254  array_push($links,  //
255      array(  $links[] = array(
256          "href" => "../app/edition_p.php",      "href" => "../app/edition_p.php",
257          "class" => "edition",      "class" => "edition",
258          "title" => _("Edition date depot"),      "title" => _("edition date depot"),
259          "right" => "edition_p",      "right" => "edition_p",
260          "open"  => "edition_p.php|"      "open" => "edition_p.php|",
261      ));  );
262    //
263  array_push($links,  $links[] = array(
264      array(      "href" => "../app/edition_d.php",
265          "href" => "../app/edition_d.php",      "class" => "edition",
266          "class" => "edition",      "title" => _("edition date decision"),
267          "title" => _("Edition date decision"),      "right" => "edition_d",
268          "right" => "edition_d",      "open" => "edition_d.php|",
269          "open"  => "edition_d.php|"  );
270      ));  //
271    $links[] = array(
272      array_push($links,      "title" => "<hr/>",
273      array(      "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
274          "title" => "<hr/>",  );
275          "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel")  //
276      ));  $links[] = array(
277        "href" => "../scr/reqmo.php",
278  array_push($links,      "class" => "reqmo",
279      array(      "title" => _("requetes memorisees"),
280          "href" => "../scr/reqmo.php",      "right" => "reqmo",
281          "class" => "reqmo",      "open" => array("reqmo.php|", "requeteur.php|", ),
282          "title" => _("Requetes memorisees"),  );
283          "right" => "reqmo",  //
284          "open"  => array("reqmo.php|","requeteur.php|",),  $links[] = array(
285      ));      "href" => "../app/export_pc.php",
286        "class" => "reqmo",
287      array_push($links,      "title" => _("export PC Lascot"),
288      array(      "right" => "export_pc",
289          "href" => "../app/export_pc.php",      "open" => "export_pc.php|",
290          "class" => "reqmo",  );
291          "title" => _("export PC Lascot"),  //
292          "right" => "export_pc",  $links[] = array(
293          "open"  => "export_pc.php|"      "href" => "../app/export_dp.php",
294      ));      "class" => "reqmo",
295            "title" => _("export DP Lascot"),
296      array_push($links,      "right" => "export_dp",
297      array(      "open" => "export_dp.php|",
298          "href" => "../app/export_dp.php",  );
299          "class" => "reqmo",  //
300          "title" => _("export DP Lascot"),  $links[] = array(
301          "right" => "export_dp",      "href" => "../app/sitadel.php",
302          "open"  => "export_dp.php|"      "class" => "reqmo",
303      ));      "title" => _("export sitadel")." 2",
304        "right" => "export_sitadel",
305      array_push($links,      "open" => "sitadel.php|",
306      array(  );
307          "href" => "../app/sitadel.php",  //
         "class" => "reqmo",  
         "title" => _("export")._("sitadel")." 2",  
         "right" => "export_sitadel",  
         "open"  => "sitadel.php|"  
     ));  
   
   
308  $rubrik['links'] = $links;  $rubrik['links'] = $links;
309  array_push($menu, $rubrik);  //
310    $menu[] = $rubrik;
311  // }}}  // }}}
 // {{{  Rubrique parametrage de l'application  
312    
313    // {{{ Rubrique PARAMETRAGE
314    //
315  $rubrik = array(  $rubrik = array(
316      "title" => _("Parametrage"),      "title" => _("parametrage"),
317      "class" => "parametrage",      "class" => "parametrage",
318      "right" => "menu_parametrage",      "right" => "menu_parametrage",
319  );  );
320    //
321  $links = array();  $links = array();
322  // *** TABLES DE PARAMETRAGE ***  //
323  // inserer ici vos tables de parametres  // GENERAUX
324  // ========================================================================  $links[] = array(
325  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
326    array_push($links,      "class" => "traitement",
327      array(      "title" => _("numero manuel"),
328          "href" => "../scr/tab.php?obj=nom_table",      "right" => "dossier_numeromanuel",
329          "class" => "nom_table",      "open" => "|dossier_numeromanuel",
330          "title" => _("nom_table"),  );
331          "right" => "nom_table"  //
332      ));  $links[] = array(
333  */      "href" => "../app/num_dossier.php",
334  // ========================================================================      "class" => "traitement",
335        "title" => _("remise a 0"),
336        "right" => "num_dossier",
337  // param gaux      "open" => "num_dossier.php|",
338    );
339      array_push($links,  //
340      array(  $links[] = array(
341          "href" => "../scr/form.php?obj=dossier_numeromanuel",      "title" => "<hr/>",
342          "class" => "traitement",      "right" => array(
343          "title" => _("numero manuel"),          "architecte", "architecte_tab", "service", "service_tab", "instructeur", "instructeur_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
344          "right" => "dossier_numeromanuel",          "lien_localisation_nature", "lien_localisation_nature_tab",
345          "open"  => "|dossier_numeromanuel"           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
346      ));          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
347            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
348      array_push($links,      ),
349      array(  );
350          "href" => "../app/num_dossier.php",  //
351          "class" => "traitement",  $links[] = array(
352          "title" => _("remise a 0"),      "href" => "../scr/tab.php?obj=architecte",
353          "right" => "num_dossier",      "class" => "architecte",
354          "open"  => "num_dossier.php|"      "title" => _("architecte"),
355      ));      "right" => array("architecte", "architecte_tab", ),
356        "open" => array("tab.php|architecte", "form.php|architecte", ),
357      array_push($links,  );
358      array(  //
359          "title" => "<hr/>",  $links[] = array(
360          "right" => array(),      "href" => "../scr/tab.php?obj=service",
361      ));      "class" => "service",
362        "title" => _("service"),
363        "right" => array("service", "service_tab", ),
364    array_push($links,      "open" => array("tab.php|service", "form.php|service", ),
365      array(  );
366          "href" => "../scr/tab.php?obj=architecte",  $links[] = array(
367          "class" => "architecte",      "href" => "../scr/tab.php?obj=service_categorie",
368          "title" => _("architecte"),      "class" => "service_categorie",
369          "right" => "architecte",      "title" => _("thematique des services"),
370          "open"  => "|architecte"      "right" => array("service_categorie", "service_categorie_tab", ),
371      ));      "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
372    );
373    $links[] = array(
374        "href" => "../scr/tab.php?obj=lien_service_service_categorie",
375    array_push($links,      "class" => "lien_service_service_categorie",
376      array(      "title" => _("Lien service / thematique"),
377          "href" => "../scr/tab.php?obj=service",      "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
378          "class" => "service",      "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
379          "title" => _("service"),  );
380          "right" => "service",  //
381          "open"  => "|service"  $links[] = array(
382      ));      "href" => "../scr/tab.php?obj=instructeur",
383          "class" => "instructeur",
384    array_push($links,      "title" => _("instructeur"),
385      array(      "right" => array("instructeur", "instructeur_tab", ),
386          "href" => "../scr/tab.php?obj=travaux",      "open" => array("tab.php|instructeur", "form.php|instructeur", ),
387          "class" => "travaux",  );
388          "title" => _("travaux"),  //
389          "right" => "travaux",  $links[] = array(
390          "open"  => "|travaux",      "href" => "../scr/tab.php?obj=lien_localisation_nature",
391      ));      "class" => "lien_localisation_nature",
392        "title" => _("Lien instructeur / localisation / type de dossier"),
393    array_push($links,      "right" => array("lien_localisation_nature", "lien_localisation_nature_tab", ),
394      array(      "open" => array("tab.php|lien_localisation_nature", "form.php|lien_localisation_nature", ),
395          "href" => "../scr/tab.php?obj=categorie_demandeur",  );
396          "class" => "categorie_demandeur",  //
397          "title" => _("categorie_demandeur"),  $links[] = array(
398          "right" => "categorie_demandeur",      "href" => "../scr/tab.php?obj=travaux",
399          "open"  => "|categorie_demandeur"      "class" => "travaux",
400      ));      "title" => _("travaux"),
401          "right" => array("travaux", "travaux_tab", ),
402    array_push($links,      "open" => array("tab.php|travaux", "form.php|travaux", ),
403      array(  );
404          "href" => "../scr/tab.php?obj=destination",  //
405          "class" => "destination",  $links[] = array(
406          "title" => _("destination"),      "href" => "../scr/tab.php?obj=categorie_demandeur",
407          "right" => "destination",      "class" => "categorie_demandeur",
408          "open"  => "|destination"      "title" => _("categorie_demandeur"),
409      ));      "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
410        "open" => array(
411    array_push($links,          "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
412      array(      ),
413          "href" => "../scr/tab.php?obj=nature",  );
414          "class" => "nature",  //
415          "title" => _("nature"),  $links[] = array(
416          "right" => "nature",      "href" => "../scr/tab.php?obj=destination",
417          "open"  => "|nature"      "class" => "destination",
418      ));      "title" => _("destination"),
419        "right" => array("destination", "destination_tab", ),
420    array_push($links,      "open" => array("tab.php|destination", "form.php|destination", ),
421      array(  );
422          "href" => "../scr/tab.php?obj=rivoli",  //
423          "class" => "rivoli",  $links[] = array(
424          "title" => _("rivoli"),      "href" => "../scr/tab.php?obj=nature",
425          "right" => "rivoli",      "class" => "nature",
426          "open"  => "|rivoli"      "title" => _("nature"),
427      ));      "right" => array("nature", "nature_tab", ),
428        "open" => array("tab.php|nature", "form.php|nature", ),
429    array_push($links,  );
430      array(  //
431          "href" => "../scr/tab.php?obj=civilite",  $links[] = array(
432          "class" => "civilite",      "href" => "../scr/tab.php?obj=rivoli",
433          "title" => _("civilite"),      "class" => "rivoli",
434          "right" => "civilite",      "title" => _("rivoli"),
435          "open"  => "|civilite"      "right" => array("rivoli", "rivoli_tab", ),
436      ));      "open" => array("tab.php|rivoli", "form.php|rivoli", ),
437    );
438    //
439    $links[] = array(
440        "href" => "../scr/tab.php?obj=civilite",
441    array_push($links,      "class" => "civilite",
442      array(      "title" => _("civilite"),
443          "href" => "../scr/tab.php?obj=parametre",      "right" => array("civilite", "civilite_tab", ),
444          "class" => "parametre",      "open" => array("tab.php|civilite", "form.php|civilite", ),
445          "title" => _("parametre")." "._("statistique"),  );
446          "right" => "parametre",  //
447          "open"  => "|parametre"  $links[] = array(
448      ));      "href" => "../scr/tab.php?obj=parametre",
449        "class" => "parametre",
450        "title" => _("parametre")." "._("statistique"),
451        "right" => array("parametre", "parametre_tab", ),
452  // workflows      "open" => array("tab.php|parametre", "form.php|parametre", ),
453      array_push($links,  );
454      array(  //
455          "title" => "<hr/>",  $links[] = array(
456          "right" => array("action_tab", "transition_tab", "etat_tab",      "class" => "category",
457                           "evenement_tab", "bible", "avis")      "title" => _("workflows"),
458      ));      "right" => array(
459            "action", "action_tab", "transition", "transition_tab", "etat",
460    array_push($links,          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
461      array(          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
462          "href" => "../scr/tab.php?obj=action",      ),
463          "class" => "action",  );
464          "title" => _("action"),  //
465          "right" => "action",  $links[] = array(
466          "open"  => "|action"      "title" => "<hr/>",
467      ));      "right" => array(
468            "action", "action_tab", "transition", "transition_tab", "etat",
469    array_push($links,          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
470      array(          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
471          "href" => "../scr/tab.php?obj=transition",      ),
472          "class" => "transition",  );
473          "title" => _("transition"),  //
474          "right" => "transition",  $links[] = array(
475          "open"  => "|transition"      "href" => "../scr/tab.php?obj=action",
476      ));      "class" => "action",
477          "title" => _("action"),
478      array_push($links,      "right" => array("action", "action_tab", ),
479      array(      "open" => array("tab.php|action", "form.php|action", ),
480          "href" => "../scr/tab.php?obj=etat",  );
481          "class" => "etat",  //
482          "title" => _("etat"),  $links[] = array(
483          "right" => "etat",      "href" => "../scr/tab.php?obj=transition",
484          "open"  => "|etat"      "class" => "transition",
485      ));      "title" => _("transition"),
486        "right" => array("transition", "transition_tab", ),
487      array_push($links,      "open" => array("tab.php|transition", "form.php|transition", ),
488        array(  );
489            "href" => "../scr/tab.php?obj=evenement",  //
490            "class" => "evenement",  $links[] = array(
491            "title" => _("evenement"),      "href" => "../scr/tab.php?obj=etat",
492            "right" => "evenement",      "class" => "etat",
493            "open"  => "|evenement"      "title" => _("etat"),
494        ));      "right" => array("etat", "etat_tab", ),
495            "open" => array("tab.php|etat", "form.php|etat", ),
496      array_push($links,  );
497      array(  //
498          "href" => "../scr/tab.php?obj=bible",  $links[] = array(
499          "class" => "bible",      "href" => "../scr/tab.php?obj=evenement",
500          "title" => _("bible"),      "class" => "evenement",
501          "right" => "bible",      "title" => _("evenement"),
502          "open"  => "|bible"      "right" => array("evenement", "evenement_tab", ),
503      ));      "open" => array("tab.php|evenement", "form.php|evenement", ),
504          );
505      array_push($links,  //
506      array(  $links[] = array(
507          "href" => "../scr/tab.php?obj=avis",      "href" => "../scr/tab.php?obj=bible",
508          "class" => "avis",      "class" => "bible",
509          "title" => _("avis"),      "title" => _("bible"),
510          "right" => "avis",      "right" => array("bible", "bible_tab", ),
511          "open"  => "|avis"      "open" => array("tab.php|bible", "form.php|bible", ),
512      ));  );
513    array_push($links,  //
514      array(  $links[] = array(
515          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=avis_decision",
516          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "class" => "avis_decision",
517      ));      "title" => _("avis decision"),
518    array_push($links,      "right" => array("avis_decision", "avis_decision_tab", ),
519      array(      "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
520          "href" => "../scr/tab.php?obj=om_etat",  );
521          "class" => "etat",  //
522          "title" => _("om_etat"),  $links[] = array(
523          "right" => "om_etat_tab",      "href" => "../scr/tab.php?obj=avis_consultation",
524          "open"  => "|om_etat"      "class" => "avis_consultation",
525      ));      "title" => _("avis consultation"),
526    array_push($links,      "right" => array("avis_consultation", "avis_consultation_tab", ),
527      array(      "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
528          "href" => "../scr/tab.php?obj=om_sousetat",  );
529          "class" => "sousetat",  //
530          "title" => _("om_sousetat"),  $links[] = array(
531          "right" => "om_sousetat_tab",      "class" => "category",
532          "open"  => "|om_sousetat"      "title" => _("Organisation"),
533      ));      "right" => array("direction", "division", "instructeur"),
534    array_push($links,  );
535      array(  $links[] = array(
536          "href" => "../scr/tab.php?obj=om_lettretype",      "title" => "<hr/>",
537          "class" => "lettretype",      "right" => array("direction", "division", "instructeur"),
538          "title" => _("om_lettretype"),  );
539          "right" => "om_lettretype_tab",  //
540          "open"  => "|om_lettretype"  $links[] = array(
541      ));      "href" => "../scr/tab.php?obj=direction",
542        "class" => "direction",
543        "title" => _("direction"),
544        "right" => array("direction", "direction_tab", ),
545        "open" => array("tab.php|direction", "form.php|direction", ),
546    );
547    //
548    $links[] = array(
549        "href" => "../scr/tab.php?obj=division",
550        "class" => "division",
551        "title" => _("division"),
552        "right" => array("division", "division_tab", ),
553        "open" => array("tab.php|division", "form.php|division", ),
554    );
555    //
556    $links[] = array(
557        "href" => "../scr/tab.php?obj=instructeur",
558        "class" => "instructeur",
559        "title" => _("instructeur"),
560        "right" => array("instructeur", "instructeur_tab", ),
561        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
562    );
563    //
564    $links[] = array(
565        "class" => "category",
566        "title" => _("editions"),
567        "right" => array(
568            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
569            "om_lettretype", "om_lettretype_tab",
570        ),
571    );
572    //
573    $links[] = array(
574        "title" => "<hr/>",
575        "right" => array(
576            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
577            "om_lettretype", "om_lettretype_tab",
578        ),
579    );
580    //
581    $links[] = array(
582        "href" => "../scr/tab.php?obj=om_etat",
583        "class" => "etat",
584        "title" => _("om_etat"),
585        "right" => array("om_etat", "om_etat_tab", ),
586        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
587    );
588    //
589    $links[] = array(
590        "href" => "../scr/tab.php?obj=om_sousetat",
591        "class" => "sousetat",
592        "title" => _("om_sousetat"),
593        "right" => array("om_sousetat", "om_sousetat_tab", ),
594        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
595    );
596    //
597    $links[] = array(
598        "href" => "../scr/tab.php?obj=om_lettretype",
599        "class" => "lettretype",
600        "title" => _("om_lettretype"),
601        "right" => array("om_lettretype", "om_lettretype_tab"),
602        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
603    );
604    //
605  $rubrik['links'] = $links;  $rubrik['links'] = $links;
606  array_push($menu, $rubrik);  //
607  //}}}  $menu[] = $rubrik;
608  //{{{ SIG  // }}}
609    
610    // {{{ Rubrique SIG
611    //
612  $rubrik = array(  $rubrik = array(
613      "title" => _("SIG"),      "title" => _("sig"),
614      "class" => "sig",      "class" => "sig",
615      "right" => "menu_sig",      "right" => "menu_sig",
616  );  );
617    //
618  $links = array();  $links = array();
619    array_push($links,  //
620      array(  $links[] = array(
621          "href" => "../scr/tab.php?obj=parcelle",      "href" => "../scr/tab.php?obj=parcelle",
622          "class" => "parcelle",      "class" => "parcelle",
623          "title" => _("parcelle"),      "title" => _("parcelle"),
624          "right" => "parcelle",      "right" => array("parcelle", "parcelle_tab"),
625          "open"  => "|parcelle",      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
626      ));  );
627    //
628    array_push($links,  $links[] = array(
629      array(      "href" => "../scr/tab.php?obj=proprietaire",
630          "href" => "../scr/tab.php?obj=proprietaire",      "class" => "proprietaire",
631          "class" => "proprietaire",      "title" => _("proprietaire"),
632          "title" => _("proprietaire"),      "right" => array("proprietaire", "proprietaire_tab"),
633          "right" => "proprietaire",      "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
634          "open"  => "|proprietaire"  );
635      ));  //
636    $links[] = array(
637        "class" => "category",
638        "title" => _("servitudes"),
639          "right" => array(
640    // servitudes          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
641    array_push($links,          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
642      array(          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
643          "title" => "<hr/>",      ),
644          "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")  );
645          ));  //
646      array_push($links,  $links[] = array(
647      array(      "title" => "<hr/>",
648          "href" => "../scr/tab.php?obj=pos",      "right" => array(
649          "class" => "pos",          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
650          "title" => _("pos"),          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
651          "right" => "pos",          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
652          "open"  => "|pos",      ),
653      ));  );
654    array_push($links,  //
655      array(  $links[] = array(
656          "href" => "../scr/tab.php?obj=servitude_surfacique",      "href" => "../scr/tab.php?obj=pos",
657          "class" => "servitude",      "class" => "pos",
658          "title" => _("servitude")." "._("surfacique"),      "title" => _("pos"),
659          "right" => "servitude_surfacique",      "right" => array("pos", "pos_tab"),
660          "open"  => "|servitude_surfacique"      "open" => array("tab.php|pos", "form.php|pos", ),
661      ));  );
662    array_push($links,  //
663      array(  $links[] = array(
664          "href" => "../scr/tab.php?obj=servitude_ligne",      "href" => "../scr/tab.php?obj=servitude_surfacique",
665          "class" => "servitude",      "class" => "servitude_surfacique",
666          "title" => _("servitude")." "._("ligne"),      "title" => _("servitude_surfacique"),
667          "right" => "servitude_ligne",      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
668          "open"  => "|servitude_ligne"      "open" => array(
669      ));          "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
670    array_push($links,      ),
671      array(  );
672          "href" => "../scr/tab.php?obj=servitude_point",  //
673          "class" => "servitude",  $links[] = array(
674          "title" => _("servitude")." "._("point"),      "href" => "../scr/tab.php?obj=servitude_ligne",
675          "right" => "servitude_point",      "class" => "servitude_ligne",
676          "open"  => "|servitude_point"      "title" => _("servitude_ligne"),
677      ));      "right" => array("servitude_ligne", "servitude_ligne_tab"),
678        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
679    array_push($links,  );
680      array(  //
681          "href" => "../scr/tab.php?obj=parcelle_lot",  $links[] = array(
682          "class" => "parcelle",      "href" => "../scr/tab.php?obj=servitude_point",
683          "title" => _("parcelle")." "._("lot"),      "class" => "servitude_point",
684          "right" => "parcelle_lot",      "title" => _("servitude_point"),
685          "open"  => "|parcelle_lot"      "right" => array("servitude_point", "servitude_point_tab"),
686      ));      "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
687    );
688    //
689    $links[] = array(
690        "href" => "../scr/tab.php?obj=parcelle_lot",
691        "class" => "parcelle_lot",
692        "title" => _("parcelle_lot"),
693        "right" => array("parcelle_lot", "parcelle_lot_tab"),
694        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
695    );
696    //
697  $rubrik['links'] = $links;  $rubrik['links'] = $links;
698  array_push($menu, $rubrik);  //
699    $menu[] = $rubrik;
700    // }}}
701    
 //}}}  
702  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
703  //  //
704  $rubrik = array(  $rubrik = array(
705      "title" => _("Administration"),      "title" => _("administration"),
706      "class" => "administration",      "class" => "administration",
707      "right" => "menu_administration",      "right" => "menu_administration",
708  );  );
709  //  //
710  $links = array();  $links = array();
711  array_push($links,  //
712      array(  $links[] = array(
713          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
714          "class" => "collectivite",      "class" => "collectivite",
715          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
716          "right" => "om_collectivite_tab",      "right" => array("om_collectivite", "om_collectivite_tab", ),
717          "open"  => "|om_collectivite"      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
718      ));  );
719  array_push($links,  //
720      array(  $links[] = array(
721          "href" => "../scr/tab.php?obj=om_parametre",      "href" => "../scr/tab.php?obj=om_parametre",
722          "class" => "collectivite",      "class" => "parametre",
723          "title" => _("om_parametre"),      "title" => _("om_parametre"),
724          "right" => "om_parametre_tab",      "right" => array("om_parametre", "om_parametre_tab", ),
725          "open"  => "|om_parametre"      "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
726      ));  );
727    //
728    $links[] = array(
729  array_push($links,      "class" => "category",
730      array(      "title" => _("gestion des utilisateurs"),
731          "title" => "<hr/>",      "right" => array(
732          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
733      ));          "om_droit", "om_droit_tab", "directory",
734  array_push($links,      ),
735      array(  );
736          "href" => "../scr/tab.php?obj=om_profil",  //
737          "class" => "profil",  $links[] = array(
738          "title" => _("om_profil"),      "title" => "<hr/>",
739          "right" => "om_profil_tab",      "right" => array(
740          "open"  => "|om_profil"          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
741      ));          "om_droit", "om_droit_tab",
742  array_push($links,      ),
743      array(  );
744          "href" => "../scr/tab.php?obj=om_droit",  //
745          "class" => "droit",  $links[] = array(
746          "title" => _("om_droit"),      "href" => "../scr/tab.php?obj=om_profil",
747          "right" => "om_droit_multi",      "class" => "profil",
748          "open"  => "|om_droit"      "title" => _("om_profil"),
749      ));      "right" => array("om_profil", "om_profil_tab", ),
750  array_push($links,      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
751      array(  );
752          "href" => "../scr/tab.php?obj=om_utilisateur",  //
753          "class" => "utilisateur",  $links[] = array(
754          "title" => _("om_utilisateur"),      "href" => "../scr/tab.php?obj=om_droit",
755          "right" => "om_utilisateur_tab",      "class" => "droit",
756          "open"  => "|om_utilisateur"      "title" => _("om_droit"),
757      ));      "right" => array("om_droit", "om_droit_tab", ),
758  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
759      array(  );
760          "title" => "<hr />",  //
761          "right" => array("directory"),  $links[] = array(
762      ));      "href" => "../scr/tab.php?obj=om_utilisateur",
763  array_push($links,      "class" => "utilisateur",
764      array(      "title" => _("om_utilisateur"),
765          "href" => "../scr/directory.php",      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
766          "title" => _("Annuaire"),      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
767          "right" => "directory",  );
768          "class" => "utilisateur",  //
769          "open"  => "directory.php|"  $links[] = array(
770      ));      "title" => "<hr/>",
771  array_push($links,      "right" => array("directory", ),
772      array(      "parameters" => array("isDirectoryOptionEnabled" => true, ),
773          "title" => "<hr/>",  );
774          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),  //
775      ));  $links[] = array(
776  array_push($links,      "href" => "../scr/directory.php",
777      array(      "class" => "directory",
778          "href" => "../scr/tab.php?obj=om_sig_point",      "title" => _("annuaire"),
779          "class" => "om_sig_point",      "right" => array("directory", ),
780          "title" => _("om SIG"),      "open" => array("directory.php|", ),
781          "right" => "om_sig_point_tab",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
782          "open"  => "|om_sig_point"  );
783      ));  //
784  array_push($links,  $links[] = array(
785      array(      "class" => "category",
786          "href" => "../scr/tab.php?obj=om_widget",      "title" => _("tableaux de bord"),
787          "class" => "om_widget",      "right" => array("om_widget", "om_widget_tab", ),
788          "title" => _("widget"),  );
789          "right" => "om_widget",  //
790          "open"  => "|om_widget"  $links[] = array(
791      ));      "title" => "<hr/>",
792  array_push($links,      "right" => array("om_widget", "om_widget_tab", ),
793      array(  );
794          "title" => "<hr/>",  //
795          "right" => array("import"),  $links[] = array(
796      ));      "href" => "../scr/tab.php?obj=om_widget",
797  array_push($links,      "class" => "om_widget",
798      array(      "title" => _("widget"),
799          "href" => "../scr/import.php",      "right" => array("om_widget", "om_widget_tab", ),
800          "class" => "import",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
801          "title" => _("Import"),  );
802          "right" => "import",  //
803          "open"  => "import.php|"  $links[] = array(
804      ));      "class" => "category",
805        "title" => _("sig"),
806  array_push($links,      "right" => array(
807      array(          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
808          "title" => "<hr/>",      ),
809          "right" => array("gen"),  );
810      ));  //
811  array_push($links,  $links[] = array(
812      array(      "title" => "<hr/>",
813          "title" => _("Generateur"),      "right" => array(
814          "href" => "../scr/gen.php",          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
815          "class" => "generator",      ),
816          "right" => "gen",  );
817          "open"  => "gen.php|"  //
818      ));  $links[] = array(
819        "href" => "../scr/tab.php?obj=om_sig_map",
820        "class" => "om_sig_map",
821        "title" => _("om_sig_map"),
822        "right" => array("om_sig_map", "om_sig_map_tab", ),
823        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
824    );
825    //
826    $links[] = array(
827        "href" => "../scr/tab.php?obj=om_sig_wms",
828        "class" => "om_sig_wms",
829        "title" => _("om_sig_wms"),
830        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
831        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
832    );
833    //
834    $links[] = array(
835        "class" => "category",
836        "title" => _("options avancees"),
837        "right" => array("import", "gen", ),
838    );
839    //
840    $links[] = array(
841        "title" => "<hr/>",
842        "right" => array("import", ),
843    );
844    //
845    $links[] = array(
846        "href" => "../scr/import.php",
847        "class" => "import",
848        "title" => _("Import"),
849        "right" => array("import", ),
850        "open" => array("import.php|", ),
851    );
852    //
853    $links[] = array(
854        "title" => "<hr/>",
855        "right" => array("gen", ),
856    );
857    //
858    $links[] = array(
859        "title" => _("Generateur"),
860        "href" => "../scr/gen.php",
861        "class" => "generator",
862        "right" => array("gen", ),
863        "open" => array(
864            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
865            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
866            "genimport.php|",
867        ),
868    );
869    //
870  $rubrik['links'] = $links;  $rubrik['links'] = $links;
871  array_push($menu, $rubrik);  //
872    $menu[] = $rubrik;
873  // }}}  // }}}
874    
875  ?>  ?>

Legend:
Removed from v.315  
changed lines
  Added in v.599

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26