/[openfoncier]/branches/3.14.x/dyn/menu.inc.php
ViewVC logotype

Diff of /branches/3.14.x/dyn/menu.inc.php

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

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

Legend:
Removed from v.269  
changed lines
  Added in v.566

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26