From 04413d3a83b358e0ee6bb8dc0c87f8fffeaa69a7 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 15 Mar 2022 15:39:44 +0100 Subject: [PATCH] volume de signes --- module/blog/blog.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index 32e03291..59730c2e 100644 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -78,11 +78,13 @@ class blog extends common { // Nombre d'objets par page public static $ArticlesListed = [ + 1 => '1 article', + 2 => '2 articles', 4 => '4 articles', + 6 => '6 articles', 8 => '8 articles', - 12 => '12 articles', - 16 => '16 articles', - 22 => '22 articles' + 10 => '10 articles', + 12 => '12 articles' ]; //Paramètre longueur maximale des commentaires en nb de caractères @@ -93,12 +95,12 @@ class blog extends common { 750 => '750 signes' ]; - public static $articlesLenght = [ + public static $articlesLenght = [ 0 => 'Intégralité des articles, disposition moderne', - 500 => '500 signes', - 1000 => '1000 signes', - 1500 => '1500 signes', - 2000 => '2000 signes' + 200 => '200 signes', + 400 => '400 signes', + 600 => '600 signes', + 800 => '800 signes' ]; // Permissions d'un article