From 5b8b0757f4f938f86bed86ae56fa3511704e006f Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Thu, 15 Apr 2010 16:52:55 -0400 Subject: pkg_comments: Only display 10 comments by default. Add a mechanism to view all comments. Signed-off-by: Loui Chang --- web/template/pkg_comments.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'web/template') diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php index 7c42ac16..02171a03 100644 --- a/web/template/pkg_comments.php +++ b/web/template/pkg_comments.php @@ -24,5 +24,15 @@ while (list($indx, $carr) = each($comments)) { ?> +} +?> + + 10 && !isset($_GET['comments'])) { + echo ''; +} +?> -- cgit v1.2.3-24-g4f1b