From ec5b08f65960bc3e09ef8331de3833fff13ab4ea Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 7 Apr 2010 13:25:46 +0100 Subject: [PATCH] timestamped comments --- ext/comment/theme.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/comment/theme.php b/ext/comment/theme.php index 7baff06a..a32171f6 100644 --- a/ext/comment/theme.php +++ b/ext/comment/theme.php @@ -123,6 +123,7 @@ class CommentListTheme extends Themelet { $i_uid = int_escape($comment->owner_id); $h_name = html_escape($comment->owner_name); $h_poster_ip = html_escape($comment->poster_ip); + $h_timestamp = autodate($comment->posted); $h_comment = ($trim ? substr($tfe->stripped, 0, 50)."..." : $tfe->formatted); $i_comment_id = int_escape($comment->comment_id); $i_image_id = int_escape($comment->image_id); @@ -136,7 +137,7 @@ class CommentListTheme extends Themelet { $stripped_nonl = str_replace("\n", "\\n", substr($tfe->stripped, 0, 50)); $stripped_nonl = str_replace("\r", "\\r", $stripped_nonl); $h_dellink = $user->is_admin() ? - "
($h_poster_ip, ($h_poster_ip, $h_timestamp, Del)" : "";