From 7b4940a6439498fd751bf4f35aa5b558008a4a1e Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 4 Nov 2011 08:38:10 +0100 Subject: [PATCH] dispaly more testimonials on the first page --- docs/home-page/en/pages/testimonial.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/home-page/en/pages/testimonial.php b/docs/home-page/en/pages/testimonial.php index f0c18da1..0e58d40d 100644 --- a/docs/home-page/en/pages/testimonial.php +++ b/docs/home-page/en/pages/testimonial.php @@ -780,12 +780,12 @@ function view_all() $limit = $_REQUEST['limit']; $offset = $_REQUEST['offset']; - $limit = is_numeric($limit)?$limit:5; + $limit = is_numeric($limit)?$limit:50; $offset = is_numeric($offset)?$offset:0; $max = $offset + $limit; $admin = is_admin(); - if ($limit > 20) { $limit = 20 ;} + if ($limit > 100) { $limit = 100 ;} if ($handle = opendir($dat_dir)) { /* Ceci est la facon correcte de traverser un dossier. */ -- 2.39.5