From: x2000habouzit Date: Mon, 9 Feb 2004 16:35:49 +0000 (+0000) Subject: scripts roots X-Git-Tag: xorg/old~1881 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8a4629984964a8be28d4d07ce2496fd77e57e9a4;p=platal.git scripts roots --- diff --git a/etat_migration b/etat_migration index eb54c57..19f7fc2 100644 --- a/etat_migration +++ b/etat_migration @@ -16,8 +16,6 @@ ------+-------------------------------------------+---------------- Etat | Ancien nom | Nouveau nom ------+-[ admin ]---------------------------------+---------------- - | admin/FormatePrenomNOM.php | scripts/ - | admin/FormatePrenomNOM2.php | scripts/ | admin/admin_faqs.php | | admin/admin_trombino.php | | admin/comptesPOP.php | @@ -145,6 +143,8 @@ xx | acces_smtp.php | - xx | acces_wap.php | - xx | admin/ax-xorg.php | - xx | admin/deces_promo.php | - +xx | admin/FormatePrenomNOM2.php | scripts/ +xx | admin/FormatePrenomNOM.php | scripts/ xx | admin/graph_promo.php | stats/graph_promo.php xx | admin/index.php | - xx | admin/postfix_blacklist.php | - diff --git a/scripts/FormatePrenomNOM.php b/scripts/FormatePrenomNOM.php new file mode 100644 index 0000000..7f88b31 --- /dev/null +++ b/scripts/FormatePrenomNOM.php @@ -0,0 +1,35 @@ + +>>>> $prenom $nom
"; + $prenom = addslashes($prenom); + $nom = addslashes($nom); + //mysql_query("UPDATE auth_user_md5 SET prenom='$prenom',nom='$nom' WHERE user_id=$uid"); + } + +} + +?> diff --git a/scripts/FormatePrenomNOM2.php b/scripts/FormatePrenomNOM2.php new file mode 100644 index 0000000..5047061 --- /dev/null +++ b/scripts/FormatePrenomNOM2.php @@ -0,0 +1,39 @@ + +>>>> $prenom $nom
"; + $prenom = addslashes($prenom); + $nom = addslashes($nom); + //mysql_query("UPDATE identification SET prenom='$prenom',nom='$nom' WHERE matricule='$uid'"); + } + +} + +?>