add maxlenght attribute to inputs in topic creation form.
This commit is contained in:
@@ -327,7 +327,7 @@ function template_main()
|
|||||||
<b', isset($context['post_error']['no_subject']) ? ' style="color: #FF0000;"' : '', '>', $txt[70], ':</b>
|
<b', isset($context['post_error']['no_subject']) ? ' style="color: #FF0000;"' : '', '>', $txt[70], ':</b>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' size="80" maxlength="80" tabindex="1" />
|
<input type="text" maxlength="50" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' size="80" maxlength="80" tabindex="1" />
|
||||||
</td>
|
</td>
|
||||||
</tr>';
|
</tr>';
|
||||||
if ($context['is_first_post'])
|
if ($context['is_first_post'])
|
||||||
@@ -337,7 +337,7 @@ function template_main()
|
|||||||
<b>Подзаголовок:</b>
|
<b>Подзаголовок:</b>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="subtitle"', $context['subtitle'] == '' ? '' : ' value="' . $context['subtitle'] . '"', ' size="80" maxlength="80" tabindex="2" />
|
<input type="text" maxlength="50" name="subtitle"', $context['subtitle'] == '' ? '' : ' value="' . $context['subtitle'] . '"', ' size="80" maxlength="80" tabindex="2" />
|
||||||
</td>
|
</td>
|
||||||
</tr>';
|
</tr>';
|
||||||
echo '
|
echo '
|
||||||
|
|||||||
Reference in New Issue
Block a user