/[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 204 by fraynaud, Mon Oct 17 07:44:45 2011 UTC revision 491 by vpihour, Thu Oct 11 12:33:12 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      ));  //
   
121  $rubrik['links'] = $links;  $rubrik['links'] = $links;
122  array_push($menu, $rubrik);  //
123    $menu[] = $rubrik;
124    // }}}
125    
126  // {{{ Rubrique EXPORT  // {{{ Rubrique EXPORT
127    //
128  $rubrik = array(  $rubrik = array(
129      "title" => _("Export"),      "title" => _("export"),
130      "class" => "edition",      "class" => "edition",
131      "right" => "menu_export",      "right" => "menu_export",
132  );  );
133    //
134  $links = array();  $links = array();
135  array_push($links,  //
136      array(  $links[] = array(
137          "href" => "../scr/edition.php",      "href" => "../scr/edition.php",
138          "class" => "edition",      "class" => "edition",
139          "title" => _("Edition"),      "title" => _("edition"),
140          "right" => "edition"      "right" => "edition",
141      ));      "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",  
142  );  );
143  $links = array();  //
144  // *** TRAITEMENT ***  $links[] = array(
145  // inserez le lien d acces au traitement      "href" => "../app/edition_p.php",
146  // ========================================================================      "class" => "edition",
147  /*      "title" => _("edition date depot"),
148   array_push($links,      "right" => "edition_p",
149      array(      "open" => "edition_p.php|",
150          "href" => "../trt/nom_du_traitement.php",  );
151          "class" => "traitement",  //
152          "title" => _("Traitement"),  $links[] = array(
153          "right" => "traitement"      "href" => "../app/edition_d.php",
154      ));      "class" => "edition",
155  */      "title" => _("edition date decision"),
156  // ========================================================================      "right" => "edition_d",
157      array_push($links,      "open" => "edition_d.php|",
158      array(  );
159          "href" => "../scr/form.php?obj=dossier_numeromanuel",  //
160          "class" => "traitement",  $links[] = array(
161          "title" => _("numero manuel"),      "title" => "<hr/>",
162          "right" => "traitement"      "right" => array("reqmo", "export_pc", "export_dp", "export_sitadel", ),
163      ));  );
164    //
165      array_push($links,  $links[] = array(
166      array(      "href" => "../scr/reqmo.php",
167          "href" => "../scr/tab.php?obj=PC_modificatif",      "class" => "reqmo",
168          "class" => "traitement",      "title" => _("requetes memorisees"),
169          "title" => _("modificatif transfert"),      "right" => "reqmo",
170          "right" => "traitement"      "open" => array("reqmo.php|", "requeteur.php|", ),
171      ));      );
172    //
173      array_push($links,  $links[] = array(
174      array(      "href" => "../app/export_pc.php",
175          "href" => "../app/num_dossier.php",      "class" => "reqmo",
176          "class" => "traitement",      "title" => _("export PC Lascot"),
177          "title" => _("remise a 0"),      "right" => "export_pc",
178          "right" => "traitement"      "open" => "export_pc.php|",
179      ));  );
180    //
181    $links[] = array(
182        "href" => "../app/export_dp.php",
183        "class" => "reqmo",
184        "title" => _("export DP Lascot"),
185        "right" => "export_dp",
186        "open" => "export_dp.php|",
187    );
188    //
189    $links[] = array(
190        "href" => "../app/sitadel.php",
191        "class" => "reqmo",
192        "title" => _("export sitadel")." 2",
193        "right" => "export_sitadel",
194        "open" => "sitadel.php|",
195    );
196    //
197  $rubrik['links'] = $links;  $rubrik['links'] = $links;
198  array_push($menu, $rubrik);  //
199    $menu[] = $rubrik;
200  // }}}  // }}}
201    
202    // {{{ Rubrique PARAMETRAGE
203    //
 // {{{  Rubrique parametrage de l'application  
   
