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/pkg_comments.php') diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php index 7c42ac1..02171a0 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-54-g00ecf