Mercurial > defr > DualBlog
diff comment.php @ 57:ef5fd86d30ec
Fix, les dates des commentaires ne s'affichaient plus.
Le template attendait dateComment, et le code fournissait commentDate...
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 29 Jan 2008 14:34:03 +0100 |
parents | c63372623277 |
children | 25c6e59f019e |
line wrap: on
line diff
--- a/comment.php Tue Jan 29 12:15:27 2008 +0100 +++ b/comment.php Tue Jan 29 14:34:03 2008 +0100 @@ -49,7 +49,7 @@ $defaultGravatar = urlencode("http://defr.org/Misc/NoGravatar.png"); while(0 !== ($row = $Data->GetRow())) { $commentTpl = new Template(Skeleton::getTemplateFile('comment')); - $dateFormatee = strftime(" à %Hh%M le <span class='Date'>%A %d %B %Y</span>", strtotime($row['DateComment'])); + $dateFormatee = strftime(" à %Hh%M, le %A %d %B %Y", strtotime($row['DateComment'])); $dateFormateeISO = date('c', strtotime($row['DateComment'])); $AdresseMail = $row['AdresseMail']; $grav_id = md5($AdresseMail);