/trunk/classes/BOG_debogage.inc.php |
---|
New file |
0,0 → 1,59 |
<?php |
// +----------------------------------------------------------------------------+ |
// | $RCSfile: BOG_debogage.inc.php,v $ |
// +----------------------------------------------------------------------------+ |
// | Copyright (c) 2003 Tela Botanica | |
// +----------------------------------------------------------------------------+ |
// +----------------------------------------------------------------------------+ |
// |
// IDENTITE : $Id: BOG_debogage.inc.php,v 1.1 2005/02/22 12:07:13 jpm Exp $ |
// FICHIER : $RCSfile: BOG_debogage.inc.php,v $ |
// AUTEUR : $Author: jpm $ |
// VERSION : $Revision: 1.1 $ |
// DATE : $Date: 2005/02/22 12:07:13 $ |
// |
// +----------------------------------------------------------------------------+ |
/** |
* $RCSfile: BOG_debogage.inc.php,v $ - Fichier contenant des fonctions de d?bogage. |
* |
*Ce fichier contient toutes les fonctions de d?bogage. |
* |
*@package bibliotheque |
//Auteur original : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
//Autres auteurs : |
*@author |
*@copyright Copyright (C) 2003 Tela-Botanica |
*@version $Date: 2005/02/22 12:07:13 $ |
*/ |
// +----------------------------------------------------------------------------+ |
//Fonction pour le d?bogage |
function BOG_afficherErreurSql ($nom_fichier_courant, $numero_ligne_courante, $message_erreur, $requete = '', $autre = '') |
{ |
$retour_erreur = "\n"; |
$retour_erreur .= '<H3 style="text-align: center; color: red; font-weight: 600;" > ERREUR SQL </H3><br />'."\n"; |
$retour_erreur .= '<span style="color: red; font-weight: 600" > Fichier : </span> '; |
$retour_erreur .= '<span style="color: black; font-weight: normal;" > '.$nom_fichier_courant.'</span><br />'."\n"; |
$retour_erreur .= '<span style="color: red; font-weight: 600" > Ligne n? : </span> '; |
$retour_erreur .= '<span style="color: black; font-weight: normal;" > '.$numero_ligne_courante.'</span><br />'."\n"; |
$retour_erreur .= '<span style="color: red; font-weight: 600" > Message erreur : </span> '; |
$retour_erreur .= '<span style="color: black; font-weight: normal;" > '.$message_erreur.'</span><br />'."\n"; |
if ($requete != '') { |
$retour_erreur .= '<span style="color: red; font-weight: 600" > Requete : </span> '; |
$retour_erreur .= '<span style="color: black; font-weight: normal;" > '.$requete.' </span><br />'."\n"; |
} |
if ($autre != '') { |
$retour_erreur .= '<span style="color: red; font-weight: 600" > Autres infos : </span> '; |
$retour_erreur .= '<span style="color: black; font-weight: normal;" > '.$autre.' </span><br />'."\n"; |
} |
return $retour_erreur; |
} |
?> |
Property changes: |
Added: svn:executable |
/trunk/classes/gtt_authentification.php |
---|
New file |
0,0 → 1,55 |
<?php |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 4.1 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This library is free software; you can redistribute it and/or | |
// | modify it under the terms of the GNU Lesser General Public | |
// | License as published by the Free Software Foundation; either | |
// | version 2.1 of the License, or (at your option) any later version. | |
// | | |
// | This library is distributed in the hope that it will be useful, | |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
// | Lesser General Public License for more details. | |
// | | |
// | You should have received a copy of the GNU Lesser General Public | |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// |@author ABDOOL RAHEEM shaheen shaheenar50@hotmail.com | |
// |@version 3 |
/*@package gtt_general |
//Auteur original : |
*@author Dorian Bannier <dbannier@aol.com> |
//Autres auteurs : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Copyright (C) 2003 Tela-Botanica |
@version $Date: 2004/07/06 |
*/ |
// +------------------------------------------------------------------------------------------------------+ |
// +------------------------------------------------------------------------------------------------------+ |
// | INCLUSION DE FICHIERS | |
// +------------------------------------------------------------------------------------------------------+ |
include_once 'HTML/QuickForm.php'; |
// +------------------------------------------------------------------------------------------------------+ |
// | LISTE de FONCTIONS | |
// +------------------------------------------------------------------------------------------------------+ |
/** |
*fonction affichant le menu de connexion |
*/ |
function afficherMenuConnexion() |
{ |
$res=new HTML_QuickForm('login','post'); |
$res->addElement('text','username',GTT_L_AU_LOGIN); |
$res->addElement('password','password',GTT_L_AU_MDP); |
$res->addElement('submit','btn_submit',GTT_L_G_OK); |
return $res->toHtml(); |
} |
?> |
/trunk/classes/CVS/Root |
---|
New file |
0,0 → 1,0 |
:extssh:jp_milcent@adullact.net:/cvsroot/eflore |
/trunk/classes/CVS/Entries |
---|
New file |
0,0 → 1,2 |
/BOG_debogage.inc.php/1.1/Tue Feb 22 12:07:13 2005// |
/gtt_authentification.php/1.1/Tue Feb 22 12:07:13 2005// |
/trunk/classes/CVS/Repository |
---|
New file |
0,0 → 1,0 |
gestion/version_3/classes |