204  $rubrik = array(  $rubrik = array(
205      "title" => _("Parametrage"),      "title" => _("parametrage"),
206      "class" => "parametrage",      "class" => "parametrage",
207      "right" => "menu_parametrage",      "right" => "menu_parametrage",
208  );  );
209    //
210  $links = array();  $links = array();
211  // *** TABLES DE PARAMETRAGE ***  //
212  // inserer ici vos tables de parametres  // GENERAUX
213  // ========================================================================  $links[] = array(
214  /*      "href" => "../scr/form.php?obj=dossier_numeromanuel",
215    array_push($links,      "class" => "traitement",
216      array(      "title" => _("numero manuel"),
217          "href" => "../scr/tab.php?obj=nom_table",      "right" => "dossier_numeromanuel",
218          "class" => "nom_table",      "open" => "|dossier_numeromanuel",
219          "title" => _("nom_table"),  );
220          "right" => "nom_table"  //
221      ));  $links[] = array(
222  */      "href" => "../app/num_dossier.php",
223  // ========================================================================      "class" => "traitement",
224        "title" => _("remise a 0"),
225        "right" => "num_dossier",
226  // param gaux      "open" => "num_dossier.php|",
227    );
228    array_push($links,  //
229      array(  $links[] = array(
230          "href" => "../scr/tab.php?obj=architecte",      "title" => "<hr/>",
231          "class" => "architecte",      "right" => array(
232          "title" => _("architecte"),          "architecte", "architecte_tab", "service", "service_tab", "service_categorie", "service_categorie_tab", "lien_service_service_categorie", "lien_service_service_categorie_tab",
233          "right" => "architecte"           "travaux", "travaux_tab", "categorie_demandeur", "categorie_demandeur_tab",
234      ));          "destination", "destination_tab", "nature", "nature_tab", "rivoli",
235            "rivoli_tab", "civilite", "civilite_tab", "parametre", "parametre_tab",
236        ),
237    );
238    array_push($links,  //
239      array(  $links[] = array(
240          "href" => "../scr/tab.php?obj=service",      "href" => "../scr/tab.php?obj=architecte",
241          "class" => "service",      "class" => "architecte",
242          "title" => _("service"),      "title" => _("architecte"),
243          "right" => "service"      "right" => array("architecte", "architecte_tab", ),
244      ));      "open" => array("tab.php|architecte", "form.php|architecte", ),
245      );
246    array_push($links,  //
247      array(  $links[] = array(
248          "href" => "../scr/tab.php?obj=travaux",      "href" => "../scr/tab.php?obj=service",
249          "class" => "travaux",      "class" => "service",
250          "title" => _("travaux"),      "title" => _("service"),
251          "right" => "travaux"      "right" => array("service", "service_tab", ),
252      ));      "open" => array("tab.php|service", "form.php|service", ),
253    );
254    array_push($links,  $links[] = array(
255      array(      "href" => "../scr/tab.php?obj=service_categorie",
256          "href" => "../scr/tab.php?obj=regle",      "class" => "service_categorie",
257          "class" => "regle",      "title" => _("thematique des services"),
258          "title" => _("regle"),      "right" => array("service_categorie", "service_categorie_tab", ),
259          "right" => "regle"      "open" => array("tab.php|service_categorie", "form.php|service_categorie", ),
260      ));  );
261    $links[] = array(
262    array_push($links,      "href" => "../scr/tab.php?obj=lien_service_service_categorie",
263      array(      "class" => "lien_service_service_categorie",
264          "href" => "../scr/tab.php?obj=categorie_demandeur",      "title" => _("Lien service / thematique"),
265          "class" => "categorie_demandeur",      "right" => array("lien_service_service_categorie", "lien_service_service_categorie_tab", ),
266          "title" => _("categorie_demandeur"),      "open" => array("tab.php|lien_service_service_categorie", "form.php|lien_service_service_categorie", ),
267          "right" => "categorie_demandeur"  );
268      ));  //
269      $links[] = array(
270    array_push($links,      "href" => "../scr/tab.php?obj=travaux",
271      array(      "class" => "travaux",
272          "href" => "../scr/tab.php?obj=destination",      "title" => _("travaux"),
273          "class" => "destination",      "right" => array("travaux", "travaux_tab", ),
274          "title" => _("destination"),      "open" => array("tab.php|travaux", "form.php|travaux", ),
275          "right" => "destination"  );
276      ));  //
277    $links[] = array(
278    array_push($links,      "href" => "../scr/tab.php?obj=categorie_demandeur",
279      array(      "class" => "categorie_demandeur",
280          "href" => "../scr/tab.php?obj=nature",      "title" => _("categorie_demandeur"),
281          "class" => "nature",      "right" => array("categorie_demandeur", "categorie_demandeur_tab", ),
282          "title" => _("nature"),      "open" => array(
283          "right" => "nature"          "tab.php|categorie_demandeur", "form.php|categorie_demandeur",
284      ));      ),
285    );
286    array_push($links,  //
287      array(  $links[] = array(
288          "href" => "../scr/tab.php?obj=rivoli",      "href" => "../scr/tab.php?obj=destination",
289          "class" => "rivoli",      "class" => "destination",
290          "title" => _("rivoli"),      "title" => _("destination"),
291          "right" => "rivoli"      "right" => array("destination", "destination_tab", ),
292      ));      "open" => array("tab.php|destination", "form.php|destination", ),
293    );
294    array_push($links,  //
295      array(  $links[] = array(
296          "href" => "../scr/tab.php?obj=civilite",      "href" => "../scr/tab.php?obj=nature",
297          "class" => "civilite",      "class" => "nature",
298          "title" => _("civilite"),      "title" => _("nature"),
299          "right" => "civilite"      "right" => array("nature", "nature_tab", ),
300      ));      "open" => array("tab.php|nature", "form.php|nature", ),
301    );
302    //
303    $links[] = array(
304        "href" => "../scr/tab.php?obj=rivoli",
305    array_push($links,      "class" => "rivoli",
306      array(      "title" => _("rivoli"),
307          "href" => "../scr/tab.php?obj=parametre",      "right" => array("rivoli", "rivoli_tab", ),
308          "class" => "parametre",      "open" => array("tab.php|rivoli", "form.php|rivoli", ),
309          "title" => _("parametre")." "._("statistique"),  );
310          "right" => "parametre"  //
311      ));  $links[] = array(
312        "href" => "../scr/tab.php?obj=civilite",
313        "class" => "civilite",
314        "title" => _("civilite"),
315  // workflows      "right" => array("civilite", "civilite_tab", ),
316      array_push($links,      "open" => array("tab.php|civilite", "form.php|civilite", ),
317      array(  );
318          "title" => "<hr/>",  //
319          "right" => array("action_tab", "transition_tab", "etat_tab",  $links[] = array(
320                           "evenement_tab", "bible", "avis")      "href" => "../scr/tab.php?obj=parametre",
321      ));      "class" => "parametre",
322        "title" => _("parametre")." "._("statistique"),
323    array_push($links,      "right" => array("parametre", "parametre_tab", ),
324      array(      "open" => array("tab.php|parametre", "form.php|parametre", ),
325          "href" => "../scr/tab.php?obj=action",  );
326          "class" => "action",  //
327          "title" => _("action"),  $links[] = array(
328          "right" => "action"      "class" => "category",
329      ));      "title" => _("workflows"),
330        "right" => array(
331    array_push($links,          "action", "action_tab", "transition", "transition_tab", "etat",
332      array(          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
333          "href" => "../scr/tab.php?obj=transition",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
334          "class" => "transition",      ),
335          "title" => _("transition"),  );
336          "right" => "transition"  //
337      ));  $links[] = array(
338          "title" => "<hr/>",
339      array_push($links,      "right" => array(
340      array(          "action", "action_tab", "transition", "transition_tab", "etat",
341          "href" => "../scr/tab.php?obj=etat",          "etat_tab", "evenement", "evenement_tab", "bible", "bible_tab", "avis_decision",
342          "class" => "etat",          "avis_decision_tab", "avis_consultation", "avis_consultation_tab",
343          "title" => _("etat"),      ),
344          "right" => "etat"  );
345      ));  //
346    $links[] = array(
347      array_push($links,      "href" => "../scr/tab.php?obj=action",
348        array(      "class" => "action",
349            "href" => "../scr/tab.php?obj=evenement",      "title" => _("action"),
350            "class" => "evenement",      "right" => array("action", "action_tab", ),
351            "title" => _("evenement"),      "open" => array("tab.php|action", "form.php|action", ),
352            "right" => "evenement"  );
353        ));  //
354        $links[] = array(
355      array_push($links,      "href" => "../scr/tab.php?obj=transition",
356      array(      "class" => "transition",
357          "href" => "../scr/tab.php?obj=bible",      "title" => _("transition"),
358          "class" => "bible",      "right" => array("transition", "transition_tab", ),
359          "title" => _("bible"),      "open" => array("tab.php|transition", "form.php|transition", ),
360          "right" => "bible"  );
361      ));  //
362          $links[] = array(
363      array_push($links,      "href" => "../scr/tab.php?obj=etat",
364      array(      "class" => "etat",
365          "href" => "../scr/tab.php?obj=avis",      "title" => _("etat"),
366          "class" => "avis",      "right" => array("etat", "etat_tab", ),
367          "title" => _("avis"),      "open" => array("tab.php|etat", "form.php|etat", ),
368          "right" => "avis"  );
369      ));  //
370    $links[] = array(
371        "href" => "../scr/tab.php?obj=evenement",
372        "class" => "evenement",
373        "title" => _("evenement"),
374        "right" => array("evenement", "evenement_tab", ),
375        "open" => array("tab.php|evenement", "form.php|evenement", ),
376    );
377    //
378    $links[] = array(
379        "href" => "../scr/tab.php?obj=bible",
380        "class" => "bible",
381        "title" => _("bible"),
382        "right" => array("bible", "bible_tab", ),
383        "open" => array("tab.php|bible", "form.php|bible", ),
384    );
385    //
386    $links[] = array(
387        "href" => "../scr/tab.php?obj=avis_decision",
388        "class" => "avis_decision",
389        "title" => _("avis decision"),
390        "right" => array("avis_decision", "avis_decision_tab", ),
391        "open" => array("tab.php|avis_decision", "form.php|avis_decision", ),
392    );
393    //
394    $links[] = array(
395        "href" => "../scr/tab.php?obj=avis_consultation",
396        "class" => "avis_consultation",
397        "title" => _("avis consultation"),
398        "right" => array("avis_consultation", "avis_consultation_tab", ),
399        "open" => array("tab.php|avis_consultation", "form.php|avis_consultation", ),
400    );
401    //
402    $links[] = array(
403        "class" => "category",
404        "title" => _("editions"),
405        "right" => array(
406            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
407            "om_lettretype", "om_lettretype_tab",
408        ),
409    );
410    //
411    $links[] = array(
412        "title" => "<hr/>",
413        "right" => array(
414            "om_etat", "om_etat_tab", "om_sousetat", "om_sousetat_tab",
415            "om_lettretype", "om_lettretype_tab",
416        ),
417    );
418    //
419    $links[] = array(
420        "href" => "../scr/tab.php?obj=om_etat",
421        "class" => "etat",
422        "title" => _("om_etat"),
423        "right" => array("om_etat", "om_etat_tab", ),
424        "open" => array("tab.php|om_etat", "form.php|om_etat", ),
425    );
426    //
427    $links[] = array(
428        "href" => "../scr/tab.php?obj=om_sousetat",
429        "class" => "sousetat",
430        "title" => _("om_sousetat"),
431        "right" => array("om_sousetat", "om_sousetat_tab", ),
432        "open" => array("tab.php|om_sousetat", "form.php|om_sousetat", ),
433    );
434    //
435    $links[] = array(
436        "href" => "../scr/tab.php?obj=om_lettretype",
437        "class" => "lettretype",
438        "title" => _("om_lettretype"),
439        "right" => array("om_lettretype", "om_lettretype_tab"),
440        "open" => array("tab.php|om_lettretype", "form.php|om_lettretype", ),
441    );
442    //
443  $rubrik['links'] = $links;  $rubrik['links'] = $links;
444  array_push($menu, $rubrik);  //
445    $menu[] = $rubrik;
446  // sig  // }}}
447    
448    // {{{ Rubrique SIG
449    //
450  $rubrik = array(  $rubrik = array(
451      "title" => _("SIG"),      "title" => _("sig"),
452      "class" => "sig",      "class" => "sig",
453      "right" => "menu_sig",      "right" => "menu_sig",
454  );  );
455    //
456  $links = array();  $links = array();
457    array_push($links,  //
458      array(  $links[] = array(
459          "href" => "../scr/tab.php?obj=parcelle",      "href" => "../scr/tab.php?obj=parcelle",
460          "class" => "parcelle",      "class" => "parcelle",
461          "title" => _("parcelle"),      "title" => _("parcelle"),
462          "right" => "parcelle"      "right" => array("parcelle", "parcelle_tab"),
463      ));      "open" => array("tab.php|parcelle", "form.php|parcelle", ),
464    );
465    array_push($links,  //
466      array(  $links[] = array(
467          "href" => "../scr/tab.php?obj=proprietaire",      "href" => "../scr/tab.php?obj=proprietaire",
468          "class" => "proprietaire",      "class" => "proprietaire",
469          "title" => _("proprietaire"),      "title" => _("proprietaire"),
470          "right" => "proprietaire"      "right" => array("proprietaire", "proprietaire_tab"),
471      ));      "open" => array("tab.php|proprietaire", "form.php|proprietaire", ),
472    );
473    //
474    $links[] = array(
475          "class" => "category",
476    // servitudes      "title" => _("servitudes"),
477    array_push($links,      "right" => array(
478      array(          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
479          "title" => "<hr/>",          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
480          "right" => array("pos_tab", "servitude_tab", "servitude_tab", "servitude_tab")          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
481      ));      ),
482      array_push($links,  );
483      array(  //
484          "href" => "../scr/tab.php?obj=pos",  $links[] = array(
485          "class" => "pos",      "title" => "<hr/>",
486          "title" => _("pos"),      "right" => array(
487          "right" => "pos"          "pos", "pos_tab", "servitude_surfacique", "servitude_surfacique_tab",
488      ));          "servitude_ligne", "servitude_ligne_tab", "servitude_point",
489    array_push($links,          "servitude_point_tab", "parcelle_lot", "parcelle_lot_tab",
490      array(      ),
491          "href" => "../scr/tab.php?obj=servitude_surfacique",  );
492          "class" => "servitude",  //
493          "title" => _("servitude")." "._("surfacique"),  $links[] = array(
494          "right" => "servitude"      "href" => "../scr/tab.php?obj=pos",
495      ));      "class" => "pos",
496    array_push($links,      "title" => _("pos"),
497      array(      "right" => array("pos", "pos_tab"),
498          "href" => "../scr/tab.php?obj=servitude_ligne",      "open" => array("tab.php|pos", "form.php|pos", ),
499          "class" => "servitude",  );
500          "title" => _("servitude")." "._("ligne"),  //
501          "right" => "servitude"  $links[] = array(
502      ));      "href" => "../scr/tab.php?obj=servitude_surfacique",
503    array_push($links,      "class" => "servitude_surfacique",
504      array(      "title" => _("servitude_surfacique"),
505          "href" => "../scr/tab.php?obj=servitude_point",      "right" => array("servitude_surfacique", "servitude_surfacique_tab"),
506          "class" => "servitude",      "open" => array(
507          "title" => _("servitude")." "._("point"),          "tab.php|servitude_surfacique", "form.php|servitude_surfacique",
508          "right" => "servitude"      ),
509      ));  );
510    //
511    array_push($links,  $links[] = array(
512      array(      "href" => "../scr/tab.php?obj=servitude_ligne",
513          "href" => "../scr/tab.php?obj=parcelle_lot",      "class" => "servitude_ligne",
514          "class" => "parcelle",      "title" => _("servitude_ligne"),
515          "title" => _("parcelle")." "._("lot"),      "right" => array("servitude_ligne", "servitude_ligne_tab"),
516          "right" => "parcelle_lot"      "open" => array("tab.php|servitude_ligne", "form.php|servitude_ligne", ),
517      ));  );
518    //
519    $links[] = array(
520        "href" => "../scr/tab.php?obj=servitude_point",
521        "class" => "servitude_point",
522        "title" => _("servitude_point"),
523        "right" => array("servitude_point", "servitude_point_tab"),
524        "open" => array("tab.php|servitude_point", "form.php|servitude_point", ),
525    );
526    //
527    $links[] = array(
528        "href" => "../scr/tab.php?obj=parcelle_lot",
529        "class" => "parcelle_lot",
530        "title" => _("parcelle_lot"),
531        "right" => array("parcelle_lot", "parcelle_lot_tab"),
532        "open" => array("tab.php|parcelle_lot", "form.php|parcelle_lot", ),
533    );
534    //
535  $rubrik['links'] = $links;  $rubrik['links'] = $links;
536  array_push($menu, $rubrik);  //
537    $menu[] = $rubrik;
538    // }}}
539    
540  // {{{ Rubrique ADMINISTRATION  // {{{ Rubrique ADMINISTRATION
541  //  //
542  $rubrik = array(  $rubrik = array(
543      "title" => _("Administration"),      "title" => _("administration"),
544      "class" => "administration",      "class" => "administration",
545      "right" => "menu_administration",      "right" => "menu_administration",
546  );  );
547  //  //
548  $links = array();  $links = array();
549  array_push($links,  //
550      array(  $links[] = array(
551          "href" => "../scr/tab.php?obj=om_collectivite",      "href" => "../scr/tab.php?obj=om_collectivite",
552          "class" => "collectivite",      "class" => "collectivite",
553          "title" => _("om_collectivite"),      "title" => _("om_collectivite"),
554          "right" => "om_collectivite_tab"      "right" => array("om_collectivite", "om_collectivite_tab", ),
555      ));      "open" => array("tab.php|om_collectivite", "form.php|om_collectivite", ),
556  array_push($links,  );
557      array(  //
558          "href" => "../scr/tab.php?obj=om_parametre",  $links[] = array(
559          "class" => "collectivite",      "href" => "../scr/tab.php?obj=om_parametre",
560          "title" => _("om_parametre"),      "class" => "parametre",
561          "right" => "om_parametre_tab"      "title" => _("om_parametre"),
562      ));      "right" => array("om_parametre", "om_parametre_tab", ),
563        "open" => array("tab.php|om_parametre", "form.php|om_parametre", ),
564    );
565  array_push($links,  //
566      array(  $links[] = array(
567          "title" => "<hr/>",      "class" => "category",
568          "right" => array("om_utilisateur_tab", "om_profil_tab", "om_droit_tab")      "title" => _("gestion des utilisateurs"),
569      ));      "right" => array(
570  array_push($links,          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
571      array(          "om_droit", "om_droit_tab", "directory",
572          "href" => "../scr/tab.php?obj=om_profil",      ),
573          "class" => "profil",  );
574          "title" => _("om_profil"),  //
575          "right" => "om_profil_tab"  $links[] = array(
576      ));      "title" => "<hr/>",
577  array_push($links,      "right" => array(
578      array(          "om_utilisateur", "om_utilisateur_tab", "om_profil", "om_profil_tab",
579          "href" => "../scr/tab.php?obj=om_droit",          "om_droit", "om_droit_tab",
580          "class" => "droit",      ),
581          "title" => _("om_droit"),  );
582          "right" => "om_droit_multi"  //
583      ));  $links[] = array(
584  array_push($links,      "href" => "../scr/tab.php?obj=om_profil",
585      array(      "class" => "profil",
586          "href" => "../scr/tab.php?obj=om_utilisateur",      "title" => _("om_profil"),
587          "class" => "utilisateur",      "right" => array("om_profil", "om_profil_tab", ),
588          "title" => _("om_utilisateur"),      "open" => array("tab.php|om_profil", "form.php|om_profil", ),
589          "right" => "om_utilisateur_tab"  );
590      ));  //
591  array_push($links,  $links[] = array(
592      array(      "href" => "../scr/tab.php?obj=om_droit",
593          "title" => "<hr/>",      "class" => "droit",
594          "right" => array("om_etat_tab", "om_sousetat_tab", "om_lettretype_tab"),      "title" => _("om_droit"),
595      ));      "right" => array("om_droit", "om_droit_tab", ),
596  array_push($links,      "open" => array("tab.php|om_droit", "form.php|om_droit", ),
597      array(  );
598          "href" => "../scr/tab.php?obj=om_etat",  //
599          "class" => "etat",  $links[] = array(
600          "title" => _("om_etat"),      "href" => "../scr/tab.php?obj=om_utilisateur",
601          "right" => "om_etat_tab"      "class" => "utilisateur",
602      ));      "title" => _("om_utilisateur"),
603  array_push($links,      "right" => array("om_utilisateur", "om_utilisateur_tab", ),
604      array(      "open" => array("tab.php|om_utilisateur", "form.php|om_utilisateur", ),
605          "href" => "../scr/tab.php?obj=om_sousetat",  );
606          "class" => "sousetat",  //
607          "title" => _("om_sousetat"),  $links[] = array(
608          "right" => "om_sousetat_tab"      "title" => "<hr/>",
609      ));      "right" => array("directory", ),
610  array_push($links,      "parameters" => array("isDirectoryOptionEnabled" => true, ),
611      array(  );
612          "href" => "../scr/tab.php?obj=om_lettretype",  //
613          "class" => "lettretype",  $links[] = array(
614          "title" => _("om_lettretype"),      "href" => "../scr/directory.php",
615          "right" => "om_lettretype_tab"      "class" => "directory",
616      ));      "title" => _("annuaire"),
617  array_push($links,      "right" => array("directory", ),
618      array(      "open" => array("directory.php|", ),
619          "href" => "../scr/tab.php?obj=om_sig_point",      "parameters" => array("isDirectoryOptionEnabled" => true, ),
620          "class" => "om_sig_point",  );
621          "title" => _("om SIG"),  //
622          "right" => "om_sig_point_tab"  $links[] = array(
623      ));      "class" => "category",
624  array_push($links,      "title" => _("tableaux de bord"),
625      array(      "right" => array("om_widget", "om_widget_tab", ),
626          "href" => "../scr/tab.php?obj=om_widget",  );
627          "class" => "om_widget",  //
628          "title" => _("widget"),  $links[] = array(
629          "right" => "om_widget"      "title" => "<hr/>",
630      ));      "right" => array("om_widget", "om_widget_tab", ),
631  array_push($links,  );
632      array(  //
633          "title" => "<hr/>",  $links[] = array(
634          "right" => array("import"),      "href" => "../scr/tab.php?obj=om_widget",
635      ));      "class" => "om_widget",
636  array_push($links,      "title" => _("widget"),
637      array(      "right" => array("om_widget", "om_widget_tab", ),
638          "href" => "../scr/import.php",      "open" => array("tab.php|om_widget", "form.php|om_widget", ),
639          "class" => "import",  );
640          "title" => _("Import"),  //
641          "right" => "import"  $links[] = array(
642      ));      "class" => "category",
643        "title" => _("sig"),
644  array_push($links,      "right" => array(
645      array(          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
646          "title" => "<hr/>",      ),
647          "right" => array("gen"),  );
648      ));  //
649  array_push($links,  $links[] = array(
650      array(      "title" => "<hr/>",
651          "title" => _("Generateur"),      "right" => array(
652          "href" => "../scr/gen.php",          "om_sig_map", "om_sig_map_tab", "om_sig_wms", "om_sig_wms_tab",
653          "class" => "generator",      ),
654          "right" => "gen",  );
655      ));  //
656    $links[] = array(
657        "href" => "../scr/tab.php?obj=om_sig_map",
658        "class" => "om_sig_map",
659        "title" => _("om_sig_map"),
660        "right" => array("om_sig_map", "om_sig_map_tab", ),
661        "open" => array("tab.php|om_sig_map", "form.php|om_sig_map", ),
662    );
663    //
664    $links[] = array(
665        "href" => "../scr/tab.php?obj=om_sig_wms",
666        "class" => "om_sig_wms",
667        "title" => _("om_sig_wms"),
668        "right" => array("om_sig_wms", "om_sig_wms_tab", ),
669        "open" => array("tab.php|om_sig_wms", "form.php|om_sig_wms", ),
670    );
671    //
672    $links[] = array(
673        "class" => "category",
674        "title" => _("options avancees"),
675        "right" => array("import", "gen", ),
676    );
677    //
678    $links[] = array(
679        "title" => "<hr/>",
680        "right" => array("import", ),
681    );
682    //
683    $links[] = array(
684        "href" => "../scr/import.php",
685        "class" => "import",
686        "title" => _("Import"),
687        "right" => array("import", ),
688        "open" => array("import.php|", ),
689    );
690    //
691    $links[] = array(
692        "title" => "<hr/>",
693        "right" => array("gen", ),
694    );
695    //
696    $links[] = array(
697        "title" => _("Generateur"),
698        "href" => "../scr/gen.php",
699        "class" => "generator",
700        "right" => array("gen", ),
701        "open" => array(
702            "gen.php|","genauto.php|", "gensup.php|", "genfull.php|",
703            "genetat.php|", "gensousetat.php|", "genlettretype.php|",
704            "genimport.php|",
705        ),
706    );
707    //
708  $rubrik['links'] = $links;  $rubrik['links'] = $links;
709  array_push($menu, $rubrik);  //
710    $menu[] = $rubrik;
711  // }}}  // }}}
712    
713  ?>  ?>

Legend:
Removed from v.204  
changed lines
  Added in v.491

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26