From: x2000habouzit Date: Thu, 2 Sep 2004 18:30:34 +0000 (+0000) Subject: login.php with no username anymore X-Git-Tag: xorg/old~1613 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=fc879994c0db73b42bc0eadd142a53754c2fe3f5;p=platal.git login.php with no username anymore --- diff --git a/htdocs/login.php b/htdocs/login.php index 708c657..0dae491 100644 --- a/htdocs/login.php +++ b/htdocs/login.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: login.php,v 1.12 2004-08-31 10:03:28 x2000habouzit Exp $ + $Id: login.php,v 1.13 2004-09-02 18:30:34 x2000habouzit Exp $ ***************************************************************************/ require("auto.prepend.inc.php"); @@ -75,7 +75,7 @@ $page->assign_by_ref('publicite', $publicite); // affichage des evenements // annonces promos triées par présence d'une limite sur les promos // puis par dates croissantes d'expiration -$sql = "SELECT e.id,e.titre,e.texte,a.username,a.nom,a.prenom,a.promo +$sql = "SELECT e.id,e.titre,e.texte,a.user_id,a.nom,a.prenom,a.promo FROM evenements AS e INNER JOIN auth_user_md5 AS a ON e.user_id=a.user_id WHERE FIND_IN_SET(flags, 'valide') AND peremption >= NOW() diff --git a/templates/login.tpl b/templates/login.tpl index dc94676..9b3c6d6 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: login.tpl,v 1.9 2004-08-31 11:25:39 x2000habouzit Exp $ + $Id: login.tpl,v 1.10 2004-09-02 18:30:34 x2000habouzit Exp $ ***************************************************************************} @@ -49,7 +49,7 @@ {dynamic on="0$fiche_incitation"}

La dernière mise à jour de ta - fiche + fiche date du {$fiche_incitation|date_format:"%x"}. Il est possible qu'elle ne soit pas à jour. Si tu souhaites la modifier, clique ici ! @@ -91,7 +91,7 @@ {$ev.texte|smarty:nodefaults|nl2br}

Annonce proposée par - + {$ev.prenom} {$ev.nom} X{$ev.promo}