Subversion Repositories Applications.papyrus

Rev

Rev 460 | Rev 754 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 460 Rev 546
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.24 2005-09-23 14:32:54 florian Exp $
22
// CVS : $Id: adsi_site.fonct.php,v 1.25 2005-10-17 13:48:59 jp_milcent 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.24 $ $Date: 2005-09-23 14:32:54 $
37
*@version       $Revision: 1.25 $ $Date: 2005-10-17 13:48:59 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 437... Line 437...
437
        if (DB::isError($resultat_admin)) {
437
        if (DB::isError($resultat_admin)) {
438
            die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat_admin->getMessage(), $requete_admin));
438
            die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat_admin->getMessage(), $requete_admin));
439
        }
439
        }
440
        $ligne_admin = $resultat_admin->fetchRow(DB_FETCHMODE_OBJECT);
440
        $ligne_admin = $resultat_admin->fetchRow(DB_FETCHMODE_OBJECT);
441
        if (isset($ligne_admin)) {
441
        if (isset($ligne_admin)) {
442
        	$info_admin =   '<p class="info">Site créé le '.$aso_valeurs['gs_date_creation'].'. Dernière modification par'.
442
        	$info_admin =   '<p class="info">Site créé le '.$aso_valeurs['gs_date_creation'].'. Dernière modification par '.
443
                        $ligne_admin->ga_prenom.' '.$ligne_admin->ga_nom.'.'.'</p>';
443
                        $ligne_admin->ga_prenom.' '.$ligne_admin->ga_nom.'.'.'</p>';
444
        	$form->addElement('html', $info_admin);
444
        	$form->addElement('html', $info_admin);
445
        	$form->addElement('hidden', 'gs_ce_admin');
445
        	$form->addElement('hidden', 'gs_ce_admin');
446
        	$form->addElement('hidden', 'gs_date_creation');
446
        	$form->addElement('hidden', 'gs_date_creation');
447
        }
447
        }
Line 1162... Line 1162...
1162
}
1162
}
Line 1163... Line 1163...
1163
 
1163
 
1164
// +- Fin du code source  --------------------------------------------------------------------------------+
1164
// +- Fin du code source  --------------------------------------------------------------------------------+
1165
/*
1165
/*
-
 
1166
* $Log: not supported by cvs2svn $
-
 
1167
* Revision 1.24  2005/09/23 14:32:54  florian
-
 
1168
* compatibilité XHTML + correction interface
1166
* $Log: not supported by cvs2svn $
1169
*
1167
* Revision 1.23  2005/09/20 17:01:22  ddelon
1170
* Revision 1.23  2005/09/20 17:01:22  ddelon
1168
* php5 et bugs divers
1171
* php5 et bugs divers
1169
*
1172
*
1170
* Revision 1.22  2005/05/27 16:06:16  jpm
1173
* Revision 1.22  2005/05/27 16:06:16  jpm