/[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 11 by fraynaud, Mon Feb 28 20:15:19 2011 UTC revision 2113 by vpihour, Thu Jul 25 13:34:24 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" => _("Application"),      "title" => _("Autorisation"),
17      "class" => "application",      "class" => "autorisation",
18      "right" => "menu_application",      "right" => "menu_autorisation",
19  );  );
20    //
21  $links = array();  $links = array();
 // *** 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=dossier",  
         "class" => "dossier",  
         "title" => _("dossier"),  
         "right" => "dossier"  
     ));  
 */  
   
   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"  
     ));  
   
22    
23    $links[] = array(
24        "href" => "../scr/tab.php?obj=dossier_autorisation",
25        "class" => "dossier_autorisation",
26        "title" => _("Dossiers d'autorisation"),
27        "right" => array("dossier_autorisation", "dossier_autorisation_tab", ),
28        "open" => array("tab.php|dossier_autorisation", "dossier_autorisation.php|", ),
29    );
30    //
31  $rubrik['links'] = $links;  $rubrik['links'] = $links;
32  array_push($menu, $rubrik);  //
33    $menu[] = $rubrik;
34    // }}}
35    
36  // {{{ Rubrique EXPORT  // {{{ Rubrique GUICHET UNIQUE
37    //
38  $rubrik = array(  $rubrik = array(
39      "title" => _("Export"),      "title" => _("Guichet Unique"),
40        "class" => "guichet_unique",
41        "right" => "menu_guichet_unique",
42    );
43    //
44    $links = array();
45    //
46    $links[] = array(
47        "href" => "../scr/dashboard.php",
48        "class" => "tableau-de-bord",
49        "title" => _("tableau de bord"),
50        "open" => array("dashboard.php|",),
51    );
52    //
53    $links[] = array(
54        "class" => "category",
55        "title" => _("nouvelle demande"),
56        "right" => array(
57            "demande_nouveau_dossier_ajouter",
58            "demande_dossier_existant_ajouter", "demande_dossier_existant_tab",
59            "demande_consulter","demande_tab",
60        ),
61    );
62    $links[] = array(
63        "title" => "<hr/>",
64        "right" => array(
65            "demande_nouveau_dossier_ajouter",
66            "demande_dossier_existant_ajouter", "demande_dossier_existant_tab",
67        ),
68    );
69    $links[] = array(
70        "href" => "../scr/form.php?obj=demande_nouveau_dossier&amp;action=0&amp;advs_id=&amp;tricol=&amp;valide=&amp;retour=tab&amp;new=",
71        "class" => "nouveau-dossier",
72        "title" => _("nouveau dossier"),
73        "right" => array(
74            "demande_nouveau_dossier_ajouter",
75        ),
76        "open" => array("form.php|demande_nouveau_dossier",),
77    );
78    $links[] = array(
79        "href" => "../scr/tab.php?obj=demande_dossier_existant",
80        "class" => "dossier-existant",
81        "title" => _("dossier existant"),
82        "right" => array(
83            "demande_dossier_existant_ajouter","demande_dossier_existant_tab",
84        ),
85        "open" => array("tab.php|demande_dossier_existant", "form.php|demande_dossier_existant"),
86    );
87    $links[] = array(
88        "title" => "<hr/>",
89        "right" => array(
90            "demande_consulter", "demande_tab"
91        ),
92    );
93    $links[] = array(
94        "href" => "../scr/tab.php?obj=demande",
95        "class" => "pdf",
96        "title" => _("recepisse"),
97        "right" => array(
98            "demande_consulter", "demande_tab"
99        ),
100        "open" => array("tab.php|demande","form.php|demande"),
101    );
102    $links[] = array(
103        "title" => "<hr/>",
104        "right" => array(
105            "petitionnaire_frequent_consulter", "petitionnaire_frequent_tab"
106        ),
107    );
108    $links[] = array(
109        "href" => "../scr/tab.php?obj=petitionnaire_frequent",
110        "class" => "petitionnaire_frequent",
111        "title" => _("petitionnaire_frequent"),
112        "right" => array(
113            "petitionnaire_frequent_consulter", "petitionnaire_frequent_tab"
114        ),
115        "open" => array("tab.php|petitionnaire_frequent","form.php|petitionnaire_frequent"),
116    );
117    //
118    $links[] = array(
119        "class" => "category",
120        "title" => _("affichage reglementaire"),
121        "right" => array(
122            "affichage_reglementaire_registre",
123            "affichage_reglementaire_attestation",
124        ),
125    );
126    $links[] = array(
127        "title" => "<hr/>",
128        "right" => array(
129            "affichage_reglementaire_registre",
130            "affichage_reglementaire_attestation",
131        ),
132    );
133    $links[] = array(
134        "href" => "../app/affichage_reglementaire_registre.php",
135        "class" => "edition",
136        "title" => _("registre"),
137        "right" => array(
138            "affichage_reglementaire_registre",
139        ),
140        "open" => "affichage_reglementaire_registre.php|",
141    );
142    $links[] = array(
143        "href" => "../app/affichage_reglementaire_attestation.php",
144      "class" => "edition",      "class" => "edition",
145      "right" => "menu_export",      "title" => _("attestation"),
146        "right" => array(
147            "affichage_reglementaire_attestation",
148        ),
149        "open" => "affichage_reglementaire_attestation.php|",
150  );  );
151    //
152    $rubrik['links'] = $links;
153    //
154    $menu[] = $rubrik;
155    // }}}
156    
157    // {{{ Rubrique INSTRUCTION
158    //
159    $rubrik = array(
160        "title" => _("instruction"),
161        "class" => "instruction",
162        "right" => "menu_instruction",
163    );
164    //
165  $links = array();  $links = array();
166  array_push($links,  //
167      array(  $links[] = array(
168          "href" => "../scr/edition.php",      "href" => "../scr/dashboard.php",
169          "class" => "edition",      "class" => "tableau-de-bord",
170          "title" => _("Edition"),      "title" => _("tableau de bord"),
171          "right" => "edition"      "open" => array("dashboard.php|",),
172      ));  );
173  array_push($links,  // Catégorie DOSSIERS D'INSTRUCTION
174      array(  $links[] = array(
175          "href" => "../scr/reqmo.php",      "class" => "category",
176          "class" => "reqmo",      "title" => _("dossiers d'instruction"),
177          "title" => _("Requetes memorisees"),      "right" => array(
178          "right" => "reqmo"          "dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab",
179      ));          "dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab",
180            "dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab",
181            "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
182            "dossier_instruction", "dossier_instruction_tab",
183            "PC_modificatif", "PC_modificatif_tab",
184        ),
185    );
186    $links[] = array(
187        "title" => "<hr/>",
188        "right" => array(
189            "dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab",
190            "dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab",
191        ),
192    );
193    //
194    $links[] = array(
195        "href" => "../scr/tab.php?obj=dossier_instruction_mes_encours",
196        "class" => "dossier_instruction_mes_encours",
197        "title" => _("mes encours"),
198        "right" => array("dossier_instruction_mes_encours", "dossier_instruction_mes_encours_tab", ),
199        "open" => array("tab.php|dossier_instruction_mes_encours", "form.php|dossier_instruction_mes_encours", ),
200    );
201    //
202    $links[] = array(
203        "href" => "../scr/tab.php?obj=dossier_instruction_tous_encours",
204        "class" => "dossier_instruction_tous_encours",
205        "title" => _("tous les encours"),
206        "right" => array("dossier_instruction_tous_encours", "dossier_instruction_tous_encours_tab", ),
207        "open" => array("tab.php|dossier_instruction_tous_encours", "form.php|dossier_instruction_tous_encours", ),
208    );
209    //
210    $links[] = array(
211        "title" => "<hr/>",
212        "right" => array(
213            "dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab",
214            "dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab",
215        ),
216    );
217    //
218    $links[] = array(
219        "href" => "../scr/tab.php?obj=dossier_instruction_mes_clotures",
220        "class" => "dossier_instruction_mes_clotures",
221        "title" => _("mes clotures"),
222        "right" => array("dossier_instruction_mes_clotures", "dossier_instruction_mes_clotures_tab", ),
223        "open" => array("tab.php|dossier_instruction_mes_clotures", "form.php|dossier_instruction_mes_clotures", ),
224    );
225    //
226    $links[] = array(
227        "href" => "../scr/tab.php?obj=dossier_instruction_tous_clotures",
228        "class" => "dossier_instruction_tous_clotures",
229        "title" => _("tous les clotures"),
230        "right" => array("dossier_instruction_tous_clotures", "dossier_instruction_tous_clotures_tab", ),
231        "open" => array("tab.php|dossier_instruction_tous_clotures", "form.php|dossier_instruction_tous_clotures", ),
232    );
233    //
234    $links[] = array(
235        "title" => "<hr/>",
236        "right" => array(
237            "dossier_instruction", "dossier_instruction_tab",
238        ),
239    );
240    //
241    $links[] = array(
242        "href" => "../scr/tab.php?obj=dossier_instruction",
243        "class" => "dossier_instruction_recherche",
244        "title" => _("recherche"),
245        "right" => array("dossier_instruction", "dossier_instruction_tab", ),
246        "open" => array("tab.php|dossier_instruction", "form.php|dossier_instruction", ),
247    );
248    
249    // Catégorier Qualification
250    $links[] = array(
251        "class" => "category",
252        "title" => _("qualification"),
253        "right" => array("dossier_qualifier", "architecte_frequent",),
254    );
255    //
256    $links[] = array(
257        "title" => "<hr/>",
258        "right" => array("dossier_qualifier", "architecte_frequent", ),
259    );
260    //
261    $links[] = array(
262        "href" => "../scr/tab.php?obj=dossier_qualifier",
263        "class" => "dossier_qualifier",
264        "title" => _("dossiers a qualifier"),
265        "right" => array("dossier_qualifier", "dossier_qualifier_tab", ),
266        "open" => array("tab.php|dossier_qualifier", "form.php|dossier_qualifier", ),
267    );
268    //
269    $links[] = array(
270        "href" => "../scr/tab.php?obj=architecte_frequent",
271        "class" => "architecte_frequent",
272        "title" => _("architecte_frequent"),
273        "right" => array("architecte_frequent", "architecte_frequent_tab", ),
274        "open" => array("tab.php|architecte_frequent", "form.php|architecte_frequent", ),
275    );
276    // Catégorie CONSULTATIONS
277    $links[] = array(
278        "class" => "category",
279        "title" => _("consultations"),
280        "right" => array("consultation_mes_retours", "consultation_tous_retours", ),
281    );
282    $links[] = array(
283        "title" => "<hr/>",
284        "right" => array("consultation_mes_retours", "consultation_tous_retours", ),
285    );
286    $links[] = array(
287        "href" => "../scr/tab.php?obj=consultation_mes_retours",
288        "class" => "consultation_mes_retours",
289        "title" => _("Mes retours"),
290        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
291        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
292    );
293    $links[] = array(
294        "href" => "../scr/tab.php?obj=consultation_tous_retours",
295        "class" => "consultation_tous_retours",
296        "title" => _("Tous les retours"),
297        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
298        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
299    );
300    // Catégorie MESSAGES
301    $links[] = array(
302        "class" => "category",
303        "title" => _("Messages"),
304        "right" => array("messages_mes_retours", "messages_tous_retours"),
305        "parameters" => array("option_ERP" => "true", ),
306    );
307    //
308    $links[] = array(
309        "title" => "<hr/>",
310        "right" => array("messages_mes_retours", "messages_tous_retours"),
311        "parameters" => array("option_ERP" => "true", ),
312    );
313    //
314    $links[] = array(
315        "href" => "../scr/tab.php?obj=messages_mes_retours",
316        "class" => "messages_mes_retours",
317        "title" => _("Mes messages"),
318        "right" => array("messages_mes_retours", "messages_mes_retours_tab", ),
319        "open" => array("tab.php|messages_mes_retours", "form.php|messages_mes_retours", ),
320        "parameters" => array("option_ERP" => "true", ),
321    );
322    //
323    $links[] = array(
324        "href" => "../scr/tab.php?obj=messages_tous_retours",
325        "class" => "messages_tous_retours",
326        "title" => _("Tous les messages"),
327        "right" => array("messages_tous_retours", "messages_tous_retours_tab", ),
328        "open" => array("tab.php|messages_tous_retours", "form.php|messages_tous_retours", ),
329        "parameters" => array("option_ERP" => "true", ),
330    );
331    // Catégorie COMMISSIONS
332    $links[] = array(
333        "class" => "category",
334        "title" => _("commissions"),
335        "right" => array(
336            "commission_mes_retours", "commission_mes_retours_tab",
337            "commission_tous_retours", "commission_tous_retours_tab",
338        ),
339    );
340    $links[] = array(
341        "title" => "<hr/>",
342        "right" => array(
343            "commission_mes_retours", "commission_mes_retours_tab",
344            "commission_tous_retours", "commission_tous_retours_tab",
345        ),
346    );
347    $links[] = array(
348        "href" => "../scr/tab.php?obj=commission_mes_retours",
349        "class" => "commission_mes_retours",
350        "title" => _("Mes retours"),
351        "right" => array("commission_mes_retours", "commission_mes_retours_tab", ),
352        "open" => array("tab.php|commission_mes_retours", "form.php|commission_mes_retours", ),
353    );
354    $links[] = array(
355        "href" => "../scr/tab.php?obj=commission_tous_retours",
356        "class" => "commission_tous_retours",
357        "title" => _("Tous les retours"),
358        "right" => array("commission_tous_retours", "commission_tous_retours_tab", ),
359        "open" => array("tab.php|commission_tous_retours", "form.php|commission_tous_retours", ),
360    );
361    
362    //
363  $rubrik['links'] = $links;  $rubrik['links'] = $links;
364  array_push($menu, $rubrik);  //
365    $menu[] = $rubrik;
366  // }}}  // }}}
367    
368  // {{{ Rubrique TRAITEMENT  // {{{ Rubrique SUIVI
369    //
370    $rubrik = array(
371        "title" => _("Suivi"),
372        "class" => "suivi",
373        "right" => "menu_suivi",
374    );
375    //
376    $links = array();
377    //
378    $links[] = array(
379        "href" => "../scr/dashboard.php",
380        "class" => "tableau-de-bord",
381        "title" => _("tableau de bord"),
382        "open" => array("dashboard.php|",),
383    );
384    $links[] = array(
385        "class" => "category",
386        "title" => _("suivi des pieces"),
387        "right" => array(
388            "suivi_retours_de_consultation", "suivi_mise_a_jour_des_dates",
389            "suivi_envoi_lettre_rar", "suivi_bordereaux",
390        ),
391    );
392    //
393    $links[] = array(
394        "title" => "<hr/>",
395        "right" => array(
396            "suivi_retours_de_consultation", "suivi_mise_a_jour_des_dates",
397            "suivi_envoi_lettre_rar", "suivi_bordereaux",
398        ),
399    );
400    //
401    $links[] = array(
402        "href" => "../app/suivi_retours_de_consultation.php",
403        "class" => "consultation-retour",
404        "title" => _("retours de consultation"),
405        "right" => array(
406            "suivi_retours_de_consultation",
407        ),
408        "open" => array("suivi_retours_de_consultation.php|", "form.php|consultation", ),
409    );
410    //
411    $links[] = array(
412        "title" => "<hr/>",
413        "right" => array(
414            "suivi_mise_a_jour_des_dates",
415        ),
416    );
417    //
418    $links[] = array(
419        "href" => "../app/suivi_mise_a_jour_des_dates.php",
420        "class" => "suivi_mise_a_jour_des_dates",
421        "title" => _("Mise a jour des dates"),
422        "right" => array("suivi_mise_a_jour_des_dates", ),
423        "open" => array("suivi_mise_a_jour_des_dates.php|"),
424    );
425    //
426    $links[] = array(
427        "title" => "<hr/>",
428        "right" => array(
429            "suivi_envoi_lettre_rar",
430        ),
431    );
432    //
433    $links[] = array(
434        "href" => "../app/suivi_envoi_lettre_rar.php",
435        "class" => "edition",
436        "title" => _("envoi lettre RAR"),
437        "right" => array("suivi_envoi_lettre_rar", ),
438        "open" => array("suivi_envoi_lettre_rar.php|"),
439    );
440    //
441    $links[] = array(
442        "title" => "<hr/>",
443        "right" => array(
444            "suivi_bordereaux",
445        ),
446    );
447    //
448    $links[] = array(
449        "href" => "../app/suivi_bordereaux.php",
450        "class" => "edition",
451        "title" => _("Bordereaux"),
452        "right" => array("suivi_bordereaux", ),
453        "open" => array("suivi_bordereaux.php|"),
454    );
455    // Catégorie COMMISSIONS
456    $links[] = array(
457        "class" => "category",
458        "title" => _("commissions"),
459        "right" => array(
460            "commission", "commission_tab",
461            "commission_demandes_passage", "commission_demandes_passage_tab",
462        ),
463    );
464    //
465    $links[] = array(
466        "title" => "<hr/>",
467        "right" => array(
468            "commission", "commission_tab",
469            "commission_demandes_passage", "commission_demandes_passage_tab",
470        ),
471    );
472    //
473    $links[] = array(
474        "href" => "../scr/tab.php?obj=commission",
475        "class" => "commissions",
476        "title" => _("gestion"),
477        "right" => array("commission", ),
478        "open" => array("tab.php|commission", "form.php|commission", ),
479    );
480    //
481    $links[] = array(
482        "href" => "../scr/tab.php?obj=commission_demandes_passage",
483        "class" => "commissions-demande-passage",
484        "title" => _("demandes"),
485        "right" => array("commission_demandes_passage", ),
486        "open" => array("tab.php|commission_demandes_passage", "form.php|commission_demandes_passage", ),
487    );
488    //
489    $rubrik['links'] = $links;
490    //
491    $menu[] = $rubrik;
492    // }}}
493    
494    // {{{ Rubrique DEMANDES D'AVIS
495    //
496  $rubrik = array(  $rubrik = array(
497      "title" => _("Traitement"),      "title" => _("Demandes d'avis"),
498      "class" => "traitement",      "class" => "demande_avis",
499      "right" => "menu_traitement",      "right" => "menu_demande_avis",
500  );  );
501    //
502  $links = array();  $links = array();
503  // *** TRAITEMENT ***  //
504  // inserez le lien d acces au traitement  $links[] = array(
505  // ========================================================================      "href" => "../scr/dashboard.php",
506  /*      "class" => "tableau-de-bord",
507   array_push($links,      "title" => _("tableau de bord"),
508      array(      "open" => array("dashboard.php|",),
509          "href" => "../trt/nom_du_traitement.php",  );
510          "class" => "traitement",  //
511          "title" => _("Traitement"),  $links[] = array(
512          "right" => "traitement"      "title" => "<hr/>",
513      ));      "right" => array(
514  */          "demande_avis_encours", "demande_avis_encours_tab",
515  // ========================================================================          "demande_avis_passee", "demande_avis_passee_tab",
516            "demande_avis", "demande_avis_tab",
517        ),
518    );
519    //
520    $links[] = array(
521        "href" => "../scr/tab.php?obj=demande_avis_encours",
522        "class" => "demande_avis_encours",
523        "title" => _("Demandes en cours"),
524        "right" => array("demande_avis_encours", "demande_avis_encours_tab", ),
525        "open" => array("tab.php|demande_avis_encours", "form.php|demande_avis_encours", ),
526    );
527    
528    $links[] = array(
529        "href" => "../scr/tab.php?obj=demande_avis_passee",
530        "class" => "demande_avis_passee",
531        "title" => _("Demandes passees"),
532        "right" => array("demande_avis_passee", "demande_avis_passee_tab", ),
533        "open" => array("tab.php|demande_avis_passee", "form.php|demande_avis_passee", ),
534    );
535    
536    $links[] = array(
537        "href" => "../scr/tab.php?obj=demande_avis",
538        "class" => "demande_avis",
539        "title" => _("Exports"),
540        "right" => array("demande_avis", "demande_avis_tab", ),
541        "open" => array("tab.php|demande_avis", "form.php|demande_avis", ),
542    );
543    
544    //
545  $rubrik['links'] = $links;  $rubrik['links'] = $links;
546  array_push($menu, $rubrik);  //
547    $menu[] = $rubrik;
548  // }}}  // }}}
549    
550    
551    // Commentaire de la rubrique EXPORT qui n'est pas prévue d'être opérationnelle
552    // dans cette version
553    // {{{ Rubrique EXPORT
554    //
555    $rubrik = array(
556       "title" => _("export"),
557       "class" => "edition",
558       "right" => "menu_export",
559    );
560    //
561    $links = array();
562    // //
563    // $links[] = array(
564    //    "href" => "../scr/edition.php",
565    //    "class" => "edition",
566    //    "title" => _("edition"),
567    //    "right" => "edition",
568    //    "open" => "edition.php|",
569    // );
570    // //
571    // $links[] = array(
572    //    "href" => "../app/edition_p.php",
573    //    "class" => "edition",
574    //    "title" => _("edition date depot"),
575    //    "right" => "edition_p",
576    //    "open" => "edition_p.php|",
577    // );
578    // //
579    // $links[] = array(
580    //    "href" => "../app/edition_d.php",
581    //    "class" => "edition",
582    //    "title" => _("edition date decision"),
583    //    "right" => "edition_d",
584    //    "open" => "edition_d.php|",
585    // );
586    // //
587    // $links[] = array(
588    //    "title" => "<hr/>",
589    //    "right" => array("reqmo", "export_sitadel", ),
590    // );
591    // //
592    // $links[] = array(
593    //    "href" => "../scr/reqmo.php",
594    //    "class" => "reqmo",
595    //    "title" => _("requetes memorisees"),
596    //    "right" => "reqmo",
597    //    "open" => array("reqmo.php|", "requeteur.php|", ),
598    // );
599    //
600    $links[] = array(
601       "href" => "../app/sitadel.php",
602       "class" => "reqmo",
603       "title" => _("export sitadel"),
604       "right" => "export_sitadel",
605       "open" => "sitadel.php|",
606    );
607    //
608    $rubrik['links'] = $links;
609    //
610    $menu[] = $rubrik;
611    // }}}
612    
 // {{{  Rubrique parametrage de l'application  
