[Comoblog-commit] comoblog topic.php,1.1.1.1,1.2
Status: Inactive
Brought to you by:
markwallis
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-02 06:12:10
|
Update of /cvsroot/comoblog/comoblog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14887 Modified Files: topic.php Log Message: 1391334 - Error in date-parsing in topic.php Index: topic.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/topic.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- topic.php 16 Aug 2005 05:49:43 -0000 1.1.1.1 +++ topic.php 2 Jan 2006 06:12:02 -0000 1.2 @@ -22,12 +22,13 @@ $posts = posts_in_topic ($topic_id); for ($c = 0; $c < count($posts); $c++) { + $post = $posts[$c]; $post['post_mail_from'] = antispam(htmlentities($post['post_mail_from']), true); $post['post_mail_subject'] = antispam(htmlentities($post['post_mail_subject']), true); $date = getdate($post['post_mail_date']); $post['post_mail_date'] = strftime($CAL_DATE_FORMAT." %H:%M", $post['post_mail_date']); - $tpl->assign('POST', $posts[$c]); + $tpl->assign('POST', $post); $tpl->parse('main.posts_list.post'); } $tpl->parse('main.posts_list'); |