/[openfoncier]/trunk/dyn/menu.inc.php
ViewVC logotype

Diff of /trunk/dyn/menu.inc.php

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

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

Legend:
Removed from v.10  
changed lines
  Added in v.656

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26