1 |
<?php |
2 |
/** |
3 |
* Ce fichier permet de configurer les liens presents dans le footer |
4 |
* |
5 |
* @package openmairie_exemple |
6 |
* @version SVN: $Id: footer.inc.php 100 2010-09-09 08:29:29Z fmichon $ |
7 |
*/ |
8 |
|
9 |
/** |
10 |
* $footer est le tableau associatif qui contient tous les liens presents dans |
11 |
* le footer de l'application |
12 |
* |
13 |
* Caracteristiques : |
14 |
* --- tableau link |
15 |
* - title [obligatoire] |
16 |
* - description (texte qui s'affiche au survol de l'element) |
17 |
* - href [obligatoire] (contenu du lien href) |
18 |
* - class (classe css qui s'affiche sur l'element) |
19 |
* - right (droit que l'utilisateur doit avoir pour visionner cet element) |
20 |
* - target (pour ouvrir le lien dans une nouvelle fenetre) |
21 |
*/ |
22 |
$footer = array(); |
23 |
|
24 |
// Template |
25 |
/* |
26 |
$link = array( |
27 |
"title" => _(""), |
28 |
"description" => _(""), |
29 |
"href" => "", |
30 |
"target" => "", |
31 |
"class" => "", |
32 |
); |
33 |
array_push($footer, $link); |
34 |
*/ |
35 |
|
36 |
// Documentation du site |
37 |
$link = array( |
38 |
"title" => _("Documentation"), |
39 |
"description" => _("Acceder a l'espace documentation de l'application"), |
40 |
"href" => "http://www.openmairie.org/documentation", |
41 |
"target" => "_blank", |
42 |
"class" => "footer-documentation", |
43 |
); |
44 |
array_push($footer, $link); |
45 |
|
46 |
// Portail openMairie |
47 |
$link = array( |
48 |
"title" => _("openMairie.org"), |
49 |
"description" => _("Site officiel du projet openMairie"), |
50 |
"href" => "http://www.openmairie.org/", |
51 |
"target" => "_blank", |
52 |
"class" => "footer-openmairie", |
53 |
); |
54 |
array_push($footer, $link); |
55 |
|
56 |
?> |