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: adsi_site.fonct.php,v 1.22 2005-05-27 16:06:16 jpm Exp $
|
22 |
// CVS : $Id: adsi_site.fonct.php,v 1.23 2005-09-20 17:01:22 ddelon Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Bibliothèque de fonctions d'admininistration des projets
|
24 |
* Bibliothèque de fonctions d'admininistration des projets
|
25 |
*
|
25 |
*
|
26 |
* Contient un ensemble de fonctions permettant à l'application Administrateur de Papyrus, de modifier des informations
|
26 |
* Contient un ensemble de fonctions permettant à l'application Administrateur de Papyrus, de modifier des informations
|
27 |
* sur les projets (=sites gérés par Papyrus).
|
27 |
* sur les projets (=sites gérés par Papyrus).
|
Line 32... |
Line 32... |
32 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
32 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
33 |
//Autres auteurs :
|
33 |
//Autres auteurs :
|
34 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
34 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
35 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
35 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
36 |
*@copyright Tela-Botanica 2000-2004
|
36 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@version $Revision: 1.22 $ $Date: 2005-05-27 16:06:16 $
|
37 |
*@version $Revision: 1.23 $ $Date: 2005-09-20 17:01:22 $
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
*/
|
39 |
*/
|
Line 40... |
Line 40... |
40 |
|
40 |
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
Line 438... |
Line 438... |
438 |
$resultat_admin = $db->query($requete_admin);
|
438 |
$resultat_admin = $db->query($requete_admin);
|
439 |
if (DB::isError($resultat_admin)) {
|
439 |
if (DB::isError($resultat_admin)) {
|
440 |
die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat_admin->getMessage(), $requete_admin));
|
440 |
die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat_admin->getMessage(), $requete_admin));
|
441 |
}
|
441 |
}
|
442 |
$ligne_admin = $resultat_admin->fetchRow(DB_FETCHMODE_OBJECT);
|
442 |
$ligne_admin = $resultat_admin->fetchRow(DB_FETCHMODE_OBJECT);
|
- |
|
443 |
if (isset($ligne_admin)) {
|
443 |
$info_admin = '<p class="info">Site créé le '.$aso_valeurs['gs_date_creation'].'. Dernière modification par'.
|
444 |
$info_admin = '<p class="info">Site créé le '.$aso_valeurs['gs_date_creation'].'. Dernière modification par'.
|
444 |
$ligne_admin->ga_prenom.' '.$ligne_admin->ga_nom.'.'.'</p>';
|
445 |
$ligne_admin->ga_prenom.' '.$ligne_admin->ga_nom.'.'.'</p>';
|
445 |
$form->addElement('html', $info_admin);
|
446 |
$form->addElement('html', $info_admin);
|
446 |
$form->addElement('hidden', 'gs_ce_admin');
|
447 |
$form->addElement('hidden', 'gs_ce_admin');
|
447 |
$form->addElement('hidden', 'gs_date_creation');
|
448 |
$form->addElement('hidden', 'gs_date_creation');
|
- |
|
449 |
}
|
Line 448... |
Line 450... |
448 |
|
450 |
|
449 |
// Titre de la page:
|
451 |
// Titre de la page:
|
450 |
$titre = 'Modifier un site';
|
452 |
$titre = 'Modifier un site';
|
451 |
// Bouton validant le formulaire
|
453 |
// Bouton validant le formulaire
|
Line 1162... |
Line 1164... |
1162 |
}
|
1164 |
}
|
Line 1163... |
Line 1165... |
1163 |
|
1165 |
|
1164 |
// +- Fin du code source --------------------------------------------------------------------------------+
|
1166 |
// +- Fin du code source --------------------------------------------------------------------------------+
|
1165 |
/*
|
1167 |
/*
|
- |
|
1168 |
* $Log: not supported by cvs2svn $
|
- |
|
1169 |
* Revision 1.22 2005/05/27 16:06:16 jpm
|
- |
|
1170 |
* Gestion des infos sur l'admin modifiant les infos.
|
1166 |
* $Log: not supported by cvs2svn $
|
1171 |
*
|
1167 |
* Revision 1.21 2005/04/08 13:29:04 jpm
|
1172 |
* Revision 1.21 2005/04/08 13:29:04 jpm
|
1168 |
* Utiliation de références.
|
1173 |
* Utiliation de références.
|
1169 |
* Correction du double & dans les urls du formulaire.
|
1174 |
* Correction du double & dans les urls du formulaire.
|
1170 |
*
|
1175 |
*
|