From: Nicolas Iooss Date: Fri, 10 Jan 2014 18:22:05 +0000 (+0100) Subject: Community letter: update article submission limitations X-Git-Tag: xorg/1.1.12~17^2~2 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=37b9ab3069f91786d8094240e5d9ca7ab9a4f464;p=platal.git Community letter: update article submission limitations Limiting to 4 lines was too strict Signed-off-by: Nicolas Iooss --- 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}