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