613    
614    // {{{ Rubrique PARAMETRAGE
615    //
616  $rubrik = array(  $rubrik = array(
617      "title" => _("Parametrage"),      "title" => _("parametrage dossiers"),
618      "class" => "parametrage",      "class" => "parametrage",
619      "right" => "menu_parametrage",      "right" => "menu_parametrage",
620  );  );
621    //
622  $links = array();  $links = array();
623  // *** TABLES DE PARAMETRAGE ***  //
624  // inserer ici vos tables de parametres  $links[] = array(
625  // ========================================================================      "class" => "category",
626  /*      "title" => _("dossiers"),
627    array_push($links,      "right" => array(
628      array(          "dossier_autorisation_type", "dossier_autorisation_type_tab",
629          "href" => "../scr/tab.php?obj=nom_table",          "dossier_autorisation_type_detaille",
630          "class" => "nom_table",          "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
631          "title" => _("nom_table"),          "dossier_instruction_type_tab", "cerfa", "cerfa_tab",
632          "right" => "nom_table"      ),
633      ));  );
634  */  //
635  // ========================================================================  $links[] = array(
636        "title" => "<hr/>",
637        "right" => array(
638  // param gaux          "cerfa", "cerfa_tab",
639        ),
640    array_push($links,  );
641      array(  //
642          "href" => "../scr/tab.php?obj=architecte",  $links[] = array(
643          "class" => "architecte",      "href" => "../scr/tab.php?obj=cerfa",
644          "title" => _("architecte"),      "class" => "cerfa",
645          "right" => "architecte"      "title" => _("cerfa"),
646      ));      "right" => array("cerfa", "cerfa_tab", ),
647        "open" => array("tab.php|cerfa", "form.php|cerfa", ),
648    );
649    //
650    array_push($links,  $links[] = array(
651      array(      "title" => "<hr/>",
652          "href" => "../scr/tab.php?obj=service",      "right" => array(
653          "class" => "service",          "dossier_autorisation_type", "dossier_autorisation_type_tab",
654          "title" => _("service"),          "dossier_autorisation_type_detaille",
655          "right" => "service"          "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
656      ));          "dossier_instruction_type_tab",
657          ),
658    array_push($links,  );
659      array(  //
660          "href" => "../scr/tab.php?obj=travaux",  $links[] = array(
661          "class" => "travaux",      "href" => "../scr/tab.php?obj=dossier_autorisation_type",
662          "title" => _("travaux"),      "class" => "dossier_autorisation_type",
663          "right" => "travaux"      "title" => _("type DA"),
664      ));      "right" => array("dossier_autorisation_type", "dossier_autorisation_type_tab", ),
665        "open" => array("tab.php|dossier_autorisation_type", "form.php|dossier_autorisation_type", ),
666    array_push($links,  );
667      array(  //
668          "href" => "../scr/tab.php?obj=regle",  $links[] = array(
669          "class" => "regle",      "href" => "../scr/tab.php?obj=dossier_autorisation_type_detaille",
670          "title" => _("regle"),      "class" => "dossier_autorisation_type_detaille",
671          "right" => "regle"      "title" => _("type DA detaille"),
672      ));      "right" => array("dossier_autorisation_type_detaille", "dossier_autorisation_type_detaille_tab", ),
673        "open" => array("tab.php|dossier_autorisation_type_detaille", "form.php|dossier_autorisation_type_detaille", ),
674    array_push($links,  );
675      array(  //
676          "href" => "../scr/tab.php?obj=categorie_demandeur",  $links[] = array(
677          "class" => "categorie_demandeur",      "href" => "../scr/tab.php?obj=dossier_instruction_type",
678          "title" => _("categorie_demandeur"),      "class" => "dossier_instruction_type",
679          "right" => "categorie_demandeur"      "title" => _("type DI"),
680      ));      "right" => array("dossier_instruction_type", "dossier_instruction_type_tab", ),
681          "open" => array("tab.php|dossier_instruction_type", "form.php|dossier_instruction_type", ),
682    array_push($links,  );
683      array(  $links[] = array(
684          "href" => "../scr/tab.php?obj=destination",      "class" => "category",
685          "class" => "destination",      "title" => _("demandes"),
686          "title" => _("destination"),      "right" => array(
687          "right" => "destination"          "demande_type",
688      ));          "demande_type_tab", "demande_nature", "demande_nature_tab",
689        ),
690    array_push($links,  );
691      array(  //
692          "href" => "../scr/tab.php?obj=nature",  $links[] = array(
693          "class" => "nature",      "title" => "<hr/>",
694          "title" => _("nature"),      "right" => array(
695          "right" => "nature"          "demande_type",
696      ));          "demande_type_tab", "demande_nature", "demande_nature_tab",
697        ),
698  // workflows  );
699      array_push($links,  //
700      array(  $links[] = array(
701          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=demande_nature",
702          "right" => array("action_tab", "transition_tab", "etat_tab",      "class" => "demande_nature",
703                           "evenement_tab", "bible", "avis")      "title" => _("nature"),
704      ));      "right" => array("demande_nature", "demande_nature_tab", ),
705        "open" => array("tab.php|demande_nature", "form.php|demande_nature", ),
706    array_push($links,  );
707      array(  //
708          "href" => "../scr/tab.php?obj=action",  $links[] = array(
709          "class" => "action",      "href" => "../scr/tab.php?obj=demande_type",
710          "title" => _("action"),      "class" => "demande_type",
711          "right" => "action"      "title" => _("type"),
712      ));      "right" => array("demande_type", "demande_type_tab",),
713        "open" => array("tab.php|demande_type", "form.php|demande_type", ),
714    array_push($links,  );
715      array(  //
716          "href" => "../scr/tab.php?obj=transition",  $links[] = array(
717          "class" => "transition",      "class" => "category",
718          "title" => _("transition"),      "title" => _("workflows"),
719          "right" => "transition"      "right" => array(
720      ));          "workflows",
721              "action", "action_tab", "etat",
722      array_push($links,          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
723      array(          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
724          "href" => "../scr/tab.php?obj=etat",      ),
725          "class" => "etat",  );
726          "title" => _("etat"),  //
727          "right" => "etat"  $links[] = array(
728      ));      "title" => "<hr/>",
729        "right" => array(
730      array_push($links,          "workflows",
731        array(          "action", "action_tab", "etat",
732            "href" => "../scr/tab.php?obj=evenement",          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
733            "class" => "evenement",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
734            "title" => _("evenement"),      ),
735            "right" => "evenement"  );
736        ));  //
737        $links[] = array(
738        array_push($links,      "href" => "../app/workflows.php",
739      array(      "class" => "workflows",
740          "href" => "../scr/tab.php?obj=bible",      "title" => _("workflows"),
741          "class" => "bible",      "right" => array("workflows", ),
742          "title" => _("bible"),      "open" => array("workflows.php|", ),
743          "right" => "bible"  );
744      ));  //
745          $links[] = array(
746    array_push($links,      "title" => "<hr/>",
747      array(      "right" => array(
748          "href" => "../scr/tab.php?obj=avis",          "evenement", "evenement_tab",
749          "class" => "avis",      ),
750          "title" => _("avis"),  );
751          "right" => "avis"  //
752      ));  $links[] = array(
753        "href" => "../scr/tab.php?obj=evenement",
754  // cadastre interne      "class" => "evenement",
755      array_push($links,      "title" => _("evenement"),
756      array(      "right" => array("evenement", "evenement_tab", ),
757          "title" => "<hr/>",      "open" => array("tab.php|evenement", "form.php|evenement", ),
758          "right" => array("parcelle_tab", "proprietaire_tab", "civilite_tab", "pos_tab", "rivoli_tab")  );
759      ));  //
760    array_push($links,  $links[] = array(
761      array(      "title" => "<hr/>",
762          "href" => "../scr/tab.php?obj=parcelle",      "right" => array(
763          "class" => "parcelle",          "action", "action_tab", "etat",
764          "title" => _("parcelle"),          "etat_tab", "avis_decision",
765          "right" => "parcelle"          "avis_decision_tab",
766      ));      ),
767    );
768    array_push($links,  //
769      array(  $links[] = array(
770          "href" => "../scr/tab.php?obj=proprietaire",      "href" => "../scr/tab.php?obj=etat",
771          "class" => "proprietaire",      "class" => "workflow-etat",
772          "title" => _("proprietaire"),      "title" => _("etat"),
773          "right" => "proprietaire"      "right" => array("etat", "etat_tab", ),
774      ));      "open" => array("tab.php|etat", "form.php|etat", ),
775    );
776    array_push($links,  //
777      array(  $links[] = array(
778          "href" => "../scr/tab.php?obj=civilite",      "href" => "../scr/tab.php?obj=avis_decision",
779          "class" => "civilite",      "class" => "avis_decision",
780          "title" => _("civilite"),      "title" => _("avis decision"),
781          "right" => "civilite"      "right" => array("avis_decision", "avis_decision_tab", ),
782      ));      "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
783    );
784    array_push($links,  //
785      array(  $links[] = array(
786          "href" => "../scr/tab.php?obj=pos",      "href" => "../scr/tab.php?obj=action",
787          "class" => "pos",      "class" => "action",
788          "title" => _("pos"),      "title" => _("action"),
789          "right" => "pos"      "right" => array("action", "action_tab", ),
790      ));      "open" => array("tab.php|action", "form.php|action", ),
791      );
792    array_push($links,  //
793      array(  $links[] = array(
794          "href" => "../scr/tab.php?obj=rivoli",      "title" => "<hr/>",
795          "class" => "rivoli",      "right" => array(
796          "title" => _("rivoli"),          "bible", "bible_tab",
797          "right" => "rivoli"      ),
798      ));  );
799    //
800    $links[] = array(
801        "href" => "../scr/tab.php?obj=bible",
802        "class" => "bible",
803        "title" => _("bible"),
804        "right" => array("bible", "bible_tab", ),
805        "open" => array("tab.php|bible", "form.php|bible", ),
806    );
807    //
808    $links[] = array(
809        "class" => "category",
810        "title" => _("editions"),
811        "right" => array(
812            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
813            "om_lettretype", "om_lettretype_tab", "om_requete", "om_requete_tab",
814            "om_logo", "om_logo_tab",
815        ),
816    );
817    //
818    $links[] = array(
819        "title" => "<hr/>",
820        "right" => array(
821            "om_etat", "om_etat_tab", "om_lettretype", "om_lettretype_tab",
822        ),
823    );
824    //
825    $links[] = array(
826        "href" => "../scr/tab.php?obj=om_etat",
827        "class" => "om_etat",
828        "title" => _("om_etat"),
829        "right" => array("om_etat", "om_etat_tab", ),
830        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
831    );
832    //
833    $links[] = array(
834        "href" => "../scr/tab.php?obj=om_lettretype",
835        "class" => "om_lettretype",
836        "title" => _("om_lettretype"),
837        "right" => array("om_lettretype", "om_lettretype_tab"),
838        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
839    );
840    //
841    $links[] = array(
842        "title" => "<hr/>",
843        "right" => array(
844            "om_logo", "om_logo_tab",
845        ),
846    );
847    //
848    $links[] = array(
849        "href" => "../scr/tab.php?obj=om_logo",
850        "class" => "om_logo",
851        "title" => _("om_logo"),
852        "right" => array("om_logo", "om_logo_tab", ),
853        "open" => array("tab.php|om_logo", "form.php|om_logo", ),
854    );
855    //
856  $rubrik['links'] = $links;  $rubrik['links'] = $links;
857  array_push($menu, $rubrik);  //
858    $menu[] = $rubrik;
859    // }}}
860    
861    // {{{ Rubrique PARAMETRAGE
862    //
863    $rubrik = array(
864        "title" => _("parametrage"),
865        "class" => "parametrage",
866        "right" => "menu_parametrage",
867    );
868    //
869    $links = array();
870    //
871    $links[] = array(
872        "href" => "../scr/tab.php?obj=civilite",
873        "class" => "civilite",
874        "title" => _("civilite"),
875        "right" => array("civilite", "civilite_tab", ),
876        "open" => array("tab.php|civilite", "form.php|civilite", ),
877    );
878    //
879    $links[] = array(
880        "href" => "../scr/tab.php?obj=arrondissement",
881        "class" => "arrondissement",
882        "title" => _("arrondissement"),
883        "right" => array("arrondissement", "arrondissement_tab", ),
884        "open" => array("tab.php|arrondissement", "form.php|arrondissement", ),
885    );
886    //
887    $links[] = array(
888        "href" => "../scr/tab.php?obj=quartier",
889        "class" => "quartier",
890        "title" => _("quartier"),
891        "right" => array("quartier", "quartier_tab", ),
892        "open" => array("tab.php|quartier", "form.php|quartier", ),
893    );
894    //
895    $links[] = array(
896        "class" => "category",
897        "title" => _("Organisation"),
898        "right" => array(
899            "direction", "direction_tab", "division", "division_tab", "instructeur",
900            "instructeur_tab", "groupe", "groupe_tab", "genre", "genre_tab",
901            "signataire_arrete", "signataire_arrete_tab",
902        ),
903    );
904    $links[] = array(
905        "title" => "<hr/>",
906        "right" => array(
907            "direction", "direction_tab", "division", "division_tab", "instructeur",
908            "instructeur_tab", "groupe", "groupe_tab", "genre", "genre_tab",
909            "signataire_arrete", "signataire_arrete_tab",
910        ),
911    );
912    //
913    $links[] = array(
914        "href" => "../scr/tab.php?obj=genre",
915        "class" => "genre",
916        "title" => _("genre"),
917        "right" => array("genre", "genre_tab", ),
918        "open" => array("tab.php|genre", "form.php|genre", ),
919    );
920    //
921    $links[] = array(
922        "href" => "../scr/tab.php?obj=groupe",
923        "class" => "groupe",
924        "title" => _("groupe"),
925        "right" => array("groupe", "groupe_tab", ),
926        "open" => array("tab.php|groupe", "form.php|groupe", ),
927    );
928    //
929    $links[] = array(
930        "href" => "../scr/tab.php?obj=direction",
931        "class" => "direction",
932        "title" => _("direction"),
933        "right" => array("direction", "direction_tab", ),
934        "open" => array("tab.php|direction", "form.php|direction", ),
935    );
936    //
937    $links[] = array(
938        "href" => "../scr/tab.php?obj=division",
939        "class" => "division",
940        "title" => _("division"),
941        "right" => array("division", "division_tab", ),
942        "open" => array("tab.php|division", "form.php|division", ),
943    );
944    //
945    $links[] = array(
946        "href" => "../scr/tab.php?obj=instructeur",
947        "class" => "instructeur",
948        "title" => _("instructeur"),
949        "right" => array("instructeur", "instructeur_tab", ),
950        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
951    );
952    //
953    $links[] = array(
954        "href" => "../scr/tab.php?obj=signataire_arrete",
955        "class" => "signataire_arrete",
956        "title" => _("signataire arrete"),
957        "right" => array("signataire_arrete", "signataire_arrete", ),
958        "open" => array("tab.php|signataire_arrete", "form.php|signataire_arrete", ),
959    );
960    //
961    $links[] = array(
962        "class" => "category",
963        "title" => _("gestion des commissions"),
964        "right" => array(
965            "comission_type", "comission_type_tab",
966        ),
967    );
968    //
969    $links[] = array(
970        "title" => "<hr/>",
971        "right" => array(
972            "comission_type", "comission_type_tab",
973        ),
974    );
975    //
976    $links[] = array(
977        "href" => "../scr/tab.php?obj=commission_type",
978        "class" => "commission-type",
979        "title" => _("commission_type"),
980        "right" => array("commission_type", "commission_type_tab", ),
981        "open" => array("tab.php|commission_type", "form.php|commission_type", ),
982    );
983    //
984    $links[] = array(
985        "class" => "category",
986        "title" => _("gestion des consultations"),
987        "right" => array(
988            "avis_consultation", "avis_consultation_tab", "service", "service_tab",
989            "service_categorie", "service_categorie_tab",
990            "lien_service_service_categorie", "lien_service_service_categorie_tab",
991        ),
992    );
993    //
994    $links[] = array(
995        "title" => "<hr/>",
996        "right" => array(
997            "avis_consultation", "avis_consultation_tab", "service", "service_tab",
998            "service_categorie", "service_categorie_tab",
999            "lien_service_service_categorie", "lien_service_service_categorie_tab",
1000        ),
1001    );
1002    //
1003    $links[] = array(
1004        "href" => "../scr/tab.php?obj=avis_consultation",
1005        "class" => "avis_consultation",
1006        "title" => _("avis consultation"),
1007        "right" => array("avis_consultation", "avis_consultation_tab", ),
1008        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
1009    );
1010    //
1011    $links[] = array(
1012        "href" => "../scr/tab.php?obj=service",
1013        "class" => "service",
1014        "title" => _("service"),
1015        "right" => array("service", "service_tab", ),
1016        "open" => array("tab.php|service", "form.php|service", ),
1017    );
1018    $links[] = array(
1019        "href" => "../scr/tab.php?obj=service_categorie",
1020        "class" => "service_categorie",
1021        "title" => _("thematique des services"),
1022        "right" => array("service_categorie", "service_categorie_tab", ),
1023        "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
1024    );
1025    $links[] = array(
1026        "href" => "../scr/tab.php?obj=lien_service_service_categorie",
1027        "class" => "lien_service_service_categorie",
1028        "title" => _("Lien service / thematique"),
1029        "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
1030        "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
1031    );
1032    //
1033    $links[] = array(
1034        "class" => "category",
1035        "title" => _("Gestion des dossiers"),
1036        "right" => array(
1037            "dossier_autorisation_type", "dossier_autorisation_type_tab",
1038            "dossier_autorisation_type_detaille",
1039            "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
1040            "dossier_instruction_type_tab",
1041            "lien_evenement_dossier_autorisation_type",
1042            "lien_evenement_dossier_autorisation_type_tab",
1043            "autorite_competente", "autorite_competente_tab",
1044            "affectation_automatique", "affectation_automatique_tab",
1045        ),
1046    );
1047    //
1048    $links[] = array(
1049        "title" => "<hr/>",
1050        "right" => array(
1051            "dossier_autorisation_type", "dossier_autorisation_type_tab",
1052            "dossier_autorisation_type_detaille",
1053            "dossier_autorisation_type_detaille_tab", "dossier_instruction_type",
1054            "dossier_instruction_type_tab",
1055            "lien_evenement_dossier_autorisation_type",
1056            "lien_evenement_dossier_autorisation_type_tab",
1057            "autorite_competente", "autorite_competente_tab",
1058            "affectation_automatique", "affectation_automatique_tab",
1059            
1060        ),
1061    );
1062    //
1063    $links[] = array(
1064        "href" => "../scr/tab.php?obj=etat_dossier_autorisation",
1065        "class" => "etat_dossier_autorisation",
1066        "title" => _("etat dossiers autorisations"),
1067        "right" => array("etat_dossier_autorisation", "etat_dossier_autorisation_tab", ),
1068        "open" => array("tab.php|etat_dossier_autorisation", "form.php|etat_dossier_autorisation", ),
1069    );
1070    //
1071    $links[] = array(
1072        "href" => "../scr/tab.php?obj=lien_evenement_dossier_autorisation_type",
1073        "class" => "lien_evenement_dossier_autorisation_type",
1074        "title" => _("lien")." "._("evenement")." "._("dossier")." "._("autorisation")." "._("type"),
1075        "right" => array("lien_evenement_dossier_autorisation_type", "lien_evenement_dossier_autorisation_type_tab", ),
1076        "open" => array("tab.php|lien_evenement_dossier_autorisation_type", "form.php|lien_evenement_dossier_autorisation_type", ),
1077    );
1078    //
1079    $links[] = array(
1080        "href" => "../scr/tab.php?obj=affectation_automatique",
1081        "class" => "affectation_automatique",
1082        "title" => _("affectation automatique"),
1083        "right" => array("affectation_automatique", "affectation_automatique_tab", ),
1084        "open" => array("tab.php|affectation_automatique", "form.php|affectation_automatique", ),
1085    );
1086    //
1087    $links[] = array(
1088        "href" => "../scr/tab.php?obj=autorite_competente",
1089        "class" => "autorite_competente",
1090        "title" => _("autorite")." "._("competente"),
1091        "right" => array("autorite_competente", "autorite_competente_tab", ),
1092        "open" => array("tab.php|autorite_competente", "form.php|autorite_competente", ),
1093    );
1094    
1095    //
1096    $rubrik['links'] = $links;
1097    //
1098    $menu[] = $rubrik;
1099    // }}}
1100    
1101    // {{{ Rubrique SIG
1102    //
1103    $rubrik = array(
1104        "title" => _("sig"),
1105        "class" => "sig",
1106        "right" => "menu_sig",
1107        "parameters" => array("option_localisation" => "sig_interne", ),
1108    );
1109    //
1110    $links = array();
1111    //
1112    $links[] = array(
1113        "href" => "../scr/tab.php?obj=parcelle",
1114        "class" => "parcelle",
1115        "title" => _("parcelle"),
1116        "right" => array("parcelle", "parcelle_tab"),
1117        "open" => array("tab.php|parcelle", "form.php|parcelle", ),
1118        "parameters" => array("option_localisation" => "sig_interne", ),
1119    );
1120    //
1121    $links[] = array(
1122        "href" => "../scr/tab.php?obj=proprietaire",
1123        "class" => "proprietaire",
1124        "title" => _("proprietaire"),
1125        "right" => array("proprietaire", "proprietaire_tab"),
1126        "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
1127        "parameters" => array("option_localisation" => "sig_interne", ),
1128    );
1129    //
1130    $links[] = array(
1131        "class" => "category",
1132        "title" => _("servitudes"),
1133        "right" => array(
1134            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
1135            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
1136            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
1137        ),
1138        "parameters" => array("option_localisation" => "sig_interne", ),
1139    );
1140    //
1141    $links[] = array(
1142        "title" => "<hr/>",
1143        "right" => array(
1144            "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
1145            "servitude_ligne", "servitude_ligne_tab", "servitude_point",
1146            "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
1147        ),
1148        "parameters" => array("option_localisation" => "sig_interne", ),
1149    );
1150    //
1151    $links[] = array(
1152        "href" => "../scr/tab.php?obj=pos",
1153        "class" => "pos",
1154        "title" => _("pos"),
1155        "right" => array("pos", "pos_tab"),
1156        "open" => array("tab.php|pos", "form.php|pos", ),
1157        "parameters" => array("option_localisation" => "sig_interne", ),
1158    );
1159    //
1160    $links[] = array(
1161        "href" => "../scr/tab.php?obj=servitude_surfacique",
1162        "class" => "servitude_surfacique",
1163        "title" => _("servitude_surfacique"),
1164        "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
1165        "open" => array(
1166            "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
1167        ),
1168        "parameters" => array("option_localisation" => "sig_interne", ),
1169    );
1170    //
1171    $links[] = array(
1172        "href" => "../scr/tab.php?obj=servitude_ligne",
1173        "class" => "servitude_ligne",
1174        "title" => _("servitude_ligne"),
1175        "right" => array("servitude_ligne", "servitude_ligne_tab"),
1176        "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
1177        "parameters" => array("option_localisation" => "sig_interne", ),
1178    );
1179    //
1180    $links[] = array(
1181        "href" => "../scr/tab.php?obj=servitude_point",
1182        "class" => "servitude_point",
1183        "title" => _("servitude_point"),
1184        "right" => array("servitude_point", "servitude_point_tab"),
1185        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
1186        "parameters" => array("option_localisation" => "sig_interne", ),
1187    );
1188    //
1189    $links[] = array(
1190        "href" => "../scr/tab.php?obj=parcelle_lot",
1191        "class" => "parcelle_lot",
1192        "title" => _("parcelle_lot"),
1193        "right" => array("parcelle_lot", "parcelle_lot_tab"),
1194        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
1195        "parameters" => array("option_localisation" => "sig_interne", ),
1196    );
1197    //
1198    $rubrik['links'] = $links;
1199    //
1200    $menu[] = $rubrik;
1201    // }}}
1202    
1203  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
1204  //  //
1205  $rubrik = array(  $rubrik = array(
1206      "title" => _("Administration"),      "title" => _("administration"),
1207      "class" => "administration",      "class" => "administration",
1208      "right" => "menu_administration",      "right" => "menu_administration",
1209  );  );
1210  //  //
1211  $links = array();  $links = array();
1212  array_push($links,  //
1213      array(  $links[] = array(
1214          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
1215          "class" => "collectivite",      "class" => "collectivite",
1216          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
1217          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
1218      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
1219  array_push($links,  );
1220      array(  //
1221          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
1222          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
1223          "title" => _("om_parametre"),      "class" => "parametre",
1224          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
1225      ));      "right" => array("om_parametre", "om_parametre_tab", ),
1226        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
1227    );
1228  array_push($links,  //
1229      array(  $links[] = array(
1230          "title" => "<hr/>",      "class" => "category",
1231          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
1232      ));      "right" => array(
1233  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1234      array(          "om_droit", "om_droit_tab", "directory",
1235          "href" => "../scr/tab.php?obj=om_profil",      ),
1236          "class" => "profil",  );
1237          "title" => _("om_profil"),  //
1238          "right" => "om_profil_tab"  $links[] = array(
1239      ));      "title" => "<hr/>",
1240  array_push($links,      "right" => array(
1241      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
1242          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
1243          "class" => "droit",      ),
1244          "title" => _("om_droit"),  );
1245          "right" => "om_droit_multi"  //
1246      ));  $links[] = array(
1247  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
1248      array(      "class" => "profil",
1249          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
1250          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
1251          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
1252          "right" => "om_utilisateur_tab"  );
1253      ));  //
1254  array_push($links,  $links[] = array(
1255      array(      "href" => "../scr/tab.php?obj=om_droit",
1256          "title" => "<hr/>",      "class" => "droit",
1257          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
1258      ));      "right" => array("om_droit", "om_droit_tab", ),
1259  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
1260      array(  );
1261          "href" => "../scr/tab.php?obj=om_etat",  //
1262          "class" => "etat",  $links[] = array(
1263          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
1264          "right" => "om_etat_tab"      "class" => "utilisateur",
1265      ));      "title" => _("om_utilisateur"),
1266  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
1267      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
1268          "href" => "../scr/tab.php?obj=om_sousetat",  );
1269          "class" => "sousetat",  //
1270          "title" => _("om_sousetat"),  $links[] = array(
1271          "right" => "om_sousetat_tab"      "title" => "<hr/>",
1272      ));      "right" => array("directory", ),
1273  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1274      array(  );
1275          "href" => "../scr/tab.php?obj=om_lettretype",  //
1276          "class" => "lettretype",  $links[] = array(
1277          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
1278          "right" => "om_lettretype_tab"      "class" => "directory",
1279      ));      "title" => _("annuaire"),
1280  array_push($links,      "right" => array("directory", ),
1281      array(      "open" => array("directory.php|", ),
1282          "title" => "<hr/>",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
1283          "right" => array("import"),  );
1284      ));  //
1285  array_push($links,  $links[] = array(
1286      array(      "class" => "category",
1287          "href" => "../scr/import.php",      "title" => _("tableaux de bord"),
1288          "class" => "import",      "right" => array(
1289          "title" => _("Import"),          "om_widget", "om_widget_tab", "om_dashboard", "om_dashboard_tab",
1290          "right" => "import"      ),
1291      ));  );
1292    //
1293  array_push($links,  $links[] = array(
1294      array(      "title" => "<hr/>",
1295          "title" => "<hr/>",      "right" => array(
1296          "right" => array("gen"),          "om_widget", "om_widget_tab", "om_dashboard", "om_dashboard_tab",
1297      ));      ),
1298  array_push($links,  );
1299      array(  //
1300          "title" => _("Generateur"),  $links[] = array(
1301          "href" => "../gen/gen.php",      "href" => "../scr/tab.php?obj=om_widget",
1302          "class" => "generator",      "class" => "om_widget",
1303          "right" => "gen",      "title" => _("om_widget"),
1304      ));      "right" => array("om_widget", "om_widget_tab", ),
1305        "open" => array("tab.php|om_widget", "form.php|om_widget", ),
1306    );
1307    //
1308    $links[] = array(
1309        "href" => "../scr/tab.php?obj=om_dashboard",
1310        "class" => "om_dashboard",
1311        "title" => _("om_dashboard"),
1312        "right" => array( ),
1313        "open" => array("tab.php|om_dashboard", "form.php|om_dashboard", ),
1314    );
1315    //
1316    $links[] = array(
1317        "class" => "category",
1318        "title" => _("sig"),
1319        "right" => array(
1320            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
1321        ),
1322        "parameters" => array("option_localisation" => "sig_interne", ),
1323    );
1324    //
1325    $links[] = array(
1326        "title" => "<hr/>",
1327        "right" => array(
1328            "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
1329        ),
1330        "parameters" => array("option_localisation" => "sig_interne", ),
1331    );
1332    //
1333    $links[] = array(
1334        "href" => "../scr/tab.php?obj=om_sig_map",
1335        "class" => "om_sig_map",
1336        "title" => _("om_sig_map"),
1337        "right" => array("om_sig_map", "om_sig_map_tab", ),
1338        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
1339        "parameters" => array("option_localisation" => "sig_interne", ),
1340    );
1341    //
1342    $links[] = array(
1343        "href" => "../scr/tab.php?obj=om_sig_wms",
1344        "class" => "om_sig_wms",
1345        "title" => _("om_sig_wms"),
1346        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
1347        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
1348        "parameters" => array("option_localisation" => "sig_interne", ),
1349    );
1350    //
1351    $links[] = array(
1352        "class" => "category",
1353        "title" => _("options avancees"),
1354        "right" => array("import", "gen", "om_requete", "om_requete_tab",
1355                         "om_sousetat", "om_sousetat_tab",),
1356    );
1357    //
1358    $links[] = array(
1359        "title" => "<hr/>",
1360        "right" => array(
1361            "om_sousetat", "om_sousetat_tab",
1362        ),
1363    );
1364    //
1365    $links[] = array(
1366        "href" => "../scr/tab.php?obj=om_sousetat",
1367        "class" => "om_sousetat",
1368        "title" => _("om_sousetat"),
1369        "right" => array("om_sousetat", "om_sousetat_tab", ),
1370        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
1371    );
1372    //
1373    $links[] = array(
1374        "title" => "<hr/>",
1375        "right" => array("om_requete", "om_requete_tab", ),
1376    );
1377    //
1378    $links[] = array(
1379        "href" => "../scr/tab.php?obj=om_requete",
1380        "class" => "om_requete",
1381        "title" => _("om_requete"),
1382        "right" => array("om_requete", "om_requete_tab", ),
1383        "open" => array("tab.php|om_requete", "form.php|om_requete", ),
1384    );
1385    //
1386    $links[] = array(
1387        "title" => "<hr/>",
1388        "right" => array("import", ),
1389    );
1390    //
1391    $links[] = array(
1392        "href" => "../scr/import.php",
1393        "class" => "import",
1394        "title" => _("Import"),
1395        "right" => array("import", ),
1396        "open" => array("import.php|", ),
1397    );
1398    //
1399    $links[] = array(
1400        "title" => "<hr/>",
1401        "right" => array("gen", ),
1402    );
1403    //
1404    $links[] = array(
1405        "title" => _("Generateur"),
1406        "href" => "../scr/gen.php",
1407        "class" => "generator",
1408        "right" => array("gen", ),
1409        "open" => array(
1410            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
1411            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
1412            "genimport.php|",
1413        ),
1414    );
1415    //
1416  $rubrik['links'] = $links;  $rubrik['links'] = $links;
1417  array_push($menu, $rubrik);  //
1418    $menu[] = $rubrik;
1419  // }}}  // }}}
1420    
1421  ?>  ?>

Legend:
Removed from v.11  
changed lines
  Added in v.2113

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26