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.fonct.spip.php,v 1.1 2005-09-22 14:02:49 ddelon Exp $ |
// CVS : $Id: inscription.fonct.spip.php,v 1.2 2006-03-15 11:03:34 alexandre_tb Exp $ |
/** |
* Fonctions wikini |
* |
32,7 → 32,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.1 $ $Date: 2005-09-22 14:02:49 $ |
*@version $Revision: 1.2 $ $Date: 2006-03-15 11:03:34 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
55,7 → 55,7 |
} |
$requete = "insert into spip_auteurs set id_auteur=$id, nom=\"".$valeur['prenom']." ".$valeur['nom']. |
"\",email=\"".$valeur['email']."\",login=\"".$login. |
"\", pass=\"".md5($valeur['password'])."\", statut=\"nouveau\", lang=\"". |
"\", pass=\"".md5($valeur['mot_de_passe'])."\", statut=\"nouveau\", lang=\"". |
strtolower($valeur['pays'])."\"" ; |
@mysql_query($requete) or die ("$requete<br>Echec <br>".mysql_error()) ; |
} |
70,7 → 70,7 |
//BIEN METTRE alea_actuel, htpass ET alea_futur À "" |
$requete = "update spip_auteurs set nom=\"".$valeur['prenom']." ".$valeur['nom']. |
"\",email=\"".$valeur['email']."\",login=\"".$login. |
"\", pass=\"".md5($valeur['password'])."\", htpass=\"\", alea_actuel=\"\", alea_futur=\"\", lang=\"fr\" where id_auteur=$id" ; |
"\", pass=\"".md5($valeur['mot_de_passe'])."\", htpass=\"\", alea_actuel=\"\", alea_futur=\"\", lang=\"fr\" where id_auteur=$id" ; |
//echo $requete; |
@mysql_query($requete) or die ("$requete<br>Echec <br>".mysql_error()) ; |
} |
82,7 → 82,7 |
|
function spip_cookie() { |
if ($userid != 0) { |
setcookie("spip_admin", "@$login", time()+3600*24*30, "/vecam/") ; |
setcookie("spip_admin", "@$login", time()+3600*24*30, INS_CHEMIN_SPIP) ; |
include ("ecrire/inc_version.php3"); |
include_ecrire ("inc_meta.php3"); |
include_ecrire ("inc_session.php3"); |
106,6 → 106,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.1 2005/09/22 14:02:49 ddelon |
* nettoyage annuaire et php5 |
* |
* Revision 1.4 2005/09/22 13:30:49 florian |
* modifs pour compatibilité XHTML Strict + corrections de bugs (mais ya encore du boulot!!) |
* |