| Line 38... |
Line 38... |
| 38 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
38 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
| 39 |
//Autres auteurs :
|
39 |
//Autres auteurs :
|
| 40 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
40 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
| 41 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
41 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
| 42 |
*@copyright Tela-Botanica 2000-2004
|
42 |
*@copyright Tela-Botanica 2000-2004
|
| 43 |
*@version $Revision: 1.7 $ $Date: 2005-02-28 11:07:05 $
|
43 |
*@version $Revision: 1.8 $ $Date: 2005-02-28 13:09:17 $
|
| 44 |
// +------------------------------------------------------------------------------------------------------+
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
| 45 |
//
|
45 |
//
|
| 46 |
// $Id: admin_site.php,v 1.7 2005-02-28 11:07:05 jpm Exp $
|
46 |
// $Id: admin_site.php,v 1.8 2005-02-28 13:09:17 jpm Exp $
|
| 47 |
// FICHIER : $RCSfile: admin_site.php,v $
|
47 |
// FICHIER : $RCSfile: admin_site.php,v $
|
| 48 |
// AUTEUR : $Author: jpm $
|
48 |
// AUTEUR : $Author: jpm $
|
| 49 |
// VERSION : $Revision: 1.7 $
|
49 |
// VERSION : $Revision: 1.8 $
|
| 50 |
// DATE : $Date: 2005-02-28 11:07:05 $
|
50 |
// DATE : $Date: 2005-02-28 13:09:17 $
|
| 51 |
// +------------------------------------------------------------------------------------------------------+
|
51 |
// +------------------------------------------------------------------------------------------------------+
|
| 52 |
**/
|
52 |
**/
|
| Line 53... |
Line 53... |
| 53 |
|
53 |
|
| 54 |
// +------------------------------------------------------------------------------------------------------+
|
54 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 186... |
Line 186... |
| 186 |
// +----------------------------------------------------------------------------------------------+
|
186 |
// +----------------------------------------------------------------------------------------------+
|
| 187 |
// Gestion des sites...
|
187 |
// Gestion des sites...
|
| 188 |
if ($bool_site) {
|
188 |
if ($bool_site) {
|
| 189 |
if (isset($_POST['form_sites_ajouter'])) {
|
189 |
if (isset($_POST['form_sites_ajouter'])) {
|
| 190 |
// Nous voulons le formulaire d'ajout d'un site
|
190 |
// Nous voulons le formulaire d'ajout d'un site
|
| 191 |
$sortie_xhtml .= ADMIN_afficherFormSite($GLOBALS['_GEN_commun']['pear_db'] $url);
|
191 |
$sortie_xhtml .= ADMIN_afficherFormSite($GLOBALS['_GEN_commun']['pear_db'], $url);
|
| 192 |
return $sortie_xhtml;
|
192 |
return $sortie_xhtml;
|
| 193 |
} else if (isset($_POST['site_enregistrer'])) {
|
193 |
} else if (isset($_POST['site_enregistrer'])) {
|
| 194 |
// Nous cherchons à enregistrer un site
|
194 |
// Nous cherchons à enregistrer un site
|
| 195 |
$message = ADMIN_validerFormSite($GLOBALS['_GEN_commun']['pear_db'], $_POST);
|
195 |
$message = ADMIN_validerFormSite($GLOBALS['_GEN_commun']['pear_db'], $_POST);
|
| 196 |
if (!empty($message)) {
|
196 |
if (!empty($message)) {
|
| Line 292... |
Line 292... |
| 292 |
}
|
292 |
}
|
| 293 |
}//Fin de la fonction afficherContenuCorps().
|
293 |
}//Fin de la fonction afficherContenuCorps().
|
| Line 294... |
Line 294... |
| 294 |
|
294 |
|
| 295 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
295 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
| - |
|
296 |
* $Log: not supported by cvs2svn $
|
| - |
|
297 |
* Revision 1.7 2005/02/28 11:07:05 jpm
|
| - |
|
298 |
* Modification des auteurs.
|
| 296 |
* $Log: not supported by cvs2svn $
|
299 |
*
|
| 297 |
* Revision 1.6 2005/02/28 10:58:38 jpm
|
300 |
* Revision 1.6 2005/02/28 10:58:38 jpm
|
| 298 |
* Suppression de code inutile.
|
301 |
* Suppression de code inutile.
|
| 299 |
*
|
302 |
*
|
| 300 |
* Revision 1.5 2005/02/28 10:32:06 jpm
|
303 |
* Revision 1.5 2005/02/28 10:32:06 jpm
|