/[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 203 by fraynaud, Mon Oct 17 07:42:05 2011 UTC revision 1219 by vpihour, Mon Jan 14 10:57:27 2013 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 AUTORISATION
14  // inserer ici vos tables principales  //
   
15  $rubrik = array(  $rubrik = array(
16      "title" => _("Instruction"),      "title" => _("autorisation"),
17      "class" => "application",      "class" => "autorisation",
18      "right" => "menu_application",      "right" => "menu_autorisation",
19  );  );
20    //
21  $links = array();  $links = array();
22  // *** APPLICATION ***  //
 // inserez ici les tables de votra application  
 // ========================================================================  
 /*  
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=nom_table",  
         "class" => "nom_table",  
         "title" => _("nom_table"),  
         "right" => "nom_table"  
     ));  
 */  
 // ========================================================================  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC",  
         "class" => "dossier",  
         "title" => _("PC"),  
         "right" => "dossier"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=DP",  
         "class" => "dossier",  
         "title" => _("DP"),  
         "right" => "dossier"  
     ));  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PD",  
         "class" => "dossier",  
         "title" => _("PD"),  
         "right" => "dossier"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PA",  
         "class" => "dossier",  
         "title" => _("PA"),  
         "right" => "dossier"  
     ));  
   
 array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("gen"),  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC_accueil",  
         "class" => "dossier",  
         "title" => _("PC - accueil"),  
         "right" => "dossier"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=DP_accueil",  
         "class" => "dossier",  
         "title" => _("DP - accueil"),  
         "right" => "dossier"  
     ));  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PD_accueil",  
         "class" => "dossier",  
         "title" => _("PD - accueil"),  
         "right" => "dossier"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PA_accueil",  
         "class" => "dossier",  
         "title" => _("PA - accueil"),  
         "right" => "dossier"  
     ));  
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("gen"),  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../app/recherchedossier.php",  
         "class" => "dossier",  
         "title" => _("Recherche dossier"),  
         "right" => "recherchedossier"  
     ));  
   
