Removed required attribute from hidden fields
authorMarcel Werk <burntime@woltlab.com>
Wed, 25 Jun 2014 16:18:08 +0000 (18:18 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 25 Jun 2014 16:18:08 +0000 (18:18 +0200)
wcfsetup/install/files/acp/templates/userAdd.tpl

index dfc319a6382aa7d10a0ded1cdfe9e7538e18fd29..a7cf0cb07319394132813cb9d3d13f71e27f81ba 100644 (file)
@@ -96,7 +96,7 @@
                                        <dl{if $errorType.email|isset} class="formError"{/if}>
                                                <dt><label for="email">{lang}wcf.user.email{/lang}</label></dt>
                                                <dd>
-                                                       <input type="email" id="email" name="email" value="{$email}" required="required" class="medium" />
+                                                       <input type="email" id="email" name="email" value="{$email}" class="medium" />
                                                        {if $errorType.email|isset}
                                                                <small class="innerError">
                                                                        {if $errorType.email == 'empty'}
                                        <dl{if $errorType.confirmEmail|isset} class="formError"{/if}>
                                                <dt><label for="confirmEmail">{lang}wcf.user.confirmEmail{/lang}</label></dt>
                                                <dd>
-                                                       <input type="email" id="confirmEmail" name="confirmEmail" value="{$confirmEmail}" required="required" class="medium" />
+                                                       <input type="email" id="confirmEmail" name="confirmEmail" value="{$confirmEmail}" class="medium" />
                                                        {if $errorType.confirmEmail|isset}
                                                                <small class="innerError">
                                                                        {lang}wcf.user.confirmEmail.error.{@$errorType.confirmEmail}{/lang}
                                        <dl{if $errorType.password|isset} class="formError"{/if}>
                                                <dt><label for="password">{lang}wcf.user.password{/lang}</label></dt>
                                                <dd>
-                                                       <input type="password" id="password" name="password" value="{$password}"{if $action == 'add'} required="required"{/if} class="medium" />
+                                                       <input type="password" id="password" name="password" value="{$password}" class="medium" />
                                                        {if $errorType.password|isset}
                                                                <small class="innerError">
                                                                        {if $errorType.password == 'empty'}
                                        <dl{if $errorType.confirmPassword|isset} class="formError"{/if}>
                                                <dt><label for="confirmPassword">{lang}wcf.user.confirmPassword{/lang}</label></dt>
                                                <dd>
-                                                       <input type="password" id="confirmPassword" name="confirmPassword" value="{$confirmPassword}"{if $action == 'add'} required="required"{/if} class="medium" />
+                                                       <input type="password" id="confirmPassword" name="confirmPassword" value="{$confirmPassword}" class="medium" />
                                                        {if $errorType.confirmPassword|isset}
                                                                <small class="innerError">
                                                                        {lang}wcf.user.confirmPassword.error.{@$errorType.confirmPassword}{/lang}