From 37b9ab3069f91786d8094240e5d9ca7ab9a4f464 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Fri, 10 Jan 2014 19:22:05 +0100 Subject: [PATCH] Community letter: update article submission limitations Limiting to 4 lines was too strict Signed-off-by: Nicolas Iooss --- include/comletter.inc.php | 2 +- templates/comletter/submit.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/comletter.inc.php b/include/comletter.inc.php index 25efeea..9e228b0 100644 --- a/include/comletter.inc.php +++ b/include/comletter.inc.php @@ -24,7 +24,7 @@ class ComLArticle { // Maximum number of lines per article, as wanted by the NL master - const MAX_LINES_PER_ARTICLE = 4; + const MAX_LINES_PER_ARTICLE = 8; const MAX_CHARACTERS_PER_LINE = 68; // {{{ properties diff --git a/templates/comletter/submit.tpl b/templates/comletter/submit.tpl index f086bb9..35af36b 100644 --- a/templates/comletter/submit.tpl +++ b/templates/comletter/submit.tpl @@ -40,7 +40,7 @@ Nous te recontacterons éventuellement si nous avons des renseignements à te de {if !$art->check()}

L'article que tu as proposé est trop long !
-Il te faut te limiter à 4 lignes de 68 caractères. +Il te faut te limiter à 8 lignes de 68 caractères.

{/if} @@ -105,7 +105,7 @@ Tu peux lire les conseils de rédaction + cols="68" rows="8" name="body" >{if t($art)}{$art->body()}{/if} -- 2.1.4