mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-16 11:02:40 +01:00
30 chars
This commit is contained in:
parent
2f352f390d
commit
0ec5b61ae9
@ -62,7 +62,7 @@ if (!$score)
|
||||
error(_('You failed the game'));
|
||||
if (!$passedCaptcha)
|
||||
error(_('You failed to enter the reCaptcha correctly'));
|
||||
if (!preg_match('/^[a-z0-9]{1,10}$/', $uri))
|
||||
if (!preg_match('/^[a-z0-9]{1,30}$/', $uri))
|
||||
error(_('Invalid URI'));
|
||||
if (!(strlen($title) < 40))
|
||||
error(_('Invalid title'));
|
||||
|
@ -1,7 +1,7 @@
|
||||
<form method="POST">
|
||||
<table class="modlog" style="width:auto">
|
||||
<tbody>
|
||||
<tr><th>URI</th><td>/<input name="uri" type="text" size="5">/ <span class="unimportant">{% trans %}(must be all lowercase or numbers and < 10 chars){% endtrans %}</td></tr>
|
||||
<tr><th>URI</th><td>/<input name="uri" type="text" size="5">/ <span class="unimportant">{% trans %}(must be all lowercase or numbers and < 30 chars){% endtrans %}</td></tr>
|
||||
<tr><th>Title</th><td><input name="title" type="text"> <span class="unimportant">{% trans %}(must be < 40 chars){% endtrans %}</td></tr>
|
||||
<tr><th>Subtitle</th><td><input name="subtitle" type="text"> <span class="unimportant">{% trans %}(must be < 200 chars){% endtrans %}</td></tr>
|
||||
<tr><th>{% trans %}Username{% endtrans %}</th><td><input name="username" type="text"> <span class="unimportant">{% trans %}(must contain only alphanumeric, periods and underscores){% endtrans %}</span></td></tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user