diff --git a/web/html/css/arch.css b/web/html/css/arch.css index c086b318..6e2cd4a8 100644 --- a/web/html/css/arch.css +++ b/web/html/css/arch.css @@ -401,3 +401,19 @@ textarea.vLargeTextField { color: #333; font-weight: bold; } + +.comment-header { + background-color: #f1f2f4; + color: #888; + font-size: 14px; + font-weight: bold; + margin-left: 5px; + margin-top: 5px; + padding: 2px; +} + +.comment-body { + margin-left: 5px; + padding: 2px; + font-family: monospace; +} diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php index 51887646..20cd2787 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']}"; } -?> - -
- -
+} ?>