| Line 17... |
Line 17... |
| 17 |
// | |
|
17 |
// | |
|
| 18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
| 19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
| 20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
| 22 |
// CVS : $Id: plan.php,v 1.3 2005-04-19 17:21:02 jpm Exp $
|
22 |
// CVS : $Id: plan.php,v 1.4 2005-10-14 11:49:51 alexandre_tb Exp $
|
| 23 |
/**
|
23 |
/**
|
| 24 |
* Application réalisant le plan d'un site web géré par Papyrus.
|
24 |
* Application réalisant le plan d'un site web géré par Papyrus.
|
| 25 |
*
|
25 |
*
|
| 26 |
* Construit une liste de listes représentant le plans des sites web gérés par Papyrus.
|
26 |
* Construit une liste de listes représentant le plans des sites web gérés par Papyrus.
|
| 27 |
* Cette application est fortement dépendante de Papyrus puisqu'elle se base sur
|
27 |
* Cette application est fortement dépendante de Papyrus puisqu'elle se base sur
|
| Line 31... |
Line 31... |
| 31 |
//Auteur original :
|
31 |
//Auteur original :
|
| 32 |
*@author Alexandre GRANIER <alexandrel@tela-botanica.org>
|
32 |
*@author Alexandre GRANIER <alexandrel@tela-botanica.org>
|
| 33 |
//Autres auteurs :
|
33 |
//Autres auteurs :
|
| 34 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
34 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
| 35 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@copyright Tela-Botanica 2000-2004
|
| 36 |
*@version $Revision: 1.3 $ $Date: 2005-04-19 17:21:02 $
|
36 |
*@version $Revision: 1.4 $ $Date: 2005-10-14 11:49:51 $
|
| 37 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
| 38 |
*/
|
38 |
*/
|
| Line 39... |
Line 39... |
| 39 |
|
39 |
|
| 40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 79... |
Line 79... |
| 79 |
$aso_sites = GEN_lireInfoSites($bdd, DB_FETCHMODE_ASSOC);
|
79 |
$aso_sites = GEN_lireInfoSites($bdd, DB_FETCHMODE_ASSOC);
|
| 80 |
$retour .= '<h1 id="titre_page">'.'Plan des sites'.'</h1>'."\n";
|
80 |
$retour .= '<h1 id="titre_page">'.'Plan des sites'.'</h1>'."\n";
|
| 81 |
}
|
81 |
}
|
| Line 82... |
Line 82... |
| 82 |
|
82 |
|
| - |
|
83 |
foreach ($aso_sites as $cle => $site) {
|
| - |
|
84 |
// On ignore le site admin
|
| - |
|
85 |
if ($site['gs_code_alpha'] == 'admin') continue;
|
| 83 |
foreach ($aso_sites as $cle => $site) {
|
86 |
|
| 84 |
if (count($aso_sites) > 1) {
|
87 |
if (count($aso_sites) > 1) {
|
| 85 |
if (!empty($site['gs_titre'])) {
|
88 |
if (!empty($site['gs_titre'])) {
|
| 86 |
$titre = $site['gs_titre'];
|
89 |
$titre = $site['gs_titre'];
|
| 87 |
} else {
|
90 |
} else {
|
| Line 149... |
Line 152... |
| 149 |
|
152 |
|
| 150 |
|
153 |
|
| 151 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
154 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| - |
|
155 |
*
|
| - |
|
156 |
* $Log: not supported by cvs2svn $
|
| - |
|
157 |
* Revision 1.3 2005/04/19 17:21:02 jpm
|
| - |
|
158 |
* Amélioration de l'application.
|
| 152 |
*
|
159 |
* Gestion des dates de fin de validité des menus.
|
| 153 |
* $Log: not supported by cvs2svn $
|
160 |
*
|
| 154 |
* Revision 1.2 2005/02/28 10:38:24 jpm
|
161 |
* Revision 1.2 2005/02/28 10:38:24 jpm
|
| 155 |
* Modification de l'utilisation d'une variable globale.
|
162 |
* Modification de l'utilisation d'une variable globale.
|
| 156 |
*
|
163 |
*
|