23  $rubrik['links'] = $links;  $rubrik['links'] = $links;
24  array_push($menu, $rubrik);  //
25    $menu[] = $rubrik;
26    // }}}
27    
28  // {{{ Rubrique EXPORT  // {{{ Rubrique GUICHET UNIQUE
29    //
30  $rubrik = array(  $rubrik = array(
31      "title" => _("Export"),      "title" => _("Guichet Unique"),
32        "class" => "guichet_unique",
33        "right" => "menu_guichet_unique",
34    );
35    //
36    $links = array();
37    //
38    $links[] = array(
39        "class" => "category",
40        "title" => _("demandes"),
41        "right" => array("demande_nouveau_dossier","demande_nouveau_dossier_tab",
42                         "demande_dossier_existant","demande_dossier_existant_tab",),
43    );
44    $links[] = array(
45        "title" => "<hr/>",
46        "right" => array("demande_nouveau_dossier","demande_nouveau_dossier_tab",
47                         "demande_dossier_existant","demande_dossier_existant_tab",
48                         "demande_recepisse_demande","demande_recepisse_demande_tab",),
49    );
50    $links[] = array(
51        "href" => "../scr/form.php?obj=demande_nouveau_dossier&amp;action=0&amp;advs_id=&amp;tricol=&amp;valide=&amp;retour=tab&amp;new=",
52        "class" => "demande",
53        "title" => _("nouveau dossier"),
54        "right" => array("demande_nouveau_dossier", "demande_nouveau_dossier_tab", ),
55        "open" => array("form.php|demande_nouveau_dossier",),
56    );
57    $links[] = array(
58        "href" => "../scr/tab.php?obj=demande_dossier_existant",
59        "class" => "demande_dossier_existant",
60        "title" => _("dossier existant"),
61        "right" => array("demande_dossier_existant", "demande_dossier_existant_tab", ),
62        "open" => array("tab.php|demande_dossier_existant", "form.php|demande_dossier_existant"),
63    );
64    $links[] = array(
65        "href" => "../scr/tab.php?obj=demande",
66        "class" => "demande",
67        "title" => _("recepisse de demande"),
68        "right" => array("demande_recepisse_demande", "demande_recepisse_demande_tab", ),
69        "open" => array("tab.php|demande","form.php|demande"),
70    );
71    //
72    $links[] = array(
73        "class" => "category",
74        "title" => _("Affichage des dossiers"),
75        "right" => array("edition_reglementaire","attestation_affichage",),
76    );
77    $links[] = array(
78        "title" => "<hr/>",
79        "right" => array("edition", "attestation_affichage"),
80    );
81    $links[] = array(
82        "href" => "../app/edition_reglementaire.php",
83      "class" => "edition",      "class" => "edition",
84      "right" => "menu_export",      "title" => _("edition reglementaire"),
85        "right" => "edition_reglementaire",
86        "open" => "edition_reglementaire.php|",
87    );
88    $links[] = array(
89        "href" => "../app/attestation_affichage.php",
90        "class" => "attestation_affichage",
91        "title" => _("attestation d'affichage"),
92        "right" => "attestation_affichage",
93        "open" => "attestation_affichage.php|",
94    );
95    //
96    /*$links[] = array(
97        "class" => "category",
98        "title" => _("Qualification"),
99        "right" => array("qualification"),
100  );  );
101    $links[] = array(
102        "title" => "<hr/>",
103        "right" => array("qualification"),
104    );
105    $links[] = array(
106        "href" => "../scr/tab.php?obj=dossier",
107        "class" => "qualification",
108        "title" => _("A Qualifier"),
109        "right" => array("qualification", "qualification_tab", ),
110        "open" => array("tab.php|qualification", "form.php|qualification", ),
111    );*/
112    //
113    $rubrik['links'] = $links;
114    //
115    $menu[] = $rubrik;
116    // }}}
117    
118    // {{{ Rubrique INSTRUCTION
119    //
120    $rubrik = array(
121        "title" => _("instruction"),
122        "class" => "instruction",
123        "right" => "menu_instruction",
124    );
125    //
126  $links = array();  $links = array();
127  array_push($links,  // Catégorie DOSSIERS D'INSTRUCTION
128      array(  $links[] = array(
129          "href" => "../scr/edition.php",      "class" => "category",
130          "class" => "edition",      "title" => _("dossiers d'instruction"),
131          "title" => _("Edition"),      "right" => array(
132          "right" => "edition"          "dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab",
133      ));          "dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab",
134  array_push($links,          "dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab",
135      array(          "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
136          "href" => "../app/edition_p.php",          "dossier_instruction", "dossier_instruction_tab",
137          "class" => "edition",          "PC_modificatif", "PC_modificatif_tab",
138          "title" => _("Edition date depot"),      ),
139          "right" => "edition"  );
140      ));  $links[] = array(
141        "title" => "<hr/>",
142  array_push($links,      "right" => array(
143      array(          "dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab",
144          "href" => "../app/edition_d.php",          "dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab",
145          "class" => "edition",      ),
146          "title" => _("Edition date decision"),  );
147          "right" => "edition"  //
148      ));  $links[] = array(
149        "href" => "../scr/tab.php?obj=dossier_instruction_mes_encours",
150      array_push($links,      "class" => "dossier_instruction_mes_encours",
151      array(      "title" => _("mes encours"),
152          "title" => "<hr/>",      "right" => array("dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab", ),
153          "right" => array("reqmo", "export_pc_tab", "export_dp_tab", "export_sitadel_tab")      "open" => array("tab.php|dossier_instruction_mes_encours", "form.php|dossier_instruction_mes_encours", ),
154      ));  );
155    //
156  array_push($links,  $links[] = array(
157      array(      "href" => "../scr/tab.php?obj=dossier_instruction_tous_encours",
158          "href" => "../scr/reqmo.php",      "class" => "dossier_instruction_tous_encours",
159          "class" => "reqmo",      "title" => _("tous les encours"),
160          "title" => _("Requetes memorisees"),      "right" => array("dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab", ),
161          "right" => "reqmo"      "open" => array("tab.php|dossier_instruction_tous_encours", "form.php|dossier_instruction_tous_encours", ),
162      ));  );
163    //
164      array_push($links,  $links[] = array(
165      array(      "title" => "<hr/>",
166          "href" => "../app/export_pc.php",      "right" => array(
167          "class" => "reqmo",          "dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab",
168          "title" => _("export PC Lascot"),          "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
169          "right" => "ecport_pc"      ),
170      ));  );
171        //
172      array_push($links,  $links[] = array(
173      array(      "href" => "../scr/tab.php?obj=dossier_instruction_mes_clotures",
174          "href" => "../app/export_dp.php",      "class" => "dossier_instruction_mes_clotures",
175          "class" => "reqmo",      "title" => _("mes clotures"),
176          "title" => _("export DP Lascot"),      "right" => array("dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab", ),
177          "right" => "export_dp"      "open" => array("tab.php|dossier_instruction_mes_clotures", "form.php|dossier_instruction_mes_clotures", ),
178      ));  );
179    //
180      array_push($links,  $links[] = array(
181      array(      "href" => "../scr/tab.php?obj=dossier_instruction_tous_clotures",
182          "href" => "../app/sitadel.php",      "class" => "dossier_instruction_tous_clotures",
183          "class" => "reqmo",      "title" => _("tous les clotures"),
184          "title" => _("export")._("sitadel")." 2",      "right" => array("dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab", ),
185          "right" => "export_sitadel"      "open" => array("tab.php|dossier_instruction_tous_clotures", "form.php|dossier_instruction_tous_clotures", ),
186      ));  );
187    //
188    $links[] = array(
189        "title" => "<hr/>",
190        "right" => array(
191            "dossier_instruction", "dossier_instruction_tab",
192        ),
193    );
194    //
195    $links[] = array(
196        "href" => "../scr/tab.php?obj=dossier_instruction",
197        "class" => "dossier_instruction",
198        "title" => _("recherche"),
199        "right" => array("dossier_instruction", "dossier_instruction_tab", ),
200        "open" => array("tab.php|dossier_instruction", "form.php|dossier_instruction", ),
201    );
202    // Catégorie CONSULTATIONS
203    $links[] = array(
204        "class" => "category",
205        "title" => _("consultations"),
206        "right" => array("consultation_mes_retours", "consultation_tous_retours", ),
207    );
208    $links[] = array(
209        "title" => "<hr/>",
210        "right" => array("consultation_mes_retours", "consultation_tous_retours", ),
211    );
212    $links[] = array(
213        "href" => "../scr/tab.php?obj=consultation_mes_retours",
214        "class" => "consultation_mes_retours",
215        "title" => _("Mes retours"),
216        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
217        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
218    );
219    $links[] = array(
220        "href" => "../scr/tab.php?obj=consultation_tous_retours",
221        "class" => "consultation_tous_retours",
222        "title" => _("Tous les retours"),
223        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
224        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
225    );
226    // Catégorie MESSAGES
227    $links[] = array(
228        "class" => "category",
229        "title" => _("Messages"),
230        "right" => array("messages_mes_retours", "messages_tous_retours"),
231        "parameters" => array("option_ERP" => "true", ),
232    );
233    //
234    $links[] = array(
235        "title" => "<hr/>",
236        "right" => array("messages_mes_retours", "messages_tous_retours"),
237        "parameters" => array("option_ERP" => "true", ),
238    );
239    //
240    $links[] = array(
241        "href" => "../scr/tab.php?obj=messages_mes_retours",
242        "class" => "messages_mes_retours",
243        "title" => _("Mes messages"),
244        "right" => array("messages_mes_retours", "messages_mes_retours_tab", ),
245        "open" => array("tab.php|messages_mes_retours", "form.php|messages_mes_retours", ),
246        "parameters" => array("option_ERP" => "true", ),
247    );
248    //
249    $links[] = array(
250        "href" => "../scr/tab.php?obj=messages_tous_retours",
251        "class" => "messages_tous_retours",
252        "title" => _("Tous les messages"),
253        "right" => array("messages_tous_retours", "messages_tous_retours_tab", ),
254        "open" => array("tab.php|messages_tous_retours", "form.php|messages_tous_retours", ),
255        "parameters" => array("option_ERP" => "true", ),
256    );
257    // Catégorie COMMISSIONS
258    $links[] = array(
259        "class" => "category",
260        "title" => _("commissions"),
261        "right" => array(
262            "commission_mes_retours", "commission_mes_retours_tab",
263            "commission_tous_retours", "commission_tous_retours_tab",
264        ),
265    );
266    $links[] = array(
267        "title" => "<hr/>",
268        "right" => array(
269            "commission_mes_retours", "commission_mes_retours_tab",
270            "commission_tous_retours", "commission_tous_retours_tab",
271        ),
272    );
273    $links[] = array(
274        "href" => "../scr/tab.php?obj=commission_mes_retours",
275        "class" => "commission_mes_retours",
276        "title" => _("Mes retours"),
277        "right" => array("commission_mes_retours", "commission_mes_retours_tab", ),
278        "open" => array("tab.php|commission_mes_retours", "form.php|commission_mes_retours", ),
279    );
280    $links[] = array(
281        "href" => "../scr/tab.php?obj=commission_tous_retours",
282        "class" => "commission_tous_retours",
283        "title" => _("Tous les retours"),
284        "right" => array("commission_tous_retours", "commission_tous_retours_tab", ),
285        "open" => array("tab.php|commission_tous_retours", "form.php|commission_tous_retours", ),
286    );
287    
288    //
289  $rubrik['links'] = $links;  $rubrik['links'] = $links;
290  array_push($menu, $rubrik);  //
291    $menu[] = $rubrik;
292  // }}}  // }}}
293    
294  // {{{ Rubrique TRAITEMENT  // {{{ Rubrique SUIVI
295    //
296    $rubrik = array(
297        "title" => _("Suivi"),
298        "class" => "suivi",
299        "right" => "menu_suivi",
300    );
301    //
302    $links = array();
303    //
304    $links[] = array(
305        "href" => "../app/avis_code_barre.php",
306        "class" => "avis_code_barre",
307        "title" => _("Retour de consultation"),
308        "right" => array("avis_code_barre", ),
309        "open" => array("avis_code_barre.php|", "form.php|consultation", ),
310    );
311    
312    $links[] = array(
313        "href" => "../app/maj_dates_suivi.php",
314        "class" => "maj_dates_suivi",
315        "title" => _("Mise a jour des dates"),
316        "right" => array("maj_dates_suivi", ),
317        "open" => array("maj_dates_suivi.php|"),
318    );
319    //
320    $links[] = array(
321        "href" => "../app/bordereaux_envoi.php",
322        "class" => "bordereaux_envoi",
323        "title" => _("Bordereaux"),
324        "right" => array("bordereaux_envoi", ),
325        "open" => array("bordereaux_envoi.php|"),
326    );
327    //
328    $rubrik['links'] = $links;
329    //
330    $menu[] = $rubrik;
331    // }}}
332    
333    // {{{ Rubrique DEMANDES D'AVIS
334    //
335  $rubrik = array(  $rubrik = array(
336      "title" => _("Traitement"),      "title" => _("Demandes d'avis"),
337      "class" => "traitement",      "class" => "demande_avis",
338      "right" => "menu_traitement",      "right" => "menu_demande_avis",
339  );  );
340    //
341  $links = array();  $links = array();
342  // *** TRAITEMENT ***  //
343  // inserez le lien d acces au traitement  $links[] = array(
344  // ========================================================================      "href" => "../scr/tab.php?obj=demande_avis_encours",
345  /*      "class" => "demande_avis_encours",
346   array_push($links,      "title" => _("Demandes en cours"),
347      array(      "right" => array("demande_avis_encours", "demande_avis_encours_tab", ),
348          "href" => "../trt/nom_du_traitement.php",      "open" => array("tab.php|demande_avis_encours", "form.php|demande_avis_encours", ),
349          "class" => "traitement",  );
         "title" => _("Traitement"),  
         "right" => "traitement"  
     ));  
 */  
 // ========================================================================  
     array_push($links,  
     array(  
         "href" => "../scr/form.php?obj=dossier_numeromanuel",  
         "class" => "traitement",  
         "title" => _("numero manuel"),  
         "right" => "traitement"  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=PC_modificatif",  
         "class" => "traitement",  
         "title" => _("modificatif transfert"),  
         "right" => "traitement"  
     ));      
   
     array_push($links,  
     array(  
         "href" => "../app/num_dossier.php",  
         "class" => "traitement",  
         "title" => _("remise a 0"),  
         "right" => "traitement"  
     ));  
350    
351    $links[] = array(
352        "href" => "../scr/tab.php?obj=demande_avis_passee",
353        "class" => "demande_avis_passee",
354        "title" => _("Demandes passees"),
355        "right" => array("demande_avis_passee", "demande_avis_passee_tab", ),
356        "open" => array("tab.php|demande_avis_passee", "form.php|demande_avis_passee", ),
357    );
358    
359    $links[] = array(
360        "href" => "../scr/tab.php?obj=demande_avis",
361        "class" => "demande_avis",
362        "title" => _("Exports"),
363        "right" => array("demande_avis", "demande_avis_tab", ),
364        "open" => array("tab.php|demande_avis", "form.php|demande_avis", ),
365    );
366    
367    //
368  $rubrik['links'] = $links;  $rubrik['links'] = $links;
369  array_push($menu, $rubrik);  //
370    $menu[] = $rubrik;
371  // }}}  // }}}
372    
373    
374    
375  // {{{  Rubrique parametrage de l'application  // {{{ Rubrique EXPORT
376    //
377    $rubrik = array(
378        "title" => _("export"),
379        "class" => "edition",
380        "right" => "menu_export",
381    );
382    //
383    $links = array();
384    //
385    $links[] = array(
386        "href" => "../scr/edition.php",
387        "class" => "edition",
388        "title" => _("edition"),
389        "right" => "edition",
390        "open" => "edition.php|",
391    );
392    //
393    $links[] = array(
394        "href" => "../app/edition_p.php",
395        "class" => "edition",
396        "title" => _("edition date depot"),
397        "right" => "edition_p",
398        "open" => "edition_p.php|",
399    );
400    //
401    $links[] = array(
402        "href" => "../app/edition_d.php",
403        "class" => "edition",
404        "title" => _("edition date decision"),
405        "right" => "edition_d",
406        "open" => "edition_d.php|",
407    );
408    //
409    $links[] = array(
410        "title" => "<hr/>",
411        "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
412    );
413    //
414    $links[] = array(
415        "href" => "../scr/reqmo.php",
416        "class" => "reqmo",
417        "title" => _("requetes memorisees"),
418        "right" => "reqmo",
419        "open" => array("reqmo.php|", "requeteur.php|", ),
420    );
421    //
422    $links[] = array(
423        "href" => "../app/export_pc.php",
424        "class" => "reqmo",
425        "title" => _("export PC Lascot"),
426        "right" => "export_pc",
427        "open" => "export_pc.php|",
428    );
429    //
430    $links[] = array(
431        "href" => "../app/export_dp.php",
432        "class" => "reqmo",
433        "title" => _("export DP Lascot"),
434        "right" => "export_dp",
435        "open" => "export_dp.php|",
436    );
437    //
438    $links[] = array(
439        "href" => "../app/sitadel.php",
440        "class" => "reqmo",
441        "title" => _("export sitadel")." 2",
442        "right" => "export_sitadel",
443        "open" => "sitadel.php|",
444    );
445    //
446    $rubrik['links'] = $links;
447    //
448    $menu[] = $rubrik;
449    // }}}
450    
451    // {{{ Rubrique PARAMETRAGE
452    //
453  $rubrik = array(  $rubrik = array(
454      "title" => _("Parametrage"),      "title" => _("parametrage"),
455      "class" => "parametrage",      "class" => "parametrage",
456      "right" => "menu_parametrage",      "right" => "menu_parametrage",
457  );  );
458    //
459  $links = array();  $links = array();
460  // *** TABLES DE PARAMETRAGE ***  //
461  // inserer ici vos tables de parametres  // GENERAUX
462  // ========================================================================  $links[] = array(
463  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
464    array_push($links,      "class" => "traitement",
465      array(      "title" => _("numero manuel"),
466          "href" => "../scr/tab.php?obj=nom_table",      "right" => "dossier_numeromanuel",
467          "class" => "nom_table",      "open" => "|dossier_numeromanuel",
468          "title" => _("nom_table"),  );
469          "right" => "nom_table"  //
470      ));  $links[] = array(
471  */      "href" => "../app/num_dossier.php",
472  // ========================================================================      "class" => "traitement",
473        "title" => _("remise a 0"),
474        "right" => "num_dossier",
475  // param gaux      "open" => "num_dossier.php|",
476    );
477    array_push($links,  //
478      array(  $links[] = array(
479          "href" => "../scr/tab.php?obj=architecte",      "title" => "<hr/>",
480          "class" => "architecte",      "right" => array(
481          "title" => _("architecte"),          "architecte", "architecte_tab",
482          "right" => "architecte"           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
483      ));          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
484            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
485        ),
486    );
487    array_push($links,  //
488      array(  $links[] = array(
489          "href" => "../scr/tab.php?obj=service",      "href" => "../scr/tab.php?obj=architecte",
490          "class" => "service",      "class" => "architecte",
491          "title" => _("service"),      "title" => _("architecte"),
492          "right" => "service"      "right" => array("architecte", "architecte_tab", ),
493      ));      "open" => array("tab.php|architecte", "form.php|architecte", ),
494      );
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=travaux",  
         "class" => "travaux",  
         "title" => _("travaux"),  
         "right" => "travaux"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=regle",  
         "class" => "regle",  
         "title" => _("regle"),  
         "right" => "regle"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=categorie_demandeur",  
         "class" => "categorie_demandeur",  
         "title" => _("categorie_demandeur"),  
         "right" => "categorie_demandeur"  
     ));  
     
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=destination",  
         "class" => "destination",  
         "title" => _("destination"),  
         "right" => "destination"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=nature",  
         "class" => "nature",  
         "title" => _("nature"),  
         "right" => "nature"  
     ));  
   
 // workflows  
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("action_tab", "transition_tab", "etat_tab",  
                          "evenement_tab", "bible", "avis")  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=action",  
         "class" => "action",  
         "title" => _("action"),  
         "right" => "action"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=transition",  
         "class" => "transition",  
         "title" => _("transition"),  
         "right" => "transition"  
     ));  
     
     array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=etat",  
         "class" => "etat",  
         "title" => _("etat"),  
         "right" => "etat"  
     ));  
   
     array_push($links,  
       array(  
           "href" => "../scr/tab.php?obj=evenement",  
           "class" => "evenement",  
           "title" => _("evenement"),  
           "right" => "evenement"  
       ));  
       
       array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=bible",  
         "class" => "bible",  
         "title" => _("bible"),  
         "right" => "bible"  
     ));  
         
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=avis",  
         "class" => "avis",  
         "title" => _("avis"),  
         "right" => "avis"  
     ));  
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=rivoli",  
         "class" => "rivoli",  
         "title" => _("rivoli"),  
         "right" => "rivoli"  
     ));  
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=civilite",  
         "class" => "civilite",  
         "title" => _("civilite"),  
         "right" => "civilite"  
     ));  
   
   
   
   
   array_push($links,  
     array(  
         "href" => "../scr/tab.php?obj=parametre",  
         "class" => "parametre",  
         "title" => _("parametre")." "._("statistique"),  
         "right" => "parametre"  
     ));  
