From 24c9955b3c71e4009b1286152c7187197d2da205 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Wed, 18 Feb 2009 23:01:25 -0500 Subject: Revamp markup and styles for comments. Make post date consistent with other dates. Look Ma, no tables! Signed-off-by: Loui Chang --- web/template/pkg_comments.php | 38 ++++++++++++++------------------------ 1 file changed, 14 insertions(+), 24 deletions(-) (limited to 'web/template') diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php index 5188764..20cd278 100644 --- a/web/template/pkg_comments.php +++ b/web/template/pkg_comments.php @@ -1,37 +1,27 @@
- - - - - - - - + + echo __('Comment by: %s on %s', $carr['UserName'], gmdate('r', $carr['CommentTS'])); +?> +
+
+ +
+
-
- +
'; - echo $durl; + echo $durl; } + if ($SID) { - echo __("Comment by: %s on %s", - "" . $carr["UserName"] . "", gmdate("Y m d [H:i:s]", $carr["CommentTS"])); - } else { - echo __("Comment by: %s on %s", - '' . $carr['UserName'] . '', - gmdate("Y m d [H:i:s]", $carr["CommentTS"])); + $carr['UserName'] = "{$carr['UserName']}"; } -?> - -
- -
+} ?>
-- cgit v1.2.3-70-g09d2