diff comment.php @ 23:20159d39b8f8

Correction de l'url pour l'obtention des gravatars.
author Franck Deroche <webmaster@defr.org>
date Fri, 26 Oct 2007 18:09:36 +0200
parents 6e084c604876
children b23b8f2a8c91
line wrap: on
line diff
--- a/comment.php	Fri Oct 26 18:01:37 2007 +0200
+++ b/comment.php	Fri Oct 26 18:09:36 2007 +0200
@@ -46,7 +46,7 @@
         $dateFormatee = strftime(" à %Hh%M le <span class='Date'>%A %d %B %Y</span>", strtotime($row['DateComment']));
         $AdresseMail = $row['AdresseMail'];
         $grav_id = md5($AdresseMail);
-        $grav_url = 'http://www.gravatar.com/avatar.php?gravatar_id=' . $grav_id . '&amp;size=50&default=' . $defaultGravatar;
+        $grav_url = 'http://www.gravatar.com/avatar.php?gravatar_id=' . $grav_id . '&size=50&default=' . $defaultGravatar;
 	    $Comment = nl2br($row['Comment']);
 	    $Comment = str_replace(" & ", " &amp; ", $Comment);
 	    $commentFrag = $commentTpl->getDocumentFragment();