495    
496    //
497    $links[] = array(
498        "href" => "../scr/tab.php?obj=travaux",
499        "class" => "travaux",
500        "title" => _("travaux"),
501        "right" => array("travaux", "travaux_tab", ),
502        "open" => array("tab.php|travaux", "form.php|travaux", ),
503    );
504    //
505    $links[] = array(
506        "href" => "../scr/tab.php?obj=categorie_demandeur",
507        "class" => "categorie_demandeur",
508        "title" => _("categorie_demandeur"),
509        "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
510        "open" => array(
511            "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
512        ),
513    );
514    //
515    $links[] = array(
516        "href" => "../scr/tab.php?obj=destination",
517        "class" => "destination",
518        "title" => _("destination"),
519        "right" => array("destination", "destination_tab", ),
520        "open" => array("tab.php|destination", "form.php|destination", ),
521    );
522    //
523    $links[] = array(
524        "href" => "../scr/tab.php?obj=rivoli",
525        "class" => "rivoli",
526        "title" => _("rivoli"),
527        "right" => array("rivoli", "rivoli_tab", ),
528        "open" => array("tab.php|rivoli", "form.php|rivoli", ),
529    );
530    //
531    $links[] = array(
532        "href" => "../scr/tab.php?obj=civilite",
533        "class" => "civilite",
534        "title" => _("civilite"),
535        "right" => array("civilite", "civilite_tab", ),
536        "open" => array("tab.php|civilite", "form.php|civilite", ),
537    );
538    //
539    $links[] = array(
540        "href" => "../scr/tab.php?obj=parametre",
541        "class" => "parametre",
542        "title" => _("parametre")." "._("statistique"),
543        "right" => array("parametre", "parametre_tab", ),
544        "open" => array("tab.php|parametre", "form.php|parametre", ),
545    );
546    
547  $rubrik['links'] = $links;  //
548  array_push($menu, $rubrik);  $links[] = array(
549        "class" => "category",
550        "title" => _("workflows"),
551        "right" => array(
552            "action", "action_tab", "transition", "transition_tab", "etat",
553            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
554            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
555        ),
556    );
557    //
558    $links[] = array(
559        "title" => "<hr/>",
560        "right" => array(
561            "action", "action_tab", "transition", "transition_tab", "etat",
562            "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
563            "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
564        ),
565    );
566    //
567    $links[] = array(
568        "href" => "../scr/tab.php?obj=action",
569        "class" => "action",
570        "title" => _("action"),
571        "right" => array("action", "action_tab", ),
572        "open" => array("tab.php|action", "form.php|action", ),
573    );
574    //
575    $links[] = array(
576        "href" => "../scr/tab.php?obj=transition",
577        "class" => "transition",
578        "title" => _("transition"),
579        "right" => array("transition", "transition_tab", ),
580        "open" => array("tab.php|transition", "form.php|transition", ),
581    );
582    //
583    $links[] = array(
584        "href" => "../scr/tab.php?obj=etat",
585        "class" => "etat",
586        "title" => _("etat"),
587        "right" => array("etat", "etat_tab", ),
588        "open" => array("tab.php|etat", "form.php|etat", ),
589    );
590    //
591    $links[] = array(
592        "href" => "../scr/tab.php?obj=evenement",
593        "class" => "evenement",
594        "title" => _("evenement"),
595        "right" => array("evenement", "evenement_tab", ),
596        "open" => array("tab.php|evenement", "form.php|evenement", ),
597    );
598    //
599    $links[] = array(
600        "href" => "../scr/tab.php?obj=bible",
601        "class" => "bible",
602        "title" => _("bible"),
603        "right" => array("bible", "bible_tab", ),
604        "open" => array("tab.php|bible", "form.php|bible", ),
605    );
606    //
607    $links[] = array(
608        "href" => "../scr/tab.php?obj=avis_decision",
609        "class" => "avis_decision",
610        "title" => _("avis decision"),
611        "right" => array("avis_decision", "avis_decision_tab", ),
612        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
613    );
614    //
615    $links[] = array(
616        "class" => "category",
617        "title" => _("Organisation"),
618        "right" => array(
619            "direction", "direction_tab", "division", "division_tab", "instructeur",
620            "instructeur_tab", "groupe", "groupe_tab", "genre", "genre_tab",
621        ),
622    );
623    $links[] = array(
624        "title" => "<hr/>",
625        "right" => array(
626            "direction", "direction_tab", "division", "division_tab", "instructeur",
627            "instructeur_tab", "groupe", "groupe_tab", "genre", "genre_tab",
628        ),
629    );
630    //
631    $links[] = array(
632        "href" => "../scr/tab.php?obj=genre",
633        "class" => "genre",
634        "title" => _("genre"),
635        "right" => array("genre", "genre_tab", ),
636        "open" => array("tab.php|genre", "form.php|genre", ),
637    );
638    //
639    $links[] = array(
640        "href" => "../scr/tab.php?obj=groupe",
641        "class" => "groupe",
642        "title" => _("groupe"),
643        "right" => array("groupe", "groupe_tab", ),
644        "open" => array("tab.php|groupe", "form.php|groupe", ),
645    );
646    //
647    $links[] = array(
648        "href" => "../scr/tab.php?obj=direction",
649        "class" => "direction",
650        "title" => _("direction"),
651        "right" => array("direction", "direction_tab", ),
652        "open" => array("tab.php|direction", "form.php|direction", ),
653    );
654    //
655    $links[] = array(
656        "href" => "../scr/tab.php?obj=division",
657        "class" => "division",
658        "title" => _("division"),
659        "right" => array("division", "division_tab", ),
660        "open" => array("tab.php|division", "form.php|division", ),
661    );
662    //
663    $links[] = array(
664        "href" => "../scr/tab.php?obj=instructeur",
665        "class" => "instructeur",
666        "title" => _("instructeur"),
667        "right" => array("instructeur", "instructeur_tab", ),
668        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
669    );
670    //
671    $links[] = array(
672        "class" => "category",
673        "title" => _("gestion des commissions"),
674        "right" => array(
675            "comission_type", "comission_type_tab",
676        ),
677    );
678    //
679    $links[] = array(
680        "title" => "<hr/>",
681        "right" => array(
682            "comission_type", "comission_type_tab",
683        ),
684    );
685    //
686    $links[] = array(
687        "href" => "../scr/tab.php?obj=commission_type",
688        "class" => "commission-type",
689        "title" => _("commission_type"),
690        "right" => array("commission_type", "commission_type_tab", ),
691        "open" => array("tab.php|commission_type", "form.php|commission_type", ),
692    );
693    //
694    $links[] = array(
695        "class" => "category",
696        "title" => _("gestion des consultations"),
697        "right" => array(
698            "avis_consultation", "avis_consultation_tab", "service", "service_tab",
699            "service_categorie", "service_categorie_tab",
700            "lien_service_service_categorie", "lien_service_service_categorie_tab",
701        ),
702    );
703    //
704    $links[] = array(
705        "title" => "<hr/>",
706        "right" => array(
707            "avis_consultation", "avis_consultation_tab", "service", "service_tab",
708            "service_categorie", "service_categorie_tab",
709            "lien_service_service_categorie", "lien_service_service_categorie_tab",
710        ),
711    );
712    //
713    $links[] = array(
714        "href" => "../scr/tab.php?obj=avis_consultation",
715        "class" => "avis_consultation",
716        "title" => _("avis consultation"),
717        "right" => array("avis_consultation", "avis_consultation_tab", ),
718        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
719    );
720    //
721    $links[] = array(
722        "href" => "../scr/tab.php?obj=service",
723        "class" => "service",
724        "title" => _("service"),
725        "right" => array("service", "service_tab", ),
726        "open" => array("tab.php|service", "form.php|service", ),
727    );
728    $links[] = array(
729        "href" => "../scr/tab.php?obj=service_categorie",
730        "class" => "service_categorie",
731        "title" => _("thematique des services"),
732        "right" => array("service_categorie", "service_categorie_tab", ),
733        "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
734    );
735    $links[] = array(
736        "href" => "../scr/tab.php?obj=lien_service_service_categorie",
737        "class" => "lien_service_service_categorie",
738        "title" => _("Lien service / thematique"),
739        "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
740        "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
741    );
742    //
743    $links[] = array(
744        "class" => "category",
745        "title" => _("Gestion des dossiers"),
746        "right" => array(
747            "dossier_autorisation_type", "dossier_autorisation_type_tab",
748            "dossier_autorisation_type_detaille",
749            "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
750            "dossier_instruction_type_tab",
751            "lien_evenement_dossier_autorisation_type",
752            "lien_evenement_dossier_autorisation_type_tab",
753            "autorite_competente", "autorite_competente_tab",
754            "affectation_automatique", "affectation_automatique_tab",
755        ),
756    );
757    //
758    $links[] = array(
759        "title" => "<hr/>",
760        "right" => array(
761            "dossier_autorisation_type", "dossier_autorisation_type_tab",
762            "dossier_autorisation_type_detaille",
763            "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
764            "dossier_instruction_type_tab",
765            "lien_evenement_dossier_autorisation_type",
766            "lien_evenement_dossier_autorisation_type_tab",
767            "autorite_competente", "autorite_competente_tab",
768            "affectation_automatique", "affectation_automatique_tab",
769            
770        ),
771    );
772    //
773    $links[] = array(
774        "href" => "../scr/tab.php?obj=dossier_autorisation_type",
775        "class" => "dossier_autorisation_type",
776        "title" => _("dossier")." ".("autorisation")." "._("type"),
777        "right" => array("dossier_autorisation_type", "dossier_autorisation_type_tab", ),
778        "open" => array("tab.php|dossier_autorisation_type", "form.php|dossier_autorisation_type", ),
779    );
780    //
781    $links[] = array(
782        "href" => "../scr/tab.php?obj=dossier_autorisation_type_detaille",
783        "class" => "dossier_autorisation_type_detaille",
784        "title" => _("dossier")." ".("autorisation")." "._("type")." "._("detaille"),
785        "right" => array("dossier_autorisation_type_detaille", "dossier_autorisation_type_detaille_tab", ),
786        "open" => array("tab.php|dossier_autorisation_type_detaille", "form.php|dossier_autorisation_type_detaille", ),
787    );
788    //
789    $links[] = array(
790        "href" => "../scr/tab.php?obj=dossier_instruction_type",
791        "class" => "dossier_instruction_type",
792        "title" => _("dossier")." "._("instruction")." "._("type"),
793        "right" => array("dossier_instruction_type", "dossier_instruction_type_tab", ),
794        "open" => array("tab.php|dossier_instruction_type", "form.php|dossier_instruction_type", ),
795    );
796    //
797    $links[] = array(
798        "href" => "../scr/tab.php?obj=lien_evenement_dossier_autorisation_type",
799        "class" => "lien_evenement_dossier_autorisation_type",
800        "title" => _("lien")." "._("evenement")." "._("dossier")." "._("autorisation")." "._("type"),
801        "right" => array("lien_evenement_dossier_autorisation_type", "lien_evenement_dossier_autorisation_type_tab", ),
802        "open" => array("tab.php|lien_evenement_dossier_autorisation_type", "form.php|lien_evenement_dossier_autorisation_type", ),
803    );
804    //
805    $links[] = array(
806        "href" => "../scr/tab.php?obj=affectation_automatique",
807        "class" => "affectation_automatique",
808        "title" => _("affectation automatique"),
809        "right" => array("affectation_automatique", "affectation_automatique_tab", ),
810        "open" => array("tab.php|affectation_automatique", "form.php|affectation_automatique", ),
811    );
812    //
813    $links[] = array(
814        "href" => "../scr/tab.php?obj=autorite_competente",
815        "class" => "autorite_competente",
816        "title" => _("autorite")." "._("competente"),
817        "right" => array("autorite_competente", "autorite_competente_tab", ),
818        "open" => array("tab.php|autorite_competente", "form.php|autorite_competente", ),
819    );
820    //
821    $links[] = array(
822        "class" => "category",
823        "title" => _("gestion du guichet unique"),
824        "right" => array(
825            "demande_type",
826            "demande_type_tab", "demande_nature", "demande_nature_tab",
827        ),
828    );
829    //
830    $links[] = array(
831        "title" => "<hr/>",
832        "right" => array(
833            "demande_type",
834            "demande_type_tab", "demande_nature", "demande_nature_tab",
835        ),
836    );
837    //
838    $links[] = array(
839        "href" => "../scr/tab.php?obj=demande_nature",
840        "class" => "demande_nature",
841        "title" => _("nature de la demande"),
842        "right" => array("demande_nature", "demande_nature_tab", ),
843        "open" => array("tab.php|demande_nature", "form.php|demande_nature", ),
844    );
845    
846  // sig  //
847    $links[] = array(
848        "href" => "../scr/tab.php?obj=demande_type",
849        "class" => "demande_type",
850        "title" => _("type de la demande"),
851        "right" => array("demande_type", "demande_type_tab",),
852        "open" => array("tab.php|demande_type", "form.php|demande_type", ),
853    );
854    //
855    $links[] = array(
856        "class" => "category",
857        "title" => _("editions"),
858        "right" => array(
859            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
860            "om_lettretype", "om_lettretype_tab",
861        ),
862    );
863    //
864    $links[] = array(
865        "title" => "<hr/>",
866        "right" => array(
867            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
868            "om_lettretype", "om_lettretype_tab",
869        ),
870    );
871    //
872    $links[] = array(
873        "href" => "../scr/tab.php?obj=om_etat",
874        "class" => "etat",
875        "title" => _("om_etat"),
876        "right" => array("om_etat", "om_etat_tab", ),
877        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
878    );
879    //
880    $links[] = array(
881        "href" => "../scr/tab.php?obj=om_sousetat",
882        "class" => "sousetat",
883        "title" => _("om_sousetat"),
884        "right" => array("om_sousetat", "om_sousetat_tab", ),
885        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
886    );
887    //
888    $links[] = array(
889        "href" => "../scr/tab.php?obj=om_lettretype",
890        "class" => "lettretype",
891        "title" => _("om_lettretype"),
892        "right" => array("om_lettretype", "om_lettretype_tab"),
893        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
894    );
895    //
896    $rubrik['links'] = $links;
897    //
898    $menu[] = $rubrik;
899    // }}}
900    
901    // {{{ Rubrique SIG
902    //
903  $rubrik = array(  $rubrik = array(
904      "title" => _("SIG"),      "title" => _("sig"),
905      "class" => "sig",      "class" => "sig",
906      "right" => "menu_sig",      "right" => "menu_sig",
907  );  );
908    //
909  $links = array();  $links = array();
910    array_push($links,  //
911      array(  $links[] = array(
912          "href" => "../scr/tab.php?obj=parcelle",      "href" => "../scr/tab.php?obj=parcelle",
913          "class" => "parcelle",      "class" => "parcelle",
914          "title" => _("parcelle"),      "title" => _("parcelle"),
915          "right" => "parcelle"      "right" => array("parcelle", "parcelle_tab"),
916      ));      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
917    );
918    array_push($links,  //
919      array(  $links[] = array(
920          "href" => "../scr/tab.php?obj=proprietaire",      "href" => "../scr/tab.php?obj=proprietaire",
921          "class" => "proprietaire",      "class" => "proprietaire",
922          "title" => _("proprietaire"),      "title" => _("proprietaire"),
923          "right" => "proprietaire"      "right" => array("proprietaire", "proprietaire_tab"),
924      ));      "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
925    );
926    //
927    $links[] = array(
928          "class" => "category",
929    // servitudes      "title" => _("servitudes"),
930    array_push($links,      "right" => array(
931      array(          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
932          "title" => "<hr/>",          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
933          "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
934      ));      ),
935      array_push($links,  );
936      array(  //
937          "href" => "../scr/tab.php?obj=pos",  $links[] = array(
938          "class" => "pos",      "title" => "<hr/>",
939          "title" => _("pos"),      "right" => array(
940          "right" => "pos"          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
941      ));          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
942    array_push($links,          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
943      array(      ),
944          "href" => "../scr/tab.php?obj=servitude_surfacique",  );
945          "class" => "servitude",  //
946          "title" => _("servitude")." "._("surfacique"),  $links[] = array(
947          "right" => "servitude"      "href" => "../scr/tab.php?obj=pos",
948      ));      "class" => "pos",
949    array_push($links,      "title" => _("pos"),
950      array(      "right" => array("pos", "pos_tab"),
951          "href" => "../scr/tab.php?obj=servitude_ligne",      "open" => array("tab.php|pos", "form.php|pos", ),
952          "class" => "servitude",  );
953          "title" => _("servitude")." "._("ligne"),  //
954          "right" => "servitude"  $links[] = array(
955      ));      "href" => "../scr/tab.php?obj=servitude_surfacique",
956    array_push($links,      "class" => "servitude_surfacique",
957      array(      "title" => _("servitude_surfacique"),
958          "href" => "../scr/tab.php?obj=servitude_point",      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
959          "class" => "servitude",      "open" => array(
960          "title" => _("servitude")." "._("point"),          "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
961          "right" => "servitude"      ),
962      ));  );
963    //
964    array_push($links,  $links[] = array(
965      array(      "href" => "../scr/tab.php?obj=servitude_ligne",
966          "href" => "../scr/tab.php?obj=parcelle_lot",      "class" => "servitude_ligne",
967          "class" => "parcelle",      "title" => _("servitude_ligne"),
968          "title" => _("parcelle")." "._("lot"),      "right" => array("servitude_ligne", "servitude_ligne_tab"),
969          "right" => "parcelle_lot"      "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
970      ));  );
971    //
972    $links[] = array(
973        "href" => "../scr/tab.php?obj=servitude_point",
974        "class" => "servitude_point",
975        "title" => _("servitude_point"),
976        "right" => array("servitude_point", "servitude_point_tab"),
977        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
978    );
979    //
980    $links[] = array(
981        "href" => "../scr/tab.php?obj=parcelle_lot",
982        "class" => "parcelle_lot",
983        "title" => _("parcelle_lot"),
984        "right" => array("parcelle_lot", "parcelle_lot_tab"),
985        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
986    );
987    //
988  $rubrik['links'] = $links;  $rubrik['links'] = $links;
989  array_push($menu, $rubrik);  //
990    $menu[] = $rubrik;
991    // }}}
992    
993  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
994  //  //
995  $rubrik = array(  $rubrik = array(
996      "title" => _("Administration"),      "title" => _("administration"),
997      "class" => "administration",      "class" => "administration",
998      "right" => "menu_administration",      "right" => "menu_administration",
999  );  );
1000  //  //
1001  $links = array();  $links = array();
1002  array_push($links,  //
1003      array(  $links[] = array(
1004          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
1005          "class" => "collectivite",      "class" => "collectivite",
1006          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
1007          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
1008      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
1009  array_push($links,  );
1010      array(  //
1011          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
1012          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
1013          "title" => _("om_parametre"),      "class" => "parametre",
1014          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
1015      ));      "right" => array("om_parametre", "om_parametre_tab", ),
1016        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
1017    );
1018  array_push($links,  //
1019      array(  $links[] = array(
1020          "title" => "<hr/>",      "class" => "category",
1021          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
1022      ));      "right" => array(
1023  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1024      array(          "om_droit", "om_droit_tab", "directory",
1025          "href" => "../scr/tab.php?obj=om_profil",      ),
1026          "class" => "profil",  );
1027          "title" => _("om_profil"),  //
1028          "right" => "om_profil_tab"  $links[] = array(
1029      ));      "title" => "<hr/>",
1030  array_push($links,      "right" => array(
1031      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1032          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
1033          "class" => "droit",      ),
1034          "title" => _("om_droit"),  );
1035          "right" => "om_droit_multi"  //
1036      ));  $links[] = array(
1037  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
1038      array(      "class" => "profil",
1039          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
1040          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
1041          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
1042          "right" => "om_utilisateur_tab"  );
1043      ));  //
1044  array_push($links,  $links[] = array(
1045      array(      "href" => "../scr/tab.php?obj=om_droit",
1046          "title" => "<hr/>",      "class" => "droit",
1047          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
1048      ));      "right" => array("om_droit", "om_droit_tab", ),
1049  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
1050      array(  );
1051          "href" => "../scr/tab.php?obj=om_etat",  //
1052          "class" => "etat",  $links[] = array(
1053          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
1054          "right" => "om_etat_tab"      "class" => "utilisateur",
1055      ));      "title" => _("om_utilisateur"),
1056  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
1057      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
1058          "href" => "../scr/tab.php?obj=om_sousetat",  );
1059          "class" => "sousetat",  //
1060          "title" => _("om_sousetat"),  $links[] = array(
1061          "right" => "om_sousetat_tab"      "title" => "<hr/>",
1062      ));      "right" => array("directory", ),
1063  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1064      array(  );
1065          "href" => "../scr/tab.php?obj=om_lettretype",  //
1066          "class" => "lettretype",  $links[] = array(
1067          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
1068          "right" => "om_lettretype_tab"      "class" => "directory",
1069      ));      "title" => _("annuaire"),
1070  array_push($links,      "right" => array("directory", ),
1071      array(      "open" => array("directory.php|", ),
1072          "href" => "../scr/tab.php?obj=om_sig_point",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1073          "class" => "om_sig_point",  );
1074          "title" => _("om SIG"),  //
1075          "right" => "om_sig_point_tab"  $links[] = array(
1076      ));      "class" => "category",
1077  array_push($links,      "title" => _("tableaux de bord"),
1078      array(      "right" => array(
1079          "href" => "../scr/tab.php?obj=om_widget",          "om_widget", "om_widget_tab", "om_dashboard", "om_dashboard_tab",
1080          "class" => "om_widget",      ),
1081          "title" => _("widget"),  );
1082          "right" => "om_widget"  //
1083      ));  $links[] = array(
1084  array_push($links,      "title" => "<hr/>",
1085      array(      "right" => array(
1086          "title" => "<hr/>",          "om_widget", "om_widget_tab", "om_dashboard", "om_dashboard_tab",
1087          "right" => array("import"),      ),
1088      ));  );
1089  array_push($links,  //
1090      array(  $links[] = array(
1091          "href" => "../scr/import.php",      "href" => "../scr/tab.php?obj=om_widget",
1092          "class" => "import",      "class" => "om_widget",
1093          "title" => _("Import"),      "title" => _("om_widget"),
1094          "right" => "import"      "right" => array("om_widget", "om_widget_tab", ),
1095      ));      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
1096    );
1097  array_push($links,  //
1098      array(  $links[] = array(
1099          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=om_dashboard",
1100          "right" => array("gen"),      "class" => "om_dashboard",
1101      ));      "title" => _("om_dashboard"),
1102  array_push($links,      "right" => array( ),
1103      array(      "open" => array("tab.php|om_dashboard", "form.php|om_dashboard", ),
1104          "title" => _("Generateur"),  );
1105          "href" => "../scr/gen.php",  //
1106          "class" => "generator",  $links[] = array(
1107          "right" => "gen",      "class" => "category",
1108      ));      "title" => _("sig"),
1109        "right" => array(
1110            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
1111        ),
1112    );
1113    //
1114    $links[] = array(
1115        "title" => "<hr/>",
1116        "right" => array(
1117            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
1118        ),
1119    );
1120    //
1121    $links[] = array(
1122        "href" => "../scr/tab.php?obj=om_sig_map",
1123        "class" => "om_sig_map",
1124        "title" => _("om_sig_map"),
1125        "right" => array("om_sig_map", "om_sig_map_tab", ),
1126        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
1127    );
1128    //
1129    $links[] = array(
1130        "href" => "../scr/tab.php?obj=om_sig_wms",
1131        "class" => "om_sig_wms",
1132        "title" => _("om_sig_wms"),
1133        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
1134        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
1135    );
1136    //
1137    $links[] = array(
1138        "class" => "category",
1139        "title" => _("options avancees"),
1140        "right" => array("import", "gen", ),
1141    );
1142    //
1143    $links[] = array(
1144        "title" => "<hr/>",
1145        "right" => array("import", ),
1146    );
1147    //
1148    $links[] = array(
1149        "href" => "../scr/import.php",
1150        "class" => "import",
1151        "title" => _("Import"),
1152        "right" => array("import", ),
1153        "open" => array("import.php|", ),
1154    );
1155    //
1156    $links[] = array(
1157        "title" => "<hr/>",
1158        "right" => array("gen", ),
1159    );
1160    //
1161    $links[] = array(
1162        "title" => _("Generateur"),
1163        "href" => "../scr/gen.php",
1164        "class" => "generator",
1165        "right" => array("gen", ),
1166        "open" => array(
1167            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
1168            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
1169            "genimport.php|",
1170        ),
1171    );
1172    //
1173  $rubrik['links'] = $links;  $rubrik['links'] = $links;
1174  array_push($menu, $rubrik);  //
1175    $menu[] = $rubrik;
1176  // }}}  // }}}
1177    
1178  ?>  ?>

Legend:
Removed from v.203  
changed lines
  Added in v.1219

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26