/[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 223 by fmichon, Wed Oct 19 08:23:29 2011 UTC revision 519 by nhaye, Thu Oct 18 13:22:10 2012 UTC
# Line 3  Line 3 
3   * Ce fichier permet de configurer quelles actions vont etre disponibles   * Ce fichier permet de configurer quelles actions vont etre disponibles
4   * dans le menu.   * dans le menu.
5   *   *
  *  
  *  
6   * @package openmairie_exemple   * @package openmairie_exemple
7   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $   * @version SVN : $Id: menu.inc.php 324 2010-12-06 16:06:21Z fraynaud $
8   */   */
9    
10  /**  //
  * $menu est le tableau associatif qui contient tout le menu de  
  * l'application, il contient lui meme un tableau par rubrique, puis chaque  
  * rubrique contient un tableau par lien  
  *  
  * Caracteristiques :  
  * --- tableau rubrik  
  *     - title [obligatoire]  
  *     - description (texte qui s'affiche au survol de la rubrique)  
  *     - href (contenu du lien href)  
  *     - class (classe css qui s'affiche sur la rubrique)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cette rubrique)  
  *     - links [obligatoire]  
  *  
  * --- tableau links  
  *     - title [obligatoire]  
  *     - href [obligatoire] (contenu du lien href)  
  *     - class (classe css qui s'affiche sur l'element)  
  *     - right (droit que l'utilisateur doit avoir pour visionner cet element)  
  *     - target (pour ouvrir le lien dans une nouvelle fenetre)  
  */  
11  $menu = array();  $menu = array();
12    
13  // {{{  Rubrique application  // {{{ Rubrique APPLICATION
14  // inserer ici vos tables principales  //
   
15  $rubrik = array(  $rubrik = array(
16      "title" => _("Instruction"),      "title" => _("instruction"),
17      "class" => "application",      "class" => "application",
18      "right" => "menu_application",      "right" => "menu_application",
19  );  );
20    //
21  $links = array();  $links = array();
22  // *** APPLICATION ***  //
23  // inserez ici les tables de votra application  $links[] = array(
24  // ========================================================================      "href" => "../scr/tab.php?obj=PC",
25  /*      "class" => "dossier",
26    array_push($links,      "title" => _("PC"),
27      array(      "right" => array("PC", "PC_tab", ),
28          "href" => "../scr/tab.php?obj=nom_table",      "open" => array("tab.php|PC", "form.php|PC", ),
29          "class" => "nom_table",  );
30          "title" => _("nom_table"),  //
31          "right" => "nom_table"  $links[] = array(
32      ));      "href" => "../scr/tab.php?obj=DP",
33  */      "class" => "dossier",
34  // ========================================================================      "title" => _("DP"),
35        "right" => array("DP", "DP_tab", ),
36        "open" => array("tab.php|DP", "form.php|DP", ),
37    array_push($links,  );
38      array(  //
39          "href" => "../scr/tab.php?obj=PC",  $links[] = array(
40          "class" => "dossier",      "href" => "../scr/tab.php?obj=PD",
41          "title" => _("PC"),      "class" => "dossier",
42          "right" => "dossier"      "title" => _("PD"),
43      ));      "right" => array("PD", "PD_tab", ),
44          "open" => array("tab.php|PD", "form.php|PD", ),
45    array_push($links,  );
46      array(  //
47          "href" => "../scr/tab.php?obj=DP",  $links[] = array(
48          "class" => "dossier",      "href" => "../scr/tab.php?obj=PA",
49          "title" => _("DP"),      "class" => "dossier",
50          "right" => "dossier"      "title" => _("PA"),
51      ));      "right" => array("PA", "PA_tab", ),
52        "open" => array("tab.php|PA", "form.php|PA", ),
53    );
54    array_push($links,  //
55      array(  $links[] = array(
56          "href" => "../scr/tab.php?obj=PD",      "title" => "<hr/>",
57          "class" => "dossier",      "right" => array(
58          "title" => _("PD"),          "PC_accueil", "PC_accueil_tab", "DP_accueil", "DP_accueil_tab",
59          "right" => "dossier"          "PD_accueil", "PD_accueil_tab", "PA_accueil", "PA_accueil_tab",
60      ));      ),
61    );
62    array_push($links,  //
63      array(  $links[] = array(
64          "href" => "../scr/tab.php?obj=PA",      "href" => "../scr/tab.php?obj=PC_accueil",
65          "class" => "dossier",      "class" => "dossier",
66          "title" => _("PA"),      "title" => _("PC - accueil"),
67          "right" => "dossier"      "right" => array("PC_accueil", "PC_accueil_tab", ),
68      ));      "open" => array("tab.php|PC_accueil", "form.php|PC_accueil", ),
69    );
70  array_push($links,  //
71      array(  $links[] = array(
72          "title" => "<hr/>",      "href" => "../scr/tab.php?obj=DP_accueil",
73          "right" => array("gen"),      "class" => "dossier",
74      ));      "title" => _("DP - accueil"),
75        "right" => array("DP_accueil", "DP_accueil_tab", ),
76    array_push($links,      "open" => array("tab.php|DP_accueil", "form.php|DP_accueil", ),
77      array(  );
78          "href" => "../scr/tab.php?obj=PC_accueil",  //
79          "class" => "dossier",  $links[] = array(
80          "title" => _("PC - accueil"),      "href" => "../scr/tab.php?obj=PD_accueil",
81          "right" => "dossier"      "class" => "dossier",
82      ));      "title" => _("PD - accueil"),
83          "right" => array("PD_accueil", "PD_accueil_tab", ),
84    array_push($links,      "open" => array("tab.php|PD_accueil", "form.php|PD_accueil", ),
85      array(  );
86          "href" => "../scr/tab.php?obj=DP_accueil",  //
87          "class" => "dossier",  $links[] = array(
88          "title" => _("DP - accueil"),      "href" => "../scr/tab.php?obj=PA_accueil",
89          "right" => "dossier"      "class" => "dossier",
90      ));      "title" => _("PA - accueil"),
91        "right" => array("PA_accueil", "PA_accueil_tab", ),
92        "open" => array("tab.php|PA_accueil", "form.php|PA_accueil", ),
93    array_push($links,  );
94      array(  //
95          "href" => "../scr/tab.php?obj=PD_accueil",  $links[] = array(
96          "class" => "dossier",      "title" => "<hr/>",
97          "title" => _("PD - accueil"),      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
98          "right" => "dossier"  );
99      ));  //
100    $links[] = array(
101    array_push($links,      "href" => "../scr/tab.php?obj=PC_modificatif",
102      array(      "class" => "traitement",
103          "href" => "../scr/tab.php?obj=PA_accueil",      "title" => _("modificatif transfert"),
104          "class" => "dossier",      "right" => array("PC_modificatif", "PC_modificatif_tab", ),
105          "title" => _("PA - accueil"),      "open" => array("|PC_modificatif", "dossier_modificatif.php|", ),
106          "right" => "dossier"  );
107      ));  //
108      array_push($links,  $links[] = array(
109      array(      "title" => "<hr/>",
110          "title" => "<hr/>",      "right" => array("recherchedossier", ),
111          "right" => array("gen"),  );
112      ));  //
113    $links[] = array(
114      array_push($links,      "href" => "../app/recherchedossier.php",
115      array(      "class" => "dossier",
116          "href" => "../app/recherchedossier.php",      "title" => _("Recherche dossier"),
117          "class" => "dossier",      "right" => "recherchedossier",
118          "title" => _("Recherche dossier"),      "open" => "recherchedossier.php|",
119          "right" => "recherchedossier"  );
120      ));  $links[] = array(
121        "class" => "category",
122        "title" => _("Consultation"),
123        "right" => "consultation"
124    );
125    $links[] = array(
126        "title" => "<hr/>",
127        "right" => array("consultation_mes_retours", "consultation_tous_retours"),
128    );
129    $links[] = array(
130        "href" => "../scr/tab.php?obj=consultation_mes_retours",
131        "class" => "consultation_mes_retours",
132        "title" => _("Mes retours"),
133        "right" => array("consultation_mes_retours", "consultation_mes_retours_tab", ),
134        "open" => array("tab.php|consultation_mes_retours", "form.php|consultation_mes_retours", ),
135    );
136    $links[] = array(
137        "href" => "../scr/tab.php?obj=consultation_tous_retours",
138        "class" => "consultation_tous_retours",
139        "title" => _("Tous les retours"),
140        "right" => array("consultation_tous_retours", "consultation_tous_retours_tab", ),
141        "open" => array("tab.php|consultation_tous_retours", "form.php|consultation_tous_retours", ),
142    );
143    //
144  $rubrik['links'] = $links;  $rubrik['links'] = $links;
145  array_push($menu, $rubrik);  //
146    $menu[] = $rubrik;
147    // }}}
148    
149  // {{{ Rubrique EXPORT  // {{{ Rubrique EXPORT
150    //
151  $rubrik = array(  $rubrik = array(
152      "title" => _("Export"),      "title" => _("export"),
153      "class" => "edition",      "class" => "edition",
154      "right" => "menu_export",      "right" => "menu_export",
155  );  );
156    //
157  $links = array();  $links = array();
158  array_push($links,  //
159      array(  $links[] = array(
160          "href" => "../scr/edition.php",      "href" => "../scr/edition.php",
161          "class" => "edition",      "class" => "edition",
162          "title" => _("Edition"),      "title" => _("edition"),
163          "right" => "edition"      "right" => "edition",
164      ));      "open" => "edition.php|",
 array_push($links,  
     array(  
         "href" => "../app/edition_p.php",  
         "class" => "edition",  
         "title" => _("Edition date depot"),  
         "right" => "edition"  
     ));  
   
 array_push($links,  
     array(  
         "href" => "../app/edition_d.php",  
         "class" => "edition",  
         "title" => _("Edition date decision"),  
         "right" => "edition"  
     ));  
   
     array_push($links,  
     array(  
         "title" => "<hr/>",  
         "right" => array("reqmo", "export_pc_tab", "export_dp_tab", "export_sitadel_tab")  
     ));  
   
 array_push($links,  
     array(  
         "href" => "../scr/reqmo.php",  
         "class" => "reqmo",  
         "title" => _("Requetes memorisees"),  
         "right" => "reqmo"  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../app/export_pc.php",  
         "class" => "reqmo",  
         "title" => _("export PC Lascot"),  
         "right" => "ecport_pc"  
     ));  
       
     array_push($links,  
     array(  
         "href" => "../app/export_dp.php",  
         "class" => "reqmo",  
         "title" => _("export DP Lascot"),  
         "right" => "export_dp"  
     ));  
   
     array_push($links,  
     array(  
         "href" => "../app/sitadel.php",  
         "class" => "reqmo",  
         "title" => _("export")._("sitadel")." 2",  
         "right" => "export_sitadel"  
     ));  
   
   
 $rubrik['links'] = $links;  
 array_push($menu, $rubrik);  
 // }}}  
   
 // {{{ Rubrique TRAITEMENT  
   
 $rubrik = array(  
     "title" => _("Traitement"),  
     "class" => "traitement",  
     "right" => "menu_traitement",  
165  );  );
166  $links = array();  //
167  // *** TRAITEMENT ***  $links[] = array(
168  // inserez le lien d acces au traitement      "href" => "../app/edition_p.php",
169  // ========================================================================      "class" => "edition",
170  /*      "title" => _("edition date depot"),
171   array_push($links,      "right" => "edition_p",
172      array(      "open" => "edition_p.php|",
173          "href" => "../trt/nom_du_traitement.php",  );
174          "class" => "traitement",  //
175          "title" => _("Traitement"),  $links[] = array(
176          "right" => "traitement"      "href" => "../app/edition_d.php",
177      ));      "class" => "edition",
178  */      "title" => _("edition date decision"),
179  // ========================================================================      "right" => "edition_d",
180      array_push($links,      "open" => "edition_d.php|",
181      array(  );
182          "href" => "../scr/form.php?obj=dossier_numeromanuel",  //
183          "class" => "traitement",  $links[] = array(
184          "title" => _("numero manuel"),      "title" => "<hr/>",
185          "right" => "traitement"      "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
186      ));  );
187    //
188      array_push($links,  $links[] = array(
189      array(      "href" => "../scr/reqmo.php",
190          "href" => "../scr/tab.php?obj=PC_modificatif",      "class" => "reqmo",
191          "class" => "traitement",      "title" => _("requetes memorisees"),
192          "title" => _("modificatif transfert"),      "right" => "reqmo",
193          "right" => "traitement"      "open" => array("reqmo.php|", "requeteur.php|", ),
194      ));      );
195    //
196      array_push($links,  $links[] = array(
197      array(      "href" => "../app/export_pc.php",
198          "href" => "../app/num_dossier.php",      "class" => "reqmo",
199          "class" => "traitement",      "title" => _("export PC Lascot"),
200          "title" => _("remise a 0"),      "right" => "export_pc",
201          "right" => "traitement"      "open" => "export_pc.php|",
202      ));  );
203    //
204    $links[] = array(
205        "href" => "../app/export_dp.php",
206        "class" => "reqmo",
207        "title" => _("export DP Lascot"),
208        "right" => "export_dp",
209        "open" => "export_dp.php|",
210    );
211    //
212    $links[] = array(
213        "href" => "../app/sitadel.php",
214        "class" => "reqmo",
215        "title" => _("export sitadel")." 2",
216        "right" => "export_sitadel",
217        "open" => "sitadel.php|",
218    );
219    //
220  $rubrik['links'] = $links;  $rubrik['links'] = $links;
221  array_push($menu, $rubrik);  //
222    $menu[] = $rubrik;
223  // }}}  // }}}
224    
225    // {{{ Rubrique PARAMETRAGE
226    //
 // {{{  Rubrique parametrage de l'application  
   
227  $rubrik = array(  $rubrik = array(
228      "title" => _("Parametrage"),      "title" => _("parametrage"),
229      "class" => "parametrage",      "class" => "parametrage",
230      "right" => "menu_parametrage",      "right" => "menu_parametrage",
231  );  );
232    //
233  $links = array();  $links = array();
234  // *** TABLES DE PARAMETRAGE ***  //
235  // inserer ici vos tables de parametres  // GENERAUX
236  // ========================================================================  $links[] = array(
237  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
238    array_push($links,      "class" => "traitement",
239      array(      "title" => _("numero manuel"),
240          "href" => "../scr/tab.php?obj=nom_table",      "right" => "dossier_numeromanuel",
241          "class" => "nom_table",      "open" => "|dossier_numeromanuel",
242          "title" => _("nom_table"),  );
243          "right" => "nom_table"  //
244      ));  $links[] = array(
245  */      "href" => "../app/num_dossier.php",
246  // ========================================================================      "class" => "traitement",
247        "title" => _("remise a 0"),
248        "right" => "num_dossier",
249  // param gaux      "open" => "num_dossier.php|",
250    );
251    array_push($links,  //
252      array(  $links[] = array(
253          "href" => "../scr/tab.php?obj=architecte",      "title" => "<hr/>",
254          "class" => "architecte",      "right" => array(
255          "title" => _("architecte"),          "architecte", "architecte_tab", "service", "service_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
256          "right" => "architecte"           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
257      ));          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
258            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
259        ),
260    );
261    array_push($links,  //
262      array(  $links[] = array(
263          "href" => "../scr/tab.php?obj=service",      "href" => "../scr/tab.php?obj=architecte",
264          "class" => "service",      "class" => "architecte",
265          "title" => _("service"),      "title" => _("architecte"),
266          "right" => "service"      "right" => array("architecte", "architecte_tab", ),
267      ));      "open" => array("tab.php|architecte", "form.php|architecte", ),
268      );
269    array_push($links,  //
270      array(  $links[] = array(
271          "href" => "../scr/tab.php?obj=travaux",      "href" => "../scr/tab.php?obj=service",
272          "class" => "travaux",      "class" => "service",
273          "title" => _("travaux"),      "title" => _("service"),
274          "right" => "travaux"      "right" => array("service", "service_tab", ),
275      ));      "open" => array("tab.php|service", "form.php|service", ),
276    );
277    array_push($links,  $links[] = array(
278      array(      "href" => "../scr/tab.php?obj=service_categorie",
279          "href" => "../scr/tab.php?obj=regle",      "class" => "service_categorie",
280          "class" => "regle",      "title" => _("thematique des services"),
281          "title" => _("regle"),      "right" => array("service_categorie", "service_categorie_tab", ),
282          "right" => "regle"      "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
283      ));  );
284    $links[] = array(
285    array_push($links,      "href" => "../scr/tab.php?obj=lien_service_service_categorie",
286      array(      "class" => "lien_service_service_categorie",
287          "href" => "../scr/tab.php?obj=categorie_demandeur",      "title" => _("Lien service / thematique"),
288          "class" => "categorie_demandeur",      "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
289          "title" => _("categorie_demandeur"),      "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
290          "right" => "categorie_demandeur"  );
291      ));  //
292      $links[] = array(
293    array_push($links,      "href" => "../scr/tab.php?obj=travaux",
294      array(      "class" => "travaux",
295          "href" => "../scr/tab.php?obj=destination",      "title" => _("travaux"),
296          "class" => "destination",      "right" => array("travaux", "travaux_tab", ),
297          "title" => _("destination"),      "open" => array("tab.php|travaux", "form.php|travaux", ),
298          "right" => "destination"  );
299      ));  //
300    $links[] = array(
301    array_push($links,      "href" => "../scr/tab.php?obj=categorie_demandeur",
302      array(      "class" => "categorie_demandeur",
303          "href" => "../scr/tab.php?obj=nature",      "title" => _("categorie_demandeur"),
304          "class" => "nature",      "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
305          "title" => _("nature"),      "open" => array(
306          "right" => "nature"          "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
307      ));      ),
308    );
309    array_push($links,  //
310      array(  $links[] = array(
311          "href" => "../scr/tab.php?obj=rivoli",      "href" => "../scr/tab.php?obj=destination",
312          "class" => "rivoli",      "class" => "destination",
313          "title" => _("rivoli"),      "title" => _("destination"),
314          "right" => "rivoli"      "right" => array("destination", "destination_tab", ),
315      ));      "open" => array("tab.php|destination", "form.php|destination", ),
316    );
317    array_push($links,  //
318      array(  $links[] = array(
319          "href" => "../scr/tab.php?obj=civilite",      "href" => "../scr/tab.php?obj=nature",
320          "class" => "civilite",      "class" => "nature",
321          "title" => _("civilite"),      "title" => _("nature"),
322          "right" => "civilite"      "right" => array("nature", "nature_tab", ),
323      ));      "open" => array("tab.php|nature", "form.php|nature", ),
324    );
325    //
326    $links[] = array(
327        "href" => "../scr/tab.php?obj=rivoli",
328    array_push($links,      "class" => "rivoli",
329      array(      "title" => _("rivoli"),
330          "href" => "../scr/tab.php?obj=parametre",      "right" => array("rivoli", "rivoli_tab", ),
331          "class" => "parametre",      "open" => array("tab.php|rivoli", "form.php|rivoli", ),
332          "title" => _("parametre")." "._("statistique"),  );
333          "right" => "parametre"  //
334      ));  $links[] = array(
335        "href" => "../scr/tab.php?obj=civilite",
336        "class" => "civilite",
337        "title" => _("civilite"),
338  // workflows      "right" => array("civilite", "civilite_tab", ),
339      array_push($links,      "open" => array("tab.php|civilite", "form.php|civilite", ),
340      array(  );
341          "title" => "<hr/>",  //
342          "right" => array("action_tab", "transition_tab", "etat_tab",  $links[] = array(
343                           "evenement_tab", "bible", "avis")      "href" => "../scr/tab.php?obj=parametre",
344      ));      "class" => "parametre",
345        "title" => _("parametre")." "._("statistique"),
346    array_push($links,      "right" => array("parametre", "parametre_tab", ),
347      array(      "open" => array("tab.php|parametre", "form.php|parametre", ),
348          "href" => "../scr/tab.php?obj=action",  );
349          "class" => "action",  //
350          "title" => _("action"),  $links[] = array(
351          "right" => "action"      "class" => "category",
352      ));      "title" => _("workflows"),
353        "right" => array(
354    array_push($links,          "action", "action_tab", "transition", "transition_tab", "etat",
355      array(          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
356          "href" => "../scr/tab.php?obj=transition",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
357          "class" => "transition",      ),
358          "title" => _("transition"),  );
359          "right" => "transition"  //
360      ));  $links[] = array(
361          "title" => "<hr/>",
362      array_push($links,      "right" => array(
363      array(          "action", "action_tab", "transition", "transition_tab", "etat",
364          "href" => "../scr/tab.php?obj=etat",          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
365          "class" => "etat",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
366          "title" => _("etat"),      ),
367          "right" => "etat"  );
368      ));  //
369    $links[] = array(
370      array_push($links,      "href" => "../scr/tab.php?obj=action",
371        array(      "class" => "action",
372            "href" => "../scr/tab.php?obj=evenement",      "title" => _("action"),
373            "class" => "evenement",      "right" => array("action", "action_tab", ),
374            "title" => _("evenement"),      "open" => array("tab.php|action", "form.php|action", ),
375            "right" => "evenement"  );
376        ));  //
377        $links[] = array(
378      array_push($links,      "href" => "../scr/tab.php?obj=transition",
379      array(      "class" => "transition",
380          "href" => "../scr/tab.php?obj=bible",      "title" => _("transition"),
381          "class" => "bible",      "right" => array("transition", "transition_tab", ),
382          "title" => _("bible"),      "open" => array("tab.php|transition", "form.php|transition", ),
383          "right" => "bible"  );
384      ));  //
385          $links[] = array(
386      array_push($links,      "href" => "../scr/tab.php?obj=etat",
387      array(      "class" => "etat",
388          "href" => "../scr/tab.php?obj=avis",      "title" => _("etat"),
389          "class" => "avis",      "right" => array("etat", "etat_tab", ),
390          "title" => _("avis"),      "open" => array("tab.php|etat", "form.php|etat", ),
391          "right" => "avis"  );
392      ));  //
393    $links[] = array(
394        "href" => "../scr/tab.php?obj=evenement",
395        "class" => "evenement",
396        "title" => _("evenement"),
397        "right" => array("evenement", "evenement_tab", ),
398        "open" => array("tab.php|evenement", "form.php|evenement", ),
399    );
400    //
401    $links[] = array(
402        "href" => "../scr/tab.php?obj=bible",
403        "class" => "bible",
404        "title" => _("bible"),
405        "right" => array("bible", "bible_tab", ),
406        "open" => array("tab.php|bible", "form.php|bible", ),
407    );
408    //
409    $links[] = array(
410        "href" => "../scr/tab.php?obj=avis_decision",
411        "class" => "avis_decision",
412        "title" => _("avis decision"),
413        "right" => array("avis_decision", "avis_decision_tab", ),
414        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
415    );
416    //
417    $links[] = array(
418        "href" => "../scr/tab.php?obj=avis_consultation",
419        "class" => "avis_consultation",
420        "title" => _("avis consultation"),
421        "right" => array("avis_consultation", "avis_consultation_tab", ),
422        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
423    );
424    //
425    $links[] = array(
426        "class" => "category",
427        "title" => _("editions"),
428        "right" => array(
429            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
430            "om_lettretype", "om_lettretype_tab",
431        ),
432    );
433    //
434    $links[] = array(
435        "title" => "<hr/>",
436        "right" => array(
437            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
438            "om_lettretype", "om_lettretype_tab",
439        ),
440    );
441    //
442    $links[] = array(
443        "href" => "../scr/tab.php?obj=om_etat",
444        "class" => "etat",
445        "title" => _("om_etat"),
446        "right" => array("om_etat", "om_etat_tab", ),
447        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
448    );
449    //
450    $links[] = array(
451        "href" => "../scr/tab.php?obj=om_sousetat",
452        "class" => "sousetat",
453        "title" => _("om_sousetat"),
454        "right" => array("om_sousetat", "om_sousetat_tab", ),
455        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
456    );
457    //
458    $links[] = array(
459        "href" => "../scr/tab.php?obj=om_lettretype",
460        "class" => "lettretype",
461        "title" => _("om_lettretype"),
462        "right" => array("om_lettretype", "om_lettretype_tab"),
463        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
464    );
465    //
466  $rubrik['links'] = $links;  $rubrik['links'] = $links;
467  array_push($menu, $rubrik);  //
468    $menu[] = $rubrik;
469  // sig  // }}}
470    
471    // {{{ Rubrique SIG
472    //
473  $rubrik = array(  $rubrik = array(
474      "title" => _("SIG"),      "title" => _("sig"),
475      "class" => "sig",      "class" => "sig",
476      "right" => "menu_sig",      "right" => "menu_sig",
477  );  );
478    //
479  $links = array();  $links = array();
480    array_push($links,  //
481      array(  $links[] = array(
482          "href" => "../scr/tab.php?obj=parcelle",      "href" => "../scr/tab.php?obj=parcelle",
483          "class" => "parcelle",      "class" => "parcelle",
484          "title" => _("parcelle"),      "title" => _("parcelle"),
485          "right" => "parcelle"      "right" => array("parcelle", "parcelle_tab"),
486      ));      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
487    );
488    array_push($links,  //
489      array(  $links[] = array(
490          "href" => "../scr/tab.php?obj=proprietaire",      "href" => "../scr/tab.php?obj=proprietaire",
491          "class" => "proprietaire",      "class" => "proprietaire",
492          "title" => _("proprietaire"),      "title" => _("proprietaire"),
493          "right" => "proprietaire"      "right" => array("proprietaire", "proprietaire_tab"),
494      ));      "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
495    );
496    //
497    $links[] = array(
498          "class" => "category",
499    // servitudes      "title" => _("servitudes"),
500    array_push($links,      "right" => array(
501      array(          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
502          "title" => "<hr/>",          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
503          "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
504      ));      ),
505      array_push($links,  );
506      array(  //
507          "href" => "../scr/tab.php?obj=pos",  $links[] = array(
508          "class" => "pos",      "title" => "<hr/>",
509          "title" => _("pos"),      "right" => array(
510          "right" => "pos"          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
511      ));          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
512    array_push($links,          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
513      array(      ),
514          "href" => "../scr/tab.php?obj=servitude_surfacique",  );
515          "class" => "servitude",  //
516          "title" => _("servitude")." "._("surfacique"),  $links[] = array(
517          "right" => "servitude"      "href" => "../scr/tab.php?obj=pos",
518      ));      "class" => "pos",
519    array_push($links,      "title" => _("pos"),
520      array(      "right" => array("pos", "pos_tab"),
521          "href" => "../scr/tab.php?obj=servitude_ligne",      "open" => array("tab.php|pos", "form.php|pos", ),
522          "class" => "servitude",  );
523          "title" => _("servitude")." "._("ligne"),  //
524          "right" => "servitude"  $links[] = array(
525      ));      "href" => "../scr/tab.php?obj=servitude_surfacique",
526    array_push($links,      "class" => "servitude_surfacique",
527      array(      "title" => _("servitude_surfacique"),
528          "href" => "../scr/tab.php?obj=servitude_point",      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
529          "class" => "servitude",      "open" => array(
530          "title" => _("servitude")." "._("point"),          "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
531          "right" => "servitude"      ),
532      ));  );
533    //
534    array_push($links,  $links[] = array(
535      array(      "href" => "../scr/tab.php?obj=servitude_ligne",
536          "href" => "../scr/tab.php?obj=parcelle_lot",      "class" => "servitude_ligne",
537          "class" => "parcelle",      "title" => _("servitude_ligne"),
538          "title" => _("parcelle")." "._("lot"),      "right" => array("servitude_ligne", "servitude_ligne_tab"),
539          "right" => "parcelle_lot"      "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
540      ));  );
541    //
542    $links[] = array(
543        "href" => "../scr/tab.php?obj=servitude_point",
544        "class" => "servitude_point",
545        "title" => _("servitude_point"),
546        "right" => array("servitude_point", "servitude_point_tab"),
547        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
548    );
549    //
550    $links[] = array(
551        "href" => "../scr/tab.php?obj=parcelle_lot",
552        "class" => "parcelle_lot",
553        "title" => _("parcelle_lot"),
554        "right" => array("parcelle_lot", "parcelle_lot_tab"),
555        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
556    );
557    //
558  $rubrik['links'] = $links;  $rubrik['links'] = $links;
559  array_push($menu, $rubrik);  //
560    $menu[] = $rubrik;
561    // }}}
562    
563  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
564  //  //
565  $rubrik = array(  $rubrik = array(
566      "title" => _("Administration"),      "title" => _("administration"),
567      "class" => "administration",      "class" => "administration",
568      "right" => "menu_administration",      "right" => "menu_administration",
569  );  );
570  //  //
571  $links = array();  $links = array();
572  array_push($links,  //
573      array(  $links[] = array(
574          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
575          "class" => "collectivite",      "class" => "collectivite",
576          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
577          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
578      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
579  array_push($links,  );
580      array(  //
581          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
582          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
583          "title" => _("om_parametre"),      "class" => "parametre",
584          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
585      ));      "right" => array("om_parametre", "om_parametre_tab", ),
586        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
587    );
588  array_push($links,  //
589      array(  $links[] = array(
590          "title" => "<hr/>",      "class" => "category",
591          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
592      ));      "right" => array(
593  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
594      array(          "om_droit", "om_droit_tab", "directory",
595          "href" => "../scr/tab.php?obj=om_profil",      ),
596          "class" => "profil",  );
597          "title" => _("om_profil"),  //
598          "right" => "om_profil_tab"  $links[] = array(
599      ));      "title" => "<hr/>",
600  array_push($links,      "right" => array(
601      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
602          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
603          "class" => "droit",      ),
604          "title" => _("om_droit"),  );
605          "right" => "om_droit_multi"  //
606      ));  $links[] = array(
607  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
608      array(      "class" => "profil",
609          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
610          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
611          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
612          "right" => "om_utilisateur_tab"  );
613      ));  //
614  array_push($links,  $links[] = array(
615      array(      "href" => "../scr/tab.php?obj=om_droit",
616          "title" => "<hr />",      "class" => "droit",
617          "right" => array("directory"),      "title" => _("om_droit"),
618      ));      "right" => array("om_droit", "om_droit_tab", ),
619  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
620      array(  );
621          "href" => "../scr/directory.php",  //
622          "title" => _("Annuaire"),  $links[] = array(
623          "right" => "directory",      "href" => "../scr/tab.php?obj=om_utilisateur",
624          "class" => "utilisateur",      "class" => "utilisateur",
625      ));      "title" => _("om_utilisateur"),
626  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
627      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
628          "title" => "<hr/>",  );
629          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),  //
630      ));  $links[] = array(
631  array_push($links,      "title" => "<hr/>",
632      array(      "right" => array("directory", ),
633          "href" => "../scr/tab.php?obj=om_etat",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
634          "class" => "etat",  );
635          "title" => _("om_etat"),  //
636          "right" => "om_etat_tab"  $links[] = array(
637      ));      "href" => "../scr/directory.php",
638  array_push($links,      "class" => "directory",
639      array(      "title" => _("annuaire"),
640          "href" => "../scr/tab.php?obj=om_sousetat",      "right" => array("directory", ),
641          "class" => "sousetat",      "open" => array("directory.php|", ),
642          "title" => _("om_sousetat"),      "parameters" => array("isDirectoryOptionEnabled" => true, ),
643          "right" => "om_sousetat_tab"  );
644      ));  //
645  array_push($links,  $links[] = array(
646      array(      "class" => "category",
647          "href" => "../scr/tab.php?obj=om_lettretype",      "title" => _("tableaux de bord"),
648          "class" => "lettretype",      "right" => array("om_widget", "om_widget_tab", ),
649          "title" => _("om_lettretype"),  );
650          "right" => "om_lettretype_tab"  //
651      ));  $links[] = array(
652  array_push($links,      "title" => "<hr/>",
653      array(      "right" => array("om_widget", "om_widget_tab", ),
654          "href" => "../scr/tab.php?obj=om_sig_point",  );
655          "class" => "om_sig_point",  //
656          "title" => _("om SIG"),  $links[] = array(
657          "right" => "om_sig_point_tab"      "href" => "../scr/tab.php?obj=om_widget",
658      ));      "class" => "om_widget",
659  array_push($links,      "title" => _("widget"),
660      array(      "right" => array("om_widget", "om_widget_tab", ),
661          "href" => "../scr/tab.php?obj=om_widget",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
662          "class" => "om_widget",  );
663          "title" => _("widget"),  //
664          "right" => "om_widget"  $links[] = array(
665      ));      "class" => "category",
666  array_push($links,      "title" => _("sig"),
667      array(      "right" => array(
668          "title" => "<hr/>",          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
669          "right" => array("import"),      ),
670      ));  );
671  array_push($links,  //
672      array(  $links[] = array(
673          "href" => "../scr/import.php",      "title" => "<hr/>",
674          "class" => "import",      "right" => array(
675          "title" => _("Import"),          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
676          "right" => "import"      ),
677      ));  );
678    //
679    $links[] = array(
680        "href" => "../scr/tab.php?obj=om_sig_map",
681        "class" => "om_sig_map",
682        "title" => _("om_sig_map"),
683        "right" => array("om_sig_map", "om_sig_map_tab", ),
684        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
685    );
686    //
687    $links[] = array(
688        "href" => "../scr/tab.php?obj=om_sig_wms",
689        "class" => "om_sig_wms",
690        "title" => _("om_sig_wms"),
691        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
692        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
693    );
694    //
695    $links[] = array(
696        "class" => "category",
697        "title" => _("Organisation"),
698        "right" => array("direction", "division", "instructeur"),
699    );
700    $links[] = array(
701        "title" => "<hr/>",
702        "right" => array("direction", "division", "instructeur"),
703    );
704    
705  array_push($links,  $links[] = array(
706      array(      "href" => "../scr/tab.php?obj=direction",
707          "title" => "<hr/>",      "class" => "direction",
708          "right" => array("gen"),      "title" => _("direction"),
709      ));      "right" => array("direction", "direction_tab", ),
710  array_push($links,      "open" => array("tab.php|direction", "form.php|direction", ),
711      array(  );
712          "title" => _("Generateur"),  //
713          "href" => "../scr/gen.php",  $links[] = array(
714          "class" => "generator",      "href" => "../scr/tab.php?obj=division",
715          "right" => "gen",      "class" => "division",
716      ));      "title" => _("division"),
717        "right" => array("division", "division_tab", ),
718        "open" => array("tab.php|division", "form.php|division", ),
719    );
720    //
721    $links[] = array(
722        "href" => "../scr/tab.php?obj=instructeur",
723        "class" => "instructeur",
724        "title" => _("instructeur"),
725        "right" => array("instructeur", "instructeur_tab", ),
726        "open" => array("tab.php|instructeur", "form.php|instructeur", ),
727    );
728    //
729    $links[] = array(
730        "class" => "category",
731        "title" => _("options avancees"),
732        "right" => array("import", "gen", ),
733    );
734    //
735    $links[] = array(
736        "title" => "<hr/>",
737        "right" => array("import", ),
738    );
739    //
740    $links[] = array(
741        "href" => "../scr/import.php",
742        "class" => "import",
743        "title" => _("Import"),
744        "right" => array("import", ),
745        "open" => array("import.php|", ),
746    );
747    //
748    $links[] = array(
749        "title" => "<hr/>",
750        "right" => array("gen", ),
751    );
752    //
753    $links[] = array(
754        "title" => _("Generateur"),
755        "href" => "../scr/gen.php",
756        "class" => "generator",
757        "right" => array("gen", ),
758        "open" => array(
759            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
760            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
761            "genimport.php|",
762        ),
763    );
764    //
765  $rubrik['links'] = $links;  $rubrik['links'] = $links;
766  array_push($menu, $rubrik);  //
767    $menu[] = $rubrik;
768  // }}}  // }}}
769    
770  ?>  ?>

Legend:
Removed from v.223  
changed lines
  Added in v.519

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26