Added missing maxlength attributes
authorMarcel Werk <burntime@woltlab.com>
Wed, 21 Jun 2017 11:47:23 +0000 (13:47 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 21 Jun 2017 11:47:23 +0000 (13:47 +0200)
wcfsetup/install/files/acp/templates/labelAdd.tpl
wcfsetup/install/files/acp/templates/labelGroupAdd.tpl

index fd01a9b5f2542fd441d41ecc08d12a737da25082..15ad58751169efbe26fa877588a98e841dc61b3c 100644 (file)
@@ -63,7 +63,7 @@
                        <dl{if $errorField == 'label'} class="formError"{/if}>
                                <dt><label for="label">{lang}wcf.acp.label.label{/lang}</label></dt>
                                <dd>
-                                       <input type="text" id="label" name="label" value="{$i18nPlainValues['label']}" autofocus class="long">
+                                       <input type="text" id="label" name="label" value="{$i18nPlainValues['label']}" autofocus class="long" maxlength="80">
                                        {if $errorField == 'label'}
                                                <small class="innerError">
                                                        {if $errorType == 'empty'}
index 5298f0c1f2a369c64c0eaf1f3e6fae870a74e196..0f02a1be1a14f455436c1e4b6608822fd4b6fbb9 100644 (file)
@@ -50,7 +50,7 @@
                                <dl{if $errorField == 'groupName'} class="formError"{/if}>
                                        <dt><label for="groupName">{lang}wcf.global.title{/lang}</label></dt>
                                        <dd>
-                                               <input type="text" id="groupName" name="groupName" value="{$i18nPlainValues['groupName']}" autofocus class="long">
+                                               <input type="text" id="groupName" name="groupName" value="{$i18nPlainValues['groupName']}" autofocus class="long" maxlength="80">
                                                {if $errorField == 'groupName'}
                                                        <small class="innerError">
                                                                {if $errorType == 'empty' || $errorType == 'multilingual'}