19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: inscription.php,v 1.2 2005-03-02 12:44:41 alex Exp $ |
// CVS : $Id: inscription.php,v 1.3 2005-03-08 17:44:02 alex Exp $ |
/** |
* Inscription |
* |
31,7 → 31,7 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ $Date: 2005-03-02 12:44:41 $ |
*@version $Revision: 1.3 $ $Date: 2005-03-08 17:44:02 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
61,7 → 61,7 |
|
$url = preg_replace ("/&/", "&", INS_URL_DOCUMENT) ; |
if (!isset ($GLOBALS['action'])) $GLOBALS['action'] = "" ; |
$res = "" ; |
$res = '' ; |
$est_loggue = true ; |
|
if ($GLOBALS['logout'] == 1) { |
75,10 → 75,9 |
if (isset ($GLOBALS['supprimer'])) { |
$id_utilisateur = $GLOBALS['AUTH']->getAuthData(INS_CHAMPS_ID) ; |
//desinscription_interwikini_users ($GLOBALS['AUTH']->getAuthData(INS_CHAMPS_LOGIN)) ; |
$requete = "delete from ".INS_ANNUAIRE." where ".INS_CHAMPS_ID."=".$id_utilisateur; |
$resultat = $GLOBALS['AUTH']->removeUser($mail_utilisateur) ; |
|
$GLOBALS['ins_db']->query ($requete) ; |
if (DB::isError($resultat)) { |
if (PEAR::isError($resultat)) { |
die ($resultat->getMessage().'<br />'.$resultat->getDebugInfo()) ; |
} |
// Suppression dans SPIP |
158,6 → 157,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.2 2005/03/02 12:44:41 alex |
* Correction du bug message d'erreur alors qu'on tente de s'inscrire simplement |
* |
* Revision 1.1 2004/12/15 13:32:15 alex |
* version initiale |
* |