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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26