Limiting to 4 lines was too strict
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
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
{if !$art->check()}
<p class='erreur'>
L'article que tu as proposé est trop long !<br />
-Il te faut te limiter à 4 lignes de 68 caractères.
+Il te faut te limiter à 8 lignes de 68 caractères.
</p>
{/if}
<td>
<textarea onchange="{literal}$.post('comletter/remaining/', {'body': this.value}, function(data) {$('#remaining').html(data)}){/literal}"
onkeyup="{literal}$.post('comletter/remaining/', {'body': this.value}, function(data) {$('#remaining').html(data)}){/literal}"
- cols="68" rows="4" name="body" >{if t($art)}{$art->body()}{/if}</textarea>
+ cols="68" rows="8" name="body" >{if t($art)}{$art->body()}{/if}</textarea>
</td>
</tr>
<tr class="pair">