|
@@ -178,6 +178,7 @@ BREAD;
|
178
|
178
|
$WROOT = CONFIG_WEBROOT;
|
179
|
179
|
$action = htmlentities($this->resolveComposer());
|
180
|
180
|
$cancel = htmlentities($this->resolve());
|
|
181
|
+ $minlength = CONFIG_MIN_POST_BYTES;
|
181
|
182
|
if (CONFIG_CLEAN_URL) $bbcoderef = "{$WROOT}bbcode-help";
|
182
|
183
|
else $bbcoderef = "{$WROOT}bbcode-help.php";
|
183
|
184
|
print <<<HTML
|
|
@@ -185,7 +186,7 @@ BREAD;
|
185
|
186
|
<form method=POST action="$action" class=composer>
|
186
|
187
|
<div class=textarea>
|
187
|
188
|
<textarea autofocus rows=5 tabindex=1
|
188
|
|
- maxlength=5000
|
|
189
|
+ maxlength=5000 minlength=$minlength
|
189
|
190
|
placeholder="Contribute your thoughts and desires..."
|
190
|
191
|
name=content>$content</textarea>
|
191
|
192
|
</div>
|