Removed XHTML relics
authorMarcel Werk <burntime@woltlab.com>
Fri, 24 Jun 2016 15:56:15 +0000 (17:56 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 24 Jun 2016 15:56:24 +0000 (17:56 +0200)
140 files changed:
com.woltlab.wcf/templates/__messageFormPoll.tpl
com.woltlab.wcf/templates/accountManagement.tpl
com.woltlab.wcf/templates/avatarEdit.tpl
com.woltlab.wcf/templates/booleanOptionType.tpl
com.woltlab.wcf/templates/categoryOptionList.tpl
com.woltlab.wcf/templates/checkboxesOptionType.tpl
com.woltlab.wcf/templates/checkboxesSearchableOptionType.tpl
com.woltlab.wcf/templates/commentAddGuestDialog.tpl
com.woltlab.wcf/templates/editHistory.tpl
com.woltlab.wcf/templates/emailActivation.tpl
com.woltlab.wcf/templates/emailNewActivationCode.tpl
com.woltlab.wcf/templates/flexibleCategoryList.tpl
com.woltlab.wcf/templates/login.tpl
com.woltlab.wcf/templates/mail.tpl
com.woltlab.wcf/templates/manageSubscription.tpl
com.woltlab.wcf/templates/membersList.tpl
com.woltlab.wcf/templates/moderationQueueAssignUser.tpl
com.woltlab.wcf/templates/moderationReportDialog.tpl
com.woltlab.wcf/templates/multiSelectOptionType.tpl
com.woltlab.wcf/templates/multiSelectSearchableOptionType.tpl
com.woltlab.wcf/templates/newPassword.tpl
com.woltlab.wcf/templates/notificationSettings.tpl
com.woltlab.wcf/templates/pageHeaderUser.tpl
com.woltlab.wcf/templates/pollVote.tpl
com.woltlab.wcf/templates/radioButtonOptionType.tpl
com.woltlab.wcf/templates/radioButtonSearchableOptionType.tpl
com.woltlab.wcf/templates/register.tpl
com.woltlab.wcf/templates/registerActivation.tpl
com.woltlab.wcf/templates/registerNewActivationCode.tpl
com.woltlab.wcf/templates/search.tpl
com.woltlab.wcf/templates/searchArticle.tpl
com.woltlab.wcf/templates/selectOptionType.tpl
com.woltlab.wcf/templates/selectSearchableOptionType.tpl
com.woltlab.wcf/templates/settings.tpl
com.woltlab.wcf/templates/textOptionType.tpl
com.woltlab.wcf/templates/textSearchableOptionType.tpl
com.woltlab.wcf/templates/textareaSearchableOptionType.tpl
com.woltlab.wcf/templates/usersOnlineList.tpl
wcfsetup/install/files/acp/js/WCF.ACP.js
wcfsetup/install/files/acp/templates/adAdd.tpl
wcfsetup/install/files/acp/templates/articleAdd.tpl
wcfsetup/install/files/acp/templates/articleList.tpl
wcfsetup/install/files/acp/templates/bbCodeSelectOptionType.tpl
wcfsetup/install/files/acp/templates/bbcodeAdd.tpl
wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl
wcfsetup/install/files/acp/templates/booleanOptionType.tpl
wcfsetup/install/files/acp/templates/boxAdd.tpl
wcfsetup/install/files/acp/templates/boxConditions.tpl
wcfsetup/install/files/acp/templates/boxList.tpl
wcfsetup/install/files/acp/templates/bulkProcessing.tpl
wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl
wcfsetup/install/files/acp/templates/categoryAdd.tpl
wcfsetup/install/files/acp/templates/categoryMultiSelectOptionType.tpl
wcfsetup/install/files/acp/templates/categoryOptionList.tpl
wcfsetup/install/files/acp/templates/checkboxesOptionType.tpl
wcfsetup/install/files/acp/templates/checkboxesSearchableOptionType.tpl
wcfsetup/install/files/acp/templates/cronjobAdd.tpl
wcfsetup/install/files/acp/templates/dataImport.tpl
wcfsetup/install/files/acp/templates/exceptionLogView.tpl
wcfsetup/install/files/acp/templates/exportMailAddressUserBulkProcessing.tpl
wcfsetup/install/files/acp/templates/labelAdd.tpl
wcfsetup/install/files/acp/templates/labelGroupAdd.tpl
wcfsetup/install/files/acp/templates/labelList.tpl
wcfsetup/install/files/acp/templates/languageAdd.tpl
wcfsetup/install/files/acp/templates/languageExport.tpl
wcfsetup/install/files/acp/templates/languageImport.tpl
wcfsetup/install/files/acp/templates/languageItemEditDialog.tpl
wcfsetup/install/files/acp/templates/languageItemList.tpl
wcfsetup/install/files/acp/templates/languageMultilingualism.tpl
wcfsetup/install/files/acp/templates/languageServerAdd.tpl
wcfsetup/install/files/acp/templates/mediaAdd.tpl
wcfsetup/install/files/acp/templates/menuAdd.tpl
wcfsetup/install/files/acp/templates/menuItemAdd.tpl
wcfsetup/install/files/acp/templates/multiSelectOptionType.tpl
wcfsetup/install/files/acp/templates/multiSelectSearchableOptionType.tpl
wcfsetup/install/files/acp/templates/noticeAdd.tpl
wcfsetup/install/files/acp/templates/notificationPresetSettings.tpl
wcfsetup/install/files/acp/templates/packageUpdate.tpl
wcfsetup/install/files/acp/templates/packageUpdateServerAdd.tpl
wcfsetup/install/files/acp/templates/pageAdd.tpl
wcfsetup/install/files/acp/templates/pageHeaderSearch.tpl
wcfsetup/install/files/acp/templates/pageList.tpl
wcfsetup/install/files/acp/templates/paidSubscriptionAdd.tpl
wcfsetup/install/files/acp/templates/paidSubscriptionTransactionLogList.tpl
wcfsetup/install/files/acp/templates/paidSubscriptionUserAdd.tpl
wcfsetup/install/files/acp/templates/paymentMethodSelectOptionType.tpl
wcfsetup/install/files/acp/templates/radioButtonOptionType.tpl
wcfsetup/install/files/acp/templates/radioButtonSearchableOptionType.tpl
wcfsetup/install/files/acp/templates/selectOptionType.tpl
wcfsetup/install/files/acp/templates/selectSearchableOptionType.tpl
wcfsetup/install/files/acp/templates/sendMailUserBulkProcessing.tpl
wcfsetup/install/files/acp/templates/smileyAdd.tpl
wcfsetup/install/files/acp/templates/stat.tpl
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/acp/templates/styleExport.tpl
wcfsetup/install/files/acp/templates/styleVariableUnit.tpl
wcfsetup/install/files/acp/templates/tagAdd.tpl
wcfsetup/install/files/acp/templates/tagList.tpl
wcfsetup/install/files/acp/templates/templateAdd.tpl
wcfsetup/install/files/acp/templates/templateDiff.tpl
wcfsetup/install/files/acp/templates/templateGroupAdd.tpl
wcfsetup/install/files/acp/templates/templateList.tpl
wcfsetup/install/files/acp/templates/textSearchableOptionType.tpl
wcfsetup/install/files/acp/templates/textareaSearchableOptionType.tpl
wcfsetup/install/files/acp/templates/userActivityPointOption.tpl
wcfsetup/install/files/acp/templates/userAdd.tpl
wcfsetup/install/files/acp/templates/userEmailAddressExport.tpl
wcfsetup/install/files/acp/templates/userGroupAdd.tpl
wcfsetup/install/files/acp/templates/userGroupAssignmentAdd.tpl
wcfsetup/install/files/acp/templates/userGroupBooleanOptionType.tpl
wcfsetup/install/files/acp/templates/userMail.tpl
wcfsetup/install/files/acp/templates/userOptionAdd.tpl
wcfsetup/install/files/acp/templates/userOptionCategoryAdd.tpl
wcfsetup/install/files/acp/templates/userOptionSetDefaults.tpl
wcfsetup/install/files/acp/templates/userRankAdd.tpl
wcfsetup/install/files/acp/templates/userSearch.tpl
wcfsetup/install/files/acp/templates/useroptionsOptionType.tpl
wcfsetup/install/files/js/WCF.Message.js
wcfsetup/install/files/js/WCF.User.js
wcfsetup/install/files/lib/system/condition/AbstractCheckboxCondition.class.php
wcfsetup/install/files/lib/system/condition/AbstractMultiCategoryCondition.class.php
wcfsetup/install/files/lib/system/condition/AbstractMultiSelectCondition.class.php
wcfsetup/install/files/lib/system/condition/AbstractSelectCondition.class.php
wcfsetup/install/files/lib/system/condition/TimeCondition.class.php
wcfsetup/install/files/lib/system/condition/UserBirthdayCondition.class.php
wcfsetup/install/files/lib/system/condition/UserGroupCondition.class.php
wcfsetup/install/files/lib/system/condition/UserLanguageCondition.class.php
wcfsetup/install/files/lib/system/condition/UserMobileBrowserCondition.class.php
wcfsetup/install/files/lib/system/condition/UserStateCondition.class.php
wcfsetup/install/files/lib/system/condition/page/MultiPageCondition.class.php
wcfsetup/install/files/lib/system/form/element/MultipleSelectionFormElement.class.php
wcfsetup/install/files/lib/system/option/user/group/UserGroupsUserGroupOptionType.class.php
wcfsetup/install/files/lib/system/template/plugin/HtmlCheckboxesFunctionTemplatePlugin.class.php
wcfsetup/install/files/lib/system/template/plugin/HtmlOptionsFunctionTemplatePlugin.class.php
wcfsetup/setup/template/stepConfigureDB.tpl
wcfsetup/setup/template/stepCreateUser.tpl
wcfsetup/setup/template/stepSelectLanguages.tpl
wcfsetup/setup/template/stepSelectSetupLanguage.tpl
wcfsetup/setup/template/stepShowLicense.tpl
wcfsetup/setup/template/stepShowSystemRequirements.tpl

index 642c181709fc56f79a86aa074892df0500477284..eafe6c961b2ccc54503f83d323b13011d9bc5704 100644 (file)
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="pollIsChangeable" value="1"{if $pollIsChangeable} checked="checked"{/if}> {lang}wcf.poll.isChangeable{/lang}</label>
+                               <label><input type="checkbox" name="pollIsChangeable" value="1"{if $pollIsChangeable} checked{/if}> {lang}wcf.poll.isChangeable{/lang}</label>
                        </dd>
                        {if !$pollID && $__wcf->getPollManager()->canStartPublicPoll()}
                                <dd>
-                                       <label><input type="checkbox" name="pollIsPublic" value="1"{if $pollIsPublic} checked="checked"{/if}> {lang}wcf.poll.isPublic{/lang}</label>
+                                       <label><input type="checkbox" name="pollIsPublic" value="1"{if $pollIsPublic} checked{/if}> {lang}wcf.poll.isPublic{/lang}</label>
                                </dd>
                        {/if}
                        <dd>
-                               <label><input type="checkbox" name="pollResultsRequireVote" value="1"{if $pollResultsRequireVote} checked="checked"{/if}> {lang}wcf.poll.resultsRequireVote{/lang}</label>
+                               <label><input type="checkbox" name="pollResultsRequireVote" value="1"{if $pollResultsRequireVote} checked{/if}> {lang}wcf.poll.resultsRequireVote{/lang}</label>
                                <small>{lang}wcf.poll.resultsRequireVote.description{/lang}</small>
                        </dd>
                        <dd>
-                               <label><input type="checkbox" name="pollSortByVotes" value="1"{if $pollSortByVotes} checked="checked"{/if}> {lang}wcf.poll.sortByVotes{/lang}</label>
+                               <label><input type="checkbox" name="pollSortByVotes" value="1"{if $pollSortByVotes} checked{/if}> {lang}wcf.poll.sortByVotes{/lang}</label>
                        </dd>
                </dl>
                
index ae2ebe5bdc83e31383a519d87c189fd24fe71124..3aa29e8bb5504369e17c6a0d8ede38c419210207 100644 (file)
@@ -24,7 +24,7 @@
                        <dl{if $errorField == 'password'} class="formError"{/if}>
                                <dt><label for="password">{lang}wcf.user.password{/lang}</label></dt>
                                <dd>
-                                       <input type="password" id="password" name="password" value="" required="required" class="medium">
+                                       <input type="password" id="password" name="password" value="" required class="medium">
                                        {if $errorField == 'password'}
                                                <small class="innerError">
                                                        {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
@@ -47,7 +47,7 @@
                        <dl{if $errorField == 'username'} class="formError"{/if}>
                                <dt><label for="username">{lang}wcf.user.newUsername{/lang}</label></dt>
                                <dd>
-                                       <input type="text" id="username" name="username" value="{$username}" required="required" pattern="^[^,]{ldelim}{REGISTER_USERNAME_MIN_LENGTH},{REGISTER_USERNAME_MAX_LENGTH}}$" class="medium">
+                                       <input type="text" id="username" name="username" value="{$username}" required pattern="^[^,]{ldelim}{REGISTER_USERNAME_MIN_LENGTH},{REGISTER_USERNAME_MAX_LENGTH}}$" class="medium">
                                                
                                        {if $errorField == 'username'}
                                                <small class="innerError">
                                <dl>
                                        <dt></dt>
                                        <dd>
-                                               <label><input type="checkbox" name="cancelQuit" value="1"{if $cancelQuit == 1} checked="checked"{/if}> {lang}wcf.user.quit.cancel{/lang}</label>
+                                               <label><input type="checkbox" name="cancelQuit" value="1"{if $cancelQuit == 1} checked{/if}> {lang}wcf.user.quit.cancel{/lang}</label>
                                        </dd>
                                </dl>
                        {else}
                                <dl>
                                        <dt></dt>
                                        <dd>
-                                               <label><input type="checkbox" name="quit" value="1"{if $quit == 1} checked="checked"{/if}> {lang}wcf.user.quit.sure{/lang}</label>
+                                               <label><input type="checkbox" name="quit" value="1"{if $quit == 1} checked{/if}> {lang}wcf.user.quit.sure{/lang}</label>
                                                <small>{lang}wcf.user.quit.description{/lang}</small>
                                        </dd>
                                </dl>
                                                        <dt>{lang}wcf.user.3rdparty.github{/lang}</dt>
                                                        <dd>
                                                                {if $__wcf->getSession()->getVar('__githubToken')}
-                                                                       <label><input type="checkbox" name="githubConnect" value="1"{if $githubConnect} checked="checked"{/if}> {lang}wcf.user.3rdparty.github.connect{/lang}</label>
+                                                                       <label><input type="checkbox" name="githubConnect" value="1"{if $githubConnect} checked{/if}> {lang}wcf.user.3rdparty.github.connect{/lang}</label>
                                                                {else}
                                                                        <a href="{link controller='GithubAuth'}{/link}" class="thirdPartyLoginButton githubLoginButton"><span class="icon icon16 fa-github"></span> <span>{lang}wcf.user.3rdparty.github.connect{/lang}</span></a>
                                                                {/if}
                                                        <dt>{lang}wcf.user.3rdparty.twitter{/lang}</dt>
                                                        <dd>
                                                                {if $__wcf->getSession()->getVar('__twitterData')}
-                                                                       <label><input type="checkbox" name="twitterConnect" value="1"{if $twitterConnect} checked="checked"{/if}> {lang}wcf.user.3rdparty.twitter.connect{/lang}</label>
+                                                                       <label><input type="checkbox" name="twitterConnect" value="1"{if $twitterConnect} checked{/if}> {lang}wcf.user.3rdparty.twitter.connect{/lang}</label>
                                                                {else}
                                                                        <a href="{link controller='TwitterAuth'}{/link}" class="thirdPartyLoginButton twitterLoginButton"><span class="icon icon16 fa-twitter"></span> <span>{lang}wcf.user.3rdparty.twitter.connect{/lang}</span></a>
                                                                {/if}
                                                        <dt>{lang}wcf.user.3rdparty.facebook{/lang}</dt>
                                                        <dd>
                                                                {if $__wcf->getSession()->getVar('__facebookData')}
-                                                                       <label><input type="checkbox" name="facebookConnect" value="1"{if $facebookConnect} checked="checked"{/if}> {lang}wcf.user.3rdparty.facebook.connect{/lang}</label>
+                                                                       <label><input type="checkbox" name="facebookConnect" value="1"{if $facebookConnect} checked{/if}> {lang}wcf.user.3rdparty.facebook.connect{/lang}</label>
                                                                {else}
                                                                        <a href="{link controller='FacebookAuth'}{/link}" class="thirdPartyLoginButton facebookLoginButton"><span class="icon icon16 fa-facebook"></span> <span>{lang}wcf.user.3rdparty.facebook.connect{/lang}</span></a>
                                                                {/if}
                                                        <dt>{lang}wcf.user.3rdparty.google{/lang}</dt>
                                                        <dd>
                                                                {if $__wcf->getSession()->getVar('__googleData')}
-                                                                       <label><input type="checkbox" name="googleConnect" value="1"{if $googleConnect} checked="checked"{/if}> {lang}wcf.user.3rdparty.google.connect{/lang}</label>
+                                                                       <label><input type="checkbox" name="googleConnect" value="1"{if $googleConnect} checked{/if}> {lang}wcf.user.3rdparty.google.connect{/lang}</label>
                                                                {else}
                                                                        <a href="{link controller='GoogleAuth'}{/link}" class="thirdPartyLoginButton googleLoginButton"><span class="icon icon16 fa-google-plus"></span> <span>{lang}wcf.user.3rdparty.google.connect{/lang}</span></a>
                                                                {/if}
index faaff97de9646d99dcdfa38687a4361ec9115919..3706998700f2c2a8780a86cab946540aa5eec2d0 100644 (file)
@@ -17,7 +17,7 @@
                <dl class="avatarType">
                        <dt></dt>
                        <dd>
-                               <label><input type="radio" name="avatarType" value="none" {if $avatarType == 'none'}checked="checked" {/if}> {lang}wcf.user.avatar.type.none{/lang}</label>
+                               <label><input type="radio" name="avatarType" value="none" {if $avatarType == 'none'}checked {/if}> {lang}wcf.user.avatar.type.none{/lang}</label>
                                <small>{lang}wcf.user.avatar.type.none.description{/lang}</small>
                        </dd>
                </dl>
@@ -36,7 +36,7 @@
                                        {/if}
                                </dt>
                                <dd>
-                                       <label><input type="radio" name="avatarType" value="custom"{if $avatarType == 'custom'} checked="checked"{/if}> {lang}wcf.user.avatar.type.custom{/lang}</label>
+                                       <label><input type="radio" name="avatarType" value="custom"{if $avatarType == 'custom'} checked{/if}> {lang}wcf.user.avatar.type.custom{/lang}</label>
                                        <small>{lang}wcf.user.avatar.type.custom.description{/lang}</small>
                                        
                                        {* placeholder for upload button: *}
@@ -55,7 +55,7 @@
                        <dl class="avatarType{if $errorField == 'gravatar'} formError{/if}">
                                <dt><img src="https://secure.gravatar.com/avatar/{@$__wcf->user->email|strtolower|md5}?s=96{if GRAVATAR_DEFAULT_TYPE != '404'}&amp;d={@GRAVATAR_DEFAULT_TYPE}{/if}" alt="" class="userAvatarImage icon96"></dt>
                                <dd>
-                                       <label><input type="radio" name="avatarType" value="gravatar"{if $avatarType == 'gravatar'} checked="checked"{/if}> {lang}wcf.user.avatar.type.gravatar{/lang}</label>
+                                       <label><input type="radio" name="avatarType" value="gravatar"{if $avatarType == 'gravatar'} checked{/if}> {lang}wcf.user.avatar.type.gravatar{/lang}</label>
                                        {if $errorField == 'gravatar'}
                                                <small class="innerError">
                                                        {if $errorType == 'notFound'}{lang}wcf.user.avatar.type.gravatar.error.notFound{/lang}{/if}
index 754a9899c8840871414dd881f4a53b7b3138058b..92fd14be1e6423f1811f9a384bde211a3156d96b 100644 (file)
@@ -1,10 +1,10 @@
 <ol class="flexibleButtonGroup">
        <li>
-               <input type="radio" id="{$option->optionName}"{if $value == 1} checked="checked"{/if} name="values[{$option->optionName}]" value="1"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
+               <input type="radio" id="{$option->optionName}"{if $value == 1} checked{/if} name="values[{$option->optionName}]" value="1"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
                <label for="{$option->optionName}" class="green"><span class="icon icon16 fa-check"></span> {lang}wcf.acp.option.type.boolean.yes{/lang}</label>
        </li>
        <li>
-               <input type="radio" id="{$option->optionName}_no"{if $value == 0} checked="checked"{/if} name="values[{$option->optionName}]" value="0"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
+               <input type="radio" id="{$option->optionName}_no"{if $value == 0} checked{/if} name="values[{$option->optionName}]" value="0"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
                <label for="{$option->optionName}_no" class="red"><span class="icon icon16 fa-times"></span> {lang}wcf.acp.option.type.boolean.no{/lang}</label>
        </li>
 </ol>
index 0d0860db0ec9ad6934bbc1187a0034febc08141e..addb9d8a08c617b9833c7e4ab1a9ef7ef65433b9 100644 (file)
@@ -1,5 +1,5 @@
 {foreach from=$categoryNodeList item='category'}
        {if !$maximumNestingLevel|isset || $maximumNestingLevel == -1 || $categoryNodeList->getDepth() < $maximumNestingLevel}
-               <option value="{$category->categoryID}"{if $categoryID|isset && $categoryID == $category->categoryID} selected="selected"{/if}>{section name=i loop=$categoryNodeList->getDepth()}&nbsp;&nbsp;&nbsp;&nbsp;{/section}{$category->getTitle()}</option>
+               <option value="{$category->categoryID}"{if $categoryID|isset && $categoryID == $category->categoryID} selected{/if}>{section name=i loop=$categoryNodeList->getDepth()}&nbsp;&nbsp;&nbsp;&nbsp;{/section}{$category->getTitle()}</option>
        {/if}
 {/foreach}
index ade4955da108fffe46075e0b4aa832bf414b8768..cc90e693d06b2f0e8d6f47bb29bcec92f7bccfb3 100644 (file)
@@ -1,3 +1,3 @@
 {foreach from=$selectOptions key=key item=selectOption}
-       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}" {if $key|in_array:$value} checked="checked"{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
+       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}" {if $key|in_array:$value} checked{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
 {/foreach}
index 59735a04cac05a2279c408feea7623d0c94f4b9f..a76effacf2c9761a3b22dc5545ecc7ca03194914 100644 (file)
@@ -1,6 +1,6 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
 {foreach from=$selectOptions key=key item=selectOption}
-       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}" {if $key|in_array:$value} checked="checked"{/if}{if !$searchOption} disabled="disabled"{/if}> {lang}{@$selectOption}{/lang}</label>
+       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}" {if $key|in_array:$value} checked{/if}{if !$searchOption} disabled{/if}> {lang}{@$selectOption}{/lang}</label>
 {/foreach}
 
 <script data-relocate="true">
index b817f97df376d5b72ab6ec903de5799fa19c8a33..a2da40c3d21c0f191b98bbe7ca5e1f9aced3b565 100644 (file)
@@ -3,7 +3,7 @@
                <dl{if $errorType[username]|isset} class="formError"{/if}>
                        <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="username" name="username" value="{$username}" required="required" class="long" autofocus="true">
+                               <input type="text" id="username" name="username" value="{$username}" required class="long" autofocus="true">
                                {if $errorType[username]|isset}
                                        <small class="innerError">
                                                {if $errorType[username] == 'empty'}
index 200b76a93e8ddbaac576acd4227534ec7b534614..28de2c27c5826efca587b73d1a87edffd171b611 100644 (file)
@@ -76,7 +76,7 @@
                                <tr>
                                        <td class="columnIcon">
                                                <span class="icon icon16 fa-undo disabled"></span>
-                                               <input type="radio" name="oldID" value="current"{if $oldID === 'current'} checked="checked"{/if}> <input type="radio" name="newID" value="current"{if $newID === 'current'} checked="checked"{/if}>
+                                               <input type="radio" name="oldID" value="current"{if $oldID === 'current'} checked{/if}> <input type="radio" name="newID" value="current"{if $newID === 'current'} checked{/if}>
                                                {event name='rowButtons'}
                                        </td>
                                        <td class="columnID"><strong>{lang}wcf.edit.currentVersion{/lang}</strong></td>
@@ -90,7 +90,7 @@
                                        <tr class="jsEditRow">
                                                <td class="columnIcon">
                                                        <span class="icon icon16 fa-undo pointer jsRevertButton jsTooltip" title="{lang}wcf.edit.revert{/lang}" data-object-id="{@$edit->entryID}" data-confirm-message="{lang __encode=true}wcf.edit.revert.sure{/lang}"></span>
-                                                       <input type="radio" name="oldID" value="{@$edit->entryID}"{if $oldID == $edit->entryID} checked="checked"{/if}> <input type="radio" name="newID" value="{@$edit->entryID}"{if $newID == $edit->entryID} checked="checked"{/if}>
+                                                       <input type="radio" name="oldID" value="{@$edit->entryID}"{if $oldID == $edit->entryID} checked{/if}> <input type="radio" name="newID" value="{@$edit->entryID}"{if $newID == $edit->entryID} checked{/if}>
                                                        {event name='rowButtons'}
                                                </td>
                                                <td class="columnID">{#($tpl[foreach][edit][total] - $tpl[foreach][edit][iteration] + 1)}</td>
index 2cec5fe80379131a3a6daa87aa5ddd9de743f327..b9aca1741ad1b52dd26962fdcbdabab6613d1aeb 100644 (file)
@@ -7,7 +7,7 @@
                <dl{if $errorField == 'u'} class="formError"{/if}>
                        <dt><label for="userID">{lang}wcf.user.userID{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="userID" name="u" value="{@$u}" required="required" class="medium">
+                               <input type="text" id="userID" name="u" value="{@$u}" required class="medium">
                                {if $errorField == 'u'}
                                        <small class="innerError">
                                                {if $errorType == 'notValid'}{lang}wcf.user.userID.error.invalid{/lang}{/if}
@@ -19,7 +19,7 @@
                <dl{if $errorField == 'a'} class="formError"{/if}>
                        <dt><label for="activationCode">{lang}wcf.user.activationCode{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="activationCode" maxlength="9" name="a" value="{@$a}" required="required" class="medium">
+                               <input type="text" id="activationCode" maxlength="9" name="a" value="{@$a}" required class="medium">
                                {if $errorField == 'a'}
                                        <small class="innerError">
                                                {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if}
index f55bae05ae9367c762a8ac4c593b90ec586cc584..c0bc50ebc31f7016a04b91201a160b5335b61ba8 100644 (file)
@@ -7,7 +7,7 @@
                <dl{if $errorField == 'username'} class="formError"{/if}>
                        <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="username" name="username" value="{$username}" required="required" class="medium">
+                               <input type="text" id="username" name="username" value="{$username}" required class="medium">
                                {if $errorField == 'username'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -25,7 +25,7 @@
                <dl{if $errorField == 'password'} class="formError"{/if}>
                        <dt><label for="password">{lang}wcf.user.password{/lang}</label></dt>
                        <dd>
-                               <input type="password" id="password" name="password" value="{$password}" required="required" class="medium">
+                               <input type="password" id="password" name="password" value="{$password}" required class="medium">
                                {if $errorField == 'password'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
index 57a944de9bf0d56331331442b16c1c44e87dc954..4d2fa860d8ce6907135886ea623ce59f8fed31d1 100644 (file)
@@ -6,20 +6,20 @@
        {foreach from=$flexibleCategoryList item=categoryItem}
                <li>
                        <div class="containerHeadline">
-                               <h3><label{if $categoryItem->getDescription()} class="jsTooltip" title="{$categoryItem->getDescription()}"{/if}><input type="checkbox" name="{$flexibleCategoryListName}[]" value="{@$categoryItem->categoryID}" class="jsCategory"{if $categoryItem->categoryID|in_array:$flexibleCategoryListSelectedIDs} checked="checked"{/if}> {$categoryItem->getTitle()}</label></h3>
+                               <h3><label{if $categoryItem->getDescription()} class="jsTooltip" title="{$categoryItem->getDescription()}"{/if}><input type="checkbox" name="{$flexibleCategoryListName}[]" value="{@$categoryItem->categoryID}" class="jsCategory"{if $categoryItem->categoryID|in_array:$flexibleCategoryListSelectedIDs} checked{/if}> {$categoryItem->getTitle()}</label></h3>
                        </div>
                        
                        {if $categoryItem->hasChildren()}
                                <ol>
                                        {foreach from=$categoryItem item=subCategoryItem}
                                                <li>
-                                                       <label{if $subCategoryItem->getDescription()} class="jsTooltip" title="{$subCategoryItem->getDescription()}"{/if} style="font-size: 1rem;"><input type="checkbox" name="{$flexibleCategoryListName}[]" value="{@$subCategoryItem->categoryID}" class="jsChildCategory"{if $subCategoryItem->categoryID|in_array:$flexibleCategoryListSelectedIDs} checked="checked"{/if}> {$subCategoryItem->getTitle()}</label>
+                                                       <label{if $subCategoryItem->getDescription()} class="jsTooltip" title="{$subCategoryItem->getDescription()}"{/if} style="font-size: 1rem;"><input type="checkbox" name="{$flexibleCategoryListName}[]" value="{@$subCategoryItem->categoryID}" class="jsChildCategory"{if $subCategoryItem->categoryID|in_array:$flexibleCategoryListSelectedIDs} checked{/if}> {$subCategoryItem->getTitle()}</label>
                                                        
                                                        {if $subCategoryItem->hasChildren()}
                                                                <ol>
                                                                        {foreach from=$subCategoryItem item=subSubCategoryItem}
                                                                                <li>
-                                                                                       <label{if $subSubCategoryItem->getDescription()} class="jsTooltip" title="{$subSubCategoryItem->getDescription()}"{/if}><input type="checkbox" name="{$flexibleCategoryListName}[]" value="{@$subSubCategoryItem->categoryID}" class="jsSubChildCategory"{if $subSubCategoryItem->categoryID|in_array:$flexibleCategoryListSelectedIDs} checked="checked"{/if}> {$subSubCategoryItem->getTitle()}</label>
+                                                                                       <label{if $subSubCategoryItem->getDescription()} class="jsTooltip" title="{$subSubCategoryItem->getDescription()}"{/if}><input type="checkbox" name="{$flexibleCategoryListName}[]" value="{@$subSubCategoryItem->categoryID}" class="jsSubChildCategory"{if $subSubCategoryItem->categoryID|in_array:$flexibleCategoryListSelectedIDs} checked{/if}> {$subSubCategoryItem->getTitle()}</label>
                                                                                </li>
                                                                        {/foreach}
                                                                </ol>
index a518b58475e6b90aaf0c882f825f24fd4f1bd30f..6c35e4133a9b1aef33ffbd7e44d47697e6b8dee1 100644 (file)
@@ -14,7 +14,7 @@
                        <dl{if $errorField == 'username'} class="formError"{/if}>
                                <dt><label for="username">{lang}wcf.user.usernameOrEmail{/lang}</label></dt>
                                <dd>
-                                       <input type="text" id="username" name="username" value="{$username}" required="required" class="long">
+                                       <input type="text" id="username" name="username" value="{$username}" required class="long">
                                        {if $errorField == 'username'}
                                                <small class="innerError">
                                                        {if $errorType == 'empty'}
index f0fe90c22d1e83b7bd0a70883f29d32cbab59ddb..7f691c2615cfd2b5315278eec08eb7a29d504119 100644 (file)
@@ -9,7 +9,7 @@
                <dl{if $errorField == 'subject'} class="formError"{/if}>
                        <dt><label for="subject">{lang}wcf.user.mail.subject{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="subject" name="subject" value="{$subject}" required="required" class="long">
+                               <input type="text" id="subject" name="subject" value="{$subject}" required class="long">
                                {if $errorField == 'subject'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
                {if $__wcf->user->userID}
                        <dl>
                                <dt></dt>
-                               <dd><label><input type="checkbox" name="showAddress" value="1"{if $showAddress == 1} checked="checked"{/if}> {lang}wcf.user.mail.showAddress{/lang}</label></dd>
+                               <dd><label><input type="checkbox" name="showAddress" value="1"{if $showAddress == 1} checked{/if}> {lang}wcf.user.mail.showAddress{/lang}</label></dd>
                        </dl>
                {else}
                        <dl{if $errorField == 'email'} class="formError"{/if}>
                                <dt><label for="email">{lang}wcf.user.mail.senderEmail{/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}" required class="medium">
                                        {if $errorField == 'email'}
                                                <small class="innerError">
                                                        {if $errorType == 'empty'}
@@ -55,7 +55,7 @@
                
                <dl class="wide{if $errorField == 'message'} formError{/if}">
                        <dd>
-                               <textarea rows="15" cols="40" name="message" id="message" required="required">{$message}</textarea>
+                               <textarea rows="15" cols="40" name="message" id="message" required>{$message}</textarea>
                                {if $errorField == 'message'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
index 10c3d8b3a5d3125f205bd7e0d9cb0e2e848f3284..d62f7bef1c9a6ab04b75d43a09610e8e60eab3bc 100644 (file)
@@ -1,14 +1,14 @@
 <div class="section">
        <dl class="wide">
                <dd>
-                       <label><input type="radio" name="subscribe" value="1"{if $userObjectWatch} checked="checked"{/if}> {lang}wcf.user.objectWatch.subscribe.{@$objectType->objectType}{/lang}</label>
+                       <label><input type="radio" name="subscribe" value="1"{if $userObjectWatch} checked{/if}> {lang}wcf.user.objectWatch.subscribe.{@$objectType->objectType}{/lang}</label>
                        
-                       <small><label><input type="checkbox" name="enableNotification" value="1"{if $userObjectWatch && $userObjectWatch->notification} checked="checked"{/if}> {lang}wcf.user.objectWatch.enableNotification.{@$objectType->objectType}{/lang}</label></small>
+                       <small><label><input type="checkbox" name="enableNotification" value="1"{if $userObjectWatch && $userObjectWatch->notification} checked{/if}> {lang}wcf.user.objectWatch.enableNotification.{@$objectType->objectType}{/lang}</label></small>
                </dd>
        </dl>
        <dl class="wide">
                <dd>
-                       <label><input type="radio" name="subscribe" value="0"{if !$userObjectWatch} checked="checked"{/if}> {lang}wcf.user.objectWatch.unsubscribe.{@$objectType->objectType}{/lang}</label>
+                       <label><input type="radio" name="subscribe" value="0"{if !$userObjectWatch} checked{/if}> {lang}wcf.user.objectWatch.unsubscribe.{@$objectType->objectType}{/lang}</label>
                </dd>
        </dl>
        
index 568b7a8e4e7c0c1dc214cc6fd36279e48b814dc6..341e47efd4982bdbbcf434e1db6c10c82bd211a6 100644 (file)
                                        <dt></dt>
                                        <dd>
                                                <select id="sortField" name="sortField">
-                                                       <option value="username"{if $sortField == 'username'} selected="selected"{/if}>{lang}wcf.user.username{/lang}</option>
-                                                       <option value="registrationDate"{if $sortField == 'registrationDate'} selected="selected"{/if}>{lang}wcf.user.registrationDate{/lang}</option>
-                                                       <option value="activityPoints"{if $sortField == 'activityPoints'} selected="selected"{/if}>{lang}wcf.user.activityPoint{/lang}</option>
-                                                       {if MODULE_LIKE}<option value="likesReceived"{if $sortField == 'likesReceived'} selected="selected"{/if}>{lang}wcf.like.likesReceived{/lang}</option>{/if}
-                                                       <option value="lastActivityTime"{if $sortField == 'lastActivityTime'} selected="selected"{/if}>{lang}wcf.user.usersOnline.lastActivity{/lang}</option>
+                                                       <option value="username"{if $sortField == 'username'} selected{/if}>{lang}wcf.user.username{/lang}</option>
+                                                       <option value="registrationDate"{if $sortField == 'registrationDate'} selected{/if}>{lang}wcf.user.registrationDate{/lang}</option>
+                                                       <option value="activityPoints"{if $sortField == 'activityPoints'} selected{/if}>{lang}wcf.user.activityPoint{/lang}</option>
+                                                       {if MODULE_LIKE}<option value="likesReceived"{if $sortField == 'likesReceived'} selected{/if}>{lang}wcf.like.likesReceived{/lang}</option>{/if}
+                                                       <option value="lastActivityTime"{if $sortField == 'lastActivityTime'} selected{/if}>{lang}wcf.user.usersOnline.lastActivity{/lang}</option>
                                                        {event name='sortField'}
                                                </select>
                                                <select name="sortOrder">
-                                                       <option value="ASC"{if $sortOrder == 'ASC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
-                                                       <option value="DESC"{if $sortOrder == 'DESC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
+                                                       <option value="ASC"{if $sortOrder == 'ASC'} selected{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
+                                                       <option value="DESC"{if $sortOrder == 'DESC'} selected{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
                                                </select>
                                        </dd>
                                </dl>
index 2f23e0d6a41c8a890232e0a4674753ab29495971..f5f422b76baae321ea846c7ca6e96cbea82163d7 100644 (file)
@@ -4,12 +4,12 @@
                <dd>
                        <ul>
                                {if $assignedUser && $assignedUser->userID != $__wcf->getUser()->userID}
-                                       <li><label><input type="radio" name="assignedUserID" value="{@$assignedUser->userID}" checked="checked"> {$assignedUser->username}</label></li>
+                                       <li><label><input type="radio" name="assignedUserID" value="{@$assignedUser->userID}" checked> {$assignedUser->username}</label></li>
                                {/if}
-                               <li><label><input type="radio" name="assignedUserID" value="{@$__wcf->getUser()->userID}"{if $assignedUser && $assignedUser->userID == $__wcf->getUser()->userID} checked="checked"{/if}> {$__wcf->getUser()->username}</label></li>
-                               <li><label><input type="radio" name="assignedUserID" value="0"{if !$assignedUser} checked="checked"{/if}> {lang}wcf.moderation.assignedUser.nobody{/lang}</label></li>
+                               <li><label><input type="radio" name="assignedUserID" value="{@$__wcf->getUser()->userID}"{if $assignedUser && $assignedUser->userID == $__wcf->getUser()->userID} checked{/if}> {$__wcf->getUser()->username}</label></li>
+                               <li><label><input type="radio" name="assignedUserID" value="0"{if !$assignedUser} checked{/if}> {lang}wcf.moderation.assignedUser.nobody{/lang}</label></li>
                                <li>
-                                       <input type="radio" name="assignedUserID" value="-1"{if !$assignedUser} checked="checked"{/if}>
+                                       <input type="radio" name="assignedUserID" value="-1"{if !$assignedUser} checked{/if}>
                                        <input type="text" id="assignedUsername" name="assignedUsername" value="{if $assignedUser}{$assignedUser->username}{/if}">
                                        {*if $errorField == 'assignedUsername'}
                                                <small class="innerError">
index 54c99c0174d53e95738b6ffacb99c97afba89b89..d36af6e875ae9fb2c99897566744838706a7af1c 100644 (file)
@@ -6,7 +6,7 @@
                
                <dl class="wide">
                        <dd>
-                               <textarea id="reason" required="required" cols="60" rows="10" class="jsReportMessage" maxlength="64000"></textarea>
+                               <textarea id="reason" required cols="60" rows="10" class="jsReportMessage" maxlength="64000"></textarea>
                                <small>{lang}wcf.moderation.report.reason.description{/lang}</small>
                        </dd>
                </dl>
index 3c8ce8570df07446b60b844728278411b0abe6da..d38909b56dd62e1995fd8937d5822cdf2f14f3c3 100644 (file)
@@ -1,5 +1,5 @@
-<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple="multiple" size="{if $selectOptions|count > 10}10{else}{@$selectOptions|count}{/if}">
+<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple size="{if $selectOptions|count > 10}10{else}{@$selectOptions|count}{/if}">
 {foreach from=$selectOptions key=key item=selectOption}
-       <option value="{$key}"{if $key|in_array:$value} selected="selected"{/if}>{lang}{@$selectOption}{/lang}</option>
+       <option value="{$key}"{if $key|in_array:$value} selected{/if}>{lang}{@$selectOption}{/lang}</option>
 {/foreach}
 </select>
index 84bb0cfb60b10c39c3792809f2d01b329f3ccc7f..a0de77592261d07d5ca8ff43e4d2c6cb7d665258 100644 (file)
@@ -1,7 +1,7 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
-<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple="multiple" size="{if $selectOptions|count > 10}10{else}{@$selectOptions|count}{/if}"{if !$searchOption} disabled="disabled"{/if}>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
+<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple size="{if $selectOptions|count > 10}10{else}{@$selectOptions|count}{/if}"{if !$searchOption} disabled{/if}>
        {foreach from=$selectOptions key=key item=selectOption}
-               <option value="{$key}"{if $key|in_array:$value} selected="selected"{/if}>{lang}{@$selectOption}{/lang}</option>
+               <option value="{$key}"{if $key|in_array:$value} selected{/if}>{lang}{@$selectOption}{/lang}</option>
        {/foreach}
 </select>
 
index 57a8a2539524486f55b968685a02208de4ae07b2..537d398543afa80647dd7d91ba9de75c168dfef3 100644 (file)
@@ -9,7 +9,7 @@
                                <label for="userID">{lang}wcf.user.userID{/lang}</label>
                        </dt>
                        <dd>
-                               <input type="text" id="userID" name="u" value="{@$userID}" required="required" class="medium">
+                               <input type="text" id="userID" name="u" value="{@$userID}" required class="medium">
                                {if $errorField == 'userID'}
                                        <small class="innerError">
                                                {lang}wcf.user.userID.error.{$errorType}{/lang}
@@ -23,7 +23,7 @@
                                <label for="lostPasswordKey">{lang}wcf.user.lostPasswordKey{/lang}</label>
                        </dt>
                        <dd>
-                               <input type="text" id="lostPasswordKey" name="k" value="{$lostPasswordKey}" required="required" class="medium">
+                               <input type="text" id="lostPasswordKey" name="k" value="{$lostPasswordKey}" required class="medium">
                                {if $errorField == 'lostPasswordKey'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
index f41d31d42f8d90b055286b4df76783b50e7ffa2a..a6b475f82ab9922cc672493c30a7aa4e4c7e590e 100644 (file)
                                                <dd>
                                                        <ol class="flexibleButtonGroup" data-object-id="{@$event->eventID}">
                                                                <li>
-                                                                       <input type="radio" id="settings_{@$event->eventID}_disabled" name="settings[{@$event->eventID}][enabled]" value="0"{if $settings[$event->eventID][enabled]|empty} checked="checked"{/if}>
+                                                                       <input type="radio" id="settings_{@$event->eventID}_disabled" name="settings[{@$event->eventID}][enabled]" value="0"{if $settings[$event->eventID][enabled]|empty} checked{/if}>
                                                                        <label for="settings_{@$event->eventID}_disabled" class="red">
                                                                                <span class="icon icon16 fa-times"></span>
                                                                                {lang}wcf.user.notification.notifications.disabled{/lang}
                                                                        </label>
                                                                </li>
                                                                <li class="spaceAfter">
-                                                                       <input type="radio" id="settings_{@$event->eventID}_enabled" name="settings[{@$event->eventID}][enabled]" value="1"{if !$settings[$event->eventID][enabled]|empty} checked="checked"{/if}>
+                                                                       <input type="radio" id="settings_{@$event->eventID}_enabled" name="settings[{@$event->eventID}][enabled]" value="1"{if !$settings[$event->eventID][enabled]|empty} checked{/if}>
                                                                        <label for="settings_{@$event->eventID}_enabled" class="green">
                                                                                <span class="icon icon16 fa-bell"></span>
                                                                                {lang}wcf.user.notification.notifications.enabled{/lang}
index 94f280dcbc4a7d7f90223651631cbdf8235b6568..21842694fee1de4eb11c10439b234d35f850065b 100644 (file)
                                                                <dl>
                                                                        <dt><label for="username">{lang}wcf.user.usernameOrEmail{/lang}</label></dt>
                                                                        <dd>
-                                                                               <input type="text" id="username" name="username" value="" required="required" class="long jsDialogAutoFocus">
+                                                                               <input type="text" id="username" name="username" value="" required class="long jsDialogAutoFocus">
                                                                        </dd>
                                                                </dl>
                                                                
index 876a8d03efcaa9f91dbc073dc52eeae328d1ddd2..804431ceba1ed57c80dd424426f78ff2c5c634ed 100644 (file)
@@ -3,7 +3,7 @@
                <dt></dt>
                <dd>
                        <label>
-                               {if $poll->canVote()}<input type="{if $poll->maxVotes > 1}checkbox{else}radio{/if}" name="pollOptions{@$poll->pollID}[]" value="{$option->optionValue}" data-option-id="{@$option->optionID}"{if $option->voted} checked="checked"{/if}>{/if}
+                               {if $poll->canVote()}<input type="{if $poll->maxVotes > 1}checkbox{else}radio{/if}" name="pollOptions{@$poll->pollID}[]" value="{$option->optionValue}" data-option-id="{@$option->optionID}"{if $option->voted} checked{/if}>{/if}
                                {$option->optionValue}
                        </label>
                </dd>
index b868e71460bd2d801ae41fb0deb7b6c591c00f7d..87e2e637aea4ee0f9559e247ef5d4db2df2b8295 100644 (file)
@@ -1,3 +1,3 @@
 {foreach name=radioButtons from=$selectOptions key=key item=selectOption}
-       <label><input {if $tpl.foreach.radioButtons.first}id="{$option->optionName}" {/if}type="radio" name="values[{$option->optionName}]" value="{$key}" {if $value == $key} checked="checked"{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
+       <label><input {if $tpl.foreach.radioButtons.first}id="{$option->optionName}" {/if}type="radio" name="values[{$option->optionName}]" value="{$key}" {if $value == $key} checked{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
 {/foreach}
index 4391f287cd4b4a33b62a83210c75f0e7561d8504..cd4c9d1ed94a9ee40733e03737869af09cb18350 100644 (file)
@@ -1,6 +1,6 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
 {foreach from=$selectOptions key=key item=selectOption}
-       <label><input type="radio" name="values[{$option->optionName}]" value="{$key}" {if $value == $key} checked="checked"{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
+       <label><input type="radio" name="values[{$option->optionName}]" value="{$key}" {if $value == $key} checked{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
 {/foreach}
 
 <script data-relocate="true">
index 4e6471159870036f29f023d611ad750faf2b3727..d491a68075ec1ab8b5f5706b8b8e5237251eac62 100644 (file)
@@ -21,7 +21,7 @@
                                <label for="{@$randomFieldNames[username]}">{lang}wcf.user.username{/lang}</label>
                        </dt>
                        <dd>
-                               <input type="text" id="{@$randomFieldNames[username]}" name="{@$randomFieldNames[username]}" value="{$username}" required="required" class="medium">
+                               <input type="text" id="{@$randomFieldNames[username]}" name="{@$randomFieldNames[username]}" value="{$username}" required class="medium">
                                {if $errorType.username|isset}
                                        <small class="innerError">
                                                {if $errorType.username == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
@@ -71,7 +71,7 @@
                                <label for="{@$randomFieldNames[email]}">{lang}wcf.user.email{/lang}</label>
                        </dt>
                        <dd>
-                               <input type="email" id="{@$randomFieldNames[email]}" name="{@$randomFieldNames[email]}" value="{$email}" required="required" class="medium">
+                               <input type="email" id="{@$randomFieldNames[email]}" name="{@$randomFieldNames[email]}" value="{$email}" required class="medium">
                                {if $errorType.email|isset}
                                        <small class="innerError">
                                                {if $errorType.email == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
@@ -87,7 +87,7 @@
                                <label for="{@$randomFieldNames[confirmEmail]}">{lang}wcf.user.confirmEmail{/lang}</label>
                        </dt>
                        <dd>
-                               <input type="email" id="{@$randomFieldNames[confirmEmail]}" name="{@$randomFieldNames[confirmEmail]}" value="{$confirmEmail}" required="required" class="medium">
+                               <input type="email" id="{@$randomFieldNames[confirmEmail]}" name="{@$randomFieldNames[confirmEmail]}" value="{$confirmEmail}" required class="medium">
                                {if $errorType.confirmEmail|isset}
                                        <small class="innerError">
                                                {if $errorType.confirmEmail == 'notEqual'}{lang}wcf.user.confirmEmail.error.notEqual{/lang}{/if}
                                        <label for="{@$randomFieldNames[password]}">{lang}wcf.user.password{/lang}</label>
                                </dt>
                                <dd>
-                                       <input type="password" id="{@$randomFieldNames[password]}" name="{@$randomFieldNames[password]}" value="{$password}" required="required" class="medium">
+                                       <input type="password" id="{@$randomFieldNames[password]}" name="{@$randomFieldNames[password]}" value="{$password}" required class="medium">
                                        {if $errorType.password|isset}
                                                <small class="innerError">
                                                        {if $errorType.password == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
                                        <label for="{@$randomFieldNames[confirmPassword]}">{lang}wcf.user.confirmPassword{/lang}</label>
                                </dt>
                                <dd>
-                                       <input type="password" id="{@$randomFieldNames[confirmPassword]}" name="{@$randomFieldNames[confirmPassword]}" value="{$confirmPassword}" required="required" class="medium">
+                                       <input type="password" id="{@$randomFieldNames[confirmPassword]}" name="{@$randomFieldNames[confirmPassword]}" value="{$confirmPassword}" required class="medium">
                                        {if $errorType.confirmPassword|isset}
                                                <small class="innerError">
                                                        {if $errorType.confirmPassword == 'notEqual'}{lang}wcf.user.confirmPassword.error.notEqual{/lang}{/if}
                                <dd>
                                        <select id="languageID" name="languageID">
                                                {foreach from=$availableLanguages item=language}
-                                                       <option value="{@$language->languageID}"{if $language->languageID == $languageID} selected="selected"{/if}>{$language}</option>
+                                                       <option value="{@$language->languageID}"{if $language->languageID == $languageID} selected{/if}>{$language}</option>
                                                {/foreach}
                                        </select>
                                        <small>{lang}wcf.user.language.description{/lang}</small>
                                        <dd class="floated">
                                        {content}
                                                {foreach from=$availableContentLanguages item=language}
-                                                       <label><input name="visibleLanguages[]" type="checkbox" value="{@$language->languageID}"{if $language->languageID|in_array:$visibleLanguages} checked="checked"{/if}> {$language}</label>
+                                                       <label><input name="visibleLanguages[]" type="checkbox" value="{@$language->languageID}"{if $language->languageID|in_array:$visibleLanguages} checked{/if}> {$language}</label>
                                                {/foreach}
                                        {/content}
                                        <small>{lang}wcf.user.visibleLanguages.description{/lang}</small></dd>
index 6d477448db4698da35cbf0cae54f3d5d45311a2a..31786b310e567ea854f86527e3b04eb5a2c0b76d 100644 (file)
@@ -9,7 +9,7 @@
                <dl{if $errorField == 'username'} class="formError"{/if}>
                        <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="username" name="username" value="{$username}" required="required" class="medium">
+                               <input type="text" id="username" name="username" value="{$username}" required class="medium">
                                {if $errorField == 'username'}
                                        <small class="innerError">
                                                {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
@@ -21,7 +21,7 @@
                <dl{if $errorField == 'activationCode'} class="formError"{/if}>
                        <dt><label for="activationCode">{lang}wcf.user.activationCode{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="activationCode" maxlength="9" name="activationCode" value="{@$activationCode}" required="required" class="medium">
+                               <input type="text" id="activationCode" maxlength="9" name="activationCode" value="{@$activationCode}" required class="medium">
                                {if $errorField == 'activationCode'}
                                        <small class="innerError">
                                                {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if}
index bf936901c648e7f9624fbcad0e0a2cbf4f3c2003..af4e32f9e602b9eb1a0f5885c42a43a53fa76890 100644 (file)
@@ -7,7 +7,7 @@
                <dl{if $errorField == 'username'} class="formError"{/if}>
                        <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="username" name="username" value="{$username}" required="required" class="medium">
+                               <input type="text" id="username" name="username" value="{$username}" required class="medium">
                                {if $errorField == 'username'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -25,7 +25,7 @@
                <dl{if $errorField == 'password'} class="formError"{/if}>
                        <dt><label for="password">{lang}wcf.user.password{/lang}</label></dt>
                        <dd>
-                               <input type="password" id="password" name="password" value="{$password}" required="required" class="medium">
+                               <input type="password" id="password" name="password" value="{$password}" required class="medium">
                                {if $errorField == 'password'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
index 01c1e8ede854f52a6eca17e9ce28fd83dd7dca60..03a0bc84612b970870c82a66a4ac5c5bcd72d9a8 100644 (file)
@@ -11,7 +11,7 @@
                <dl{if $errorField == 'q'} class="formError"{/if}>
                        <dt><label for="searchTerm">{lang}wcf.search.query{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="searchTerm" name="q" value="{$query}" class="long" maxlength="255" autofocus="autofocus">
+                               <input type="text" id="searchTerm" name="q" value="{$query}" class="long" maxlength="255" autofocus>
                                {if $errorField == 'q'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -21,7 +21,7 @@
                                                {/if}
                                        </small>
                                {/if}
-                               <label><input type="checkbox" name="subjectOnly" value="1"{if $subjectOnly == 1} checked="checked"{/if}> {lang}wcf.search.subjectOnly{/lang}</label>
+                               <label><input type="checkbox" name="subjectOnly" value="1"{if $subjectOnly == 1} checked{/if}> {lang}wcf.search.subjectOnly{/lang}</label>
                                {event name='queryOptions'}
                                
                                <small>{lang}wcf.search.query.description{/lang}</small>
@@ -32,7 +32,7 @@
                        <dt><label for="searchAuthor">{lang}wcf.search.author{/lang}</label></dt>
                        <dd>
                                <input type="text" id="searchAuthor" name="username" value="{$username}" class="long" maxlength="255" autocomplete="off">
-                               <label><input type="checkbox" name="nameExactly" value="1"{if $nameExactly == 1} checked="checked"{/if}> {lang}wcf.search.matchExactly{/lang}</label>
+                               <label><input type="checkbox" name="nameExactly" value="1"{if $nameExactly == 1} checked{/if}> {lang}wcf.search.matchExactly{/lang}</label>
                                {event name='authorOptions'}
                        </dd>
                </dl>
                        <dd>
                                <label class="selectDropdown">
                                        <select id="sortField" name="sortField">
-                                               <option value="relevance"{if $sortField == 'relevance'} selected="selected"{/if}>{lang}wcf.search.sortBy.relevance{/lang}</option>
-                                               <option value="subject"{if $sortField == 'subject'} selected="selected"{/if}>{lang}wcf.global.subject{/lang}</option>
-                                               <option value="time"{if $sortField == 'time'} selected="selected"{/if}>{lang}wcf.search.sortBy.time{/lang}</option>
-                                               <option value="username"{if $sortField == 'username'} selected="selected"{/if}>{lang}wcf.search.sortBy.username{/lang}</option>
+                                               <option value="relevance"{if $sortField == 'relevance'} selected{/if}>{lang}wcf.search.sortBy.relevance{/lang}</option>
+                                               <option value="subject"{if $sortField == 'subject'} selected{/if}>{lang}wcf.global.subject{/lang}</option>
+                                               <option value="time"{if $sortField == 'time'} selected{/if}>{lang}wcf.search.sortBy.time{/lang}</option>
+                                               <option value="username"{if $sortField == 'username'} selected{/if}>{lang}wcf.search.sortBy.username{/lang}</option>
                                        </select>
                                </label>
                                
                                <label class="selectDropdown">
                                        <select name="sortOrder">
-                                               <option value="ASC"{if $sortOrder == 'ASC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
-                                               <option value="DESC"{if $sortOrder == 'DESC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
+                                               <option value="ASC"{if $sortOrder == 'ASC'} selected{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
+                                               <option value="DESC"{if $sortOrder == 'DESC'} selected{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
                                        </select>
                                </label>
                                {event name='displayOptions'}
@@ -75,7 +75,7 @@
                        <dd class="floated">
                                {foreach from=$objectTypes key=objectTypeName item=objectType}
                                        {if $objectType->isAccessible()}
-                                               <label><input id="{@'.'|str_replace:'_':$objectTypeName}" type="checkbox" name="types[]" value="{@$objectTypeName}"{if $objectTypeName|in_array:$selectedObjectTypes} checked="checked"{/if}> {lang}wcf.search.type.{@$objectTypeName}{/lang}</label>
+                                               <label><input id="{@'.'|str_replace:'_':$objectTypeName}" type="checkbox" name="types[]" value="{@$objectTypeName}"{if $objectTypeName|in_array:$selectedObjectTypes} checked{/if}> {lang}wcf.search.type.{@$objectTypeName}{/lang}</label>
                                        {/if}
                                {/foreach}
                        </dd>
index bf559210b12cadc8c808e06f2b92c00002a2d548..6c6a5615b68a5d8e7ed01918467243d87af55238 100644 (file)
@@ -4,7 +4,7 @@
                <ul class="scrollableCheckboxList">
                        {foreach from=$articleCategoryList item=category}
                                <li{if $category->getDepth() > 1} style="padding-left: {$category->getDepth()*20-20}px"{/if}>
-                                       <label><input type="checkbox" name="articleCategoryIDs[]" value="{@$category->categoryID}"{if $category->categoryID|in_array:$articleCategoryIDs} checked="checked"{/if}> {$category->getTitle()}</label>
+                                       <label><input type="checkbox" name="articleCategoryIDs[]" value="{@$category->categoryID}"{if $category->categoryID|in_array:$articleCategoryIDs} checked{/if}> {$category->getTitle()}</label>
                                </li>
                        {/foreach}
                </ul>
index ea30b398aa77139407591fd963f04b76e02386c6..40bc997f006cfcb4e1c9d6f17ba7225f05f4de0d 100644 (file)
@@ -2,7 +2,7 @@
        <select id="{$option->optionName}" name="values[{$option->optionName}]">
                {if !$allowEmptyValue|empty}<option value="">{lang}wcf.global.noSelection{/lang}</option>{/if}
                {foreach from=$selectOptions key=key item=selectOption}
-                       <option value="{$key}"{if $value == $key} selected="selected"{/if}>{lang}{@$selectOption}{/lang}</option>
+                       <option value="{$key}"{if $value == $key} selected{/if}>{lang}{@$selectOption}{/lang}</option>
                {/foreach}
        </select>
 </label>
index 07a0a5560f603c056a0e860f65016faf501be544..1aade96a44258fc692398ed76e621f243cc77ea4 100644 (file)
@@ -1,9 +1,9 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
 <label class="selectDropdown">
-       <select id="{$option->optionName}" name="values[{$option->optionName}]"{if !$searchOption} disabled="disabled"{/if}>
+       <select id="{$option->optionName}" name="values[{$option->optionName}]"{if !$searchOption} disabled{/if}>
                {if !$allowEmptyValue|empty}<option value="">{lang}wcf.global.noSelection{/lang}</option>{/if}
                {foreach from=$selectOptions key=key item=selectOption}
-                       <option value="{$key}"{if $value == $key} selected="selected"{/if}>{lang}{@$selectOption}{/lang}</option>
+                       <option value="{$key}"{if $value == $key} selected{/if}>{lang}{@$selectOption}{/lang}</option>
                {/foreach}
        </select>
 </label>
index 4e53a81ad38d9669a66e113695f0f4da4281bd9f..55a9137b2c7f7887d48edededa9b0f5d45898697 100644 (file)
@@ -40,7 +40,7 @@
                                                <noscript>
                                                        <select name="languageID" id="languageID">
                                                                {foreach from=$availableLanguages item=language}
-                                                                       <option value="{@$language->languageID}"{if $language->languageID == $languageID} selected="selected"{/if}>{$language}</option>
+                                                                       <option value="{@$language->languageID}"{if $language->languageID == $languageID} selected{/if}>{$language}</option>
                                                                {/foreach}
                                                        </select>
                                                </noscript>
@@ -53,7 +53,7 @@
                                                <dd class="floated">
                                                {content}
                                                        {foreach from=$availableContentLanguages item=language}
-                                                               <label><input name="contentLanguageIDs[]" type="checkbox" value="{@$language->languageID}"{if $language->languageID|in_array:$contentLanguageIDs} checked="checked"{/if}> {$language}</label>
+                                                               <label><input name="contentLanguageIDs[]" type="checkbox" value="{@$language->languageID}"{if $language->languageID|in_array:$contentLanguageIDs} checked{/if}> {$language}</label>
                                                        {/foreach}
                                                {/content}
                                                <small>{lang}wcf.user.visibleLanguages.description{/lang}</small></dd>
@@ -74,7 +74,7 @@
                                                <select id="styleID" name="styleID">
                                                        <option value="0">{lang}wcf.global.defaultValue{/lang}</option>
                                                        {foreach from=$availableStyles item=style}
-                                                               <option value="{@$style->styleID}"{if $style->styleID == $styleID} selected="selected"{/if}>{$style->styleName}</option>
+                                                               <option value="{@$style->styleID}"{if $style->styleID == $styleID} selected{/if}>{$style->styleName}</option>
                                                        {/foreach}
                                                </select>
                                                <small>{lang}wcf.user.style.description{/lang}</small>
index a7b643097bc61deea1ec29f1acbfe5695de41123..eb75d8830e8d9e3c57c55c0a1c13fd08390a0a6c 100644 (file)
@@ -1 +1 @@
-<input type="{@$inputType}" id="{$option->optionName}" name="values[{$option->optionName}]" value="{$value}"{if $option->minlength > 0} required="required"{/if}{if $option->maxlength} maxlength="{$option->maxlength}"{/if}{if $inputClass} class="{@$inputClass}"{/if}>
+<input type="{@$inputType}" id="{$option->optionName}" name="values[{$option->optionName}]" value="{$value}"{if $option->minlength > 0} required{/if}{if $option->maxlength} maxlength="{$option->maxlength}"{/if}{if $inputClass} class="{@$inputClass}"{/if}>
index b16f8c98d47e72363aba73ce03e6a65c0f8d732b..81c0de79b486ddc45798c345861ca64618d2c55a 100644 (file)
@@ -1,5 +1,5 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchTextOption{/lang}</label>
-<input type="{@$inputType}" id="{$option->optionName}" name="values[{$option->optionName}]" value="{$value}"{if $inputClass} class="{@$inputClass}"{/if}{if !$searchOption} disabled="disabled"{/if}>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchTextOption{/lang}</label>
+<input type="{@$inputType}" id="{$option->optionName}" name="values[{$option->optionName}]" value="{$value}"{if $inputClass} class="{@$inputClass}"{/if}{if !$searchOption} disabled{/if}>
 
 <script data-relocate="true">
 //<![CDATA[
index 33d4a793e2db25419b43e4cf2619e93e4bcadcf5..8c9f10a4e15b76af4c06550895575852c19d80f9 100644 (file)
@@ -1,5 +1,5 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchTextOption{/lang}</label>
-<textarea id="{$option->optionName}" name="values[{$option->optionName}]"{if !$searchOption} disabled="disabled"{/if} cols="40" rows="10">{$value}</textarea>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchTextOption{/lang}</label>
+<textarea id="{$option->optionName}" name="values[{$option->optionName}]"{if !$searchOption} disabled{/if} cols="40" rows="10">{$value}</textarea>
 
 <script data-relocate="true">
 //<![CDATA[
index e183415a809dd52ce09cbc4b167b6584279917f2..9d420a76f412a0534138961373d228a20742da3a 100644 (file)
                                        <dt></dt>
                                        <dd>
                                                <select id="sortField" name="sortField">
-                                                       <option value="username"{if $sortField == 'username'} selected="selected"{/if}>{lang}wcf.user.username{/lang}</option>
-                                                       <option value="lastActivityTime"{if $sortField == 'lastActivityTime'} selected="selected"{/if}>{lang}wcf.user.usersOnline.lastActivity{/lang}</option>
-                                                       <option value="requestURI"{if $sortField == 'requestURI'} selected="selected"{/if}>{lang}wcf.user.usersOnline.location{/lang}</option>
+                                                       <option value="username"{if $sortField == 'username'} selected{/if}>{lang}wcf.user.username{/lang}</option>
+                                                       <option value="lastActivityTime"{if $sortField == 'lastActivityTime'} selected{/if}>{lang}wcf.user.usersOnline.lastActivity{/lang}</option>
+                                                       <option value="requestURI"{if $sortField == 'requestURI'} selected{/if}>{lang}wcf.user.usersOnline.location{/lang}</option>
                                                        
                                                        {if $__wcf->session->getPermission('admin.user.canViewIpAddress')}
-                                                               <option value="ipAddress"{if $sortField == 'ipAddress'} selected="selected"{/if}>{lang}wcf.user.usersOnline.ipAddress{/lang}</option>
-                                                               <option value="userAgent"{if $sortField == 'userAgent'} selected="selected"{/if}>{lang}wcf.user.usersOnline.userAgent{/lang}</option>
+                                                               <option value="ipAddress"{if $sortField == 'ipAddress'} selected{/if}>{lang}wcf.user.usersOnline.ipAddress{/lang}</option>
+                                                               <option value="userAgent"{if $sortField == 'userAgent'} selected{/if}>{lang}wcf.user.usersOnline.userAgent{/lang}</option>
                                                        {/if}
                                                </select>
                                                <select name="sortOrder">
-                                                       <option value="ASC"{if $sortOrder == 'ASC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
-                                                       <option value="DESC"{if $sortOrder == 'DESC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
+                                                       <option value="ASC"{if $sortOrder == 'ASC'} selected{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
+                                                       <option value="DESC"{if $sortOrder == 'DESC'} selected{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
                                                </select>
                                        </dd>
                                </dl>
index 00dc7a21675bedf3f727c3ec09c38068a43d4156..e1b2c724637a95e50fb7beff7abbeb33cef7f8c3 100644 (file)
@@ -2076,7 +2076,7 @@ WCF.ACP.User.BanHandler = {
                if (this._dialog === null) {
                        // create dialog
                        this._dialog = $('<div />').hide().appendTo(document.body);
-                       this._dialog.append($('<div class="section"><dl><dt><label for="userBanReason">' + WCF.Language.get('wcf.acp.user.banReason') + '</label></dt><dd><textarea id="userBanReason" cols="40" rows="3" /><small>' + WCF.Language.get('wcf.acp.user.banReason.description') + '</small></dd></dl><dl><dt></dt><dd><label for="userBanNeverExpires"><input type="checkbox" name="userBanNeverExpires" id="userBanNeverExpires" checked="checked" /> ' + WCF.Language.get('wcf.acp.user.ban.neverExpires') + '</label></dd></dl><dl id="userBanExpiresSettings" style="display: none;"><dt><label for="userBanExpires">' + WCF.Language.get('wcf.acp.user.ban.expires') + '</label></dt><dd><input type="date" name="userBanExpires" id="userBanExpires" class="medium" min="' + new Date(TIME_NOW * 1000).toISOString() + '" data-ignore-timezone="true" /><small>' + WCF.Language.get('wcf.acp.user.ban.expires.description') + '</small></dd></dl></div>'));
+                       this._dialog.append($('<div class="section"><dl><dt><label for="userBanReason">' + WCF.Language.get('wcf.acp.user.banReason') + '</label></dt><dd><textarea id="userBanReason" cols="40" rows="3" /><small>' + WCF.Language.get('wcf.acp.user.banReason.description') + '</small></dd></dl><dl><dt></dt><dd><label for="userBanNeverExpires"><input type="checkbox" name="userBanNeverExpires" id="userBanNeverExpires" checked> ' + WCF.Language.get('wcf.acp.user.ban.neverExpires') + '</label></dd></dl><dl id="userBanExpiresSettings" style="display: none;"><dt><label for="userBanExpires">' + WCF.Language.get('wcf.acp.user.ban.expires') + '</label></dt><dd><input type="date" name="userBanExpires" id="userBanExpires" class="medium" min="' + new Date(TIME_NOW * 1000).toISOString() + '" data-ignore-timezone="true" /><small>' + WCF.Language.get('wcf.acp.user.ban.expires.description') + '</small></dd></dl></div>'));
                        this._dialog.append($('<div class="formSubmit"><button class="buttonPrimary" accesskey="s">' + WCF.Language.get('wcf.global.button.submit') + '</button></div>'));
                        
                        this._dialog.find('#userBanNeverExpires').change(function() {
index ffba830938c827eff8dfd20ca86b744b25473651..72fca849ed5faaba2d53822d3ba50a22f9653d25 100644 (file)
@@ -35,7 +35,7 @@
                <dl{if $errorField == 'adName'} class="formError"{/if}>
                        <dt><label for="adName">{lang}wcf.global.name{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="adName" name="adName" value="{$adName}" required="required" autofocus="autofocus" class="long">
+                               <input type="text" id="adName" name="adName" value="{$adName}" required autofocus class="long">
                                {if $errorField == 'adName'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -68,7 +68,7 @@
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="isDisabled" value="1"{if $isDisabled} checked="checked"{/if}> {lang}wcf.acp.ad.isDisabled{/lang}</label>
+                               <label><input type="checkbox" name="isDisabled" value="1"{if $isDisabled} checked{/if}> {lang}wcf.acp.ad.isDisabled{/lang}</label>
                        </dd>
                </dl>
                
                        <dt><label for="objectTypeID">{lang}wcf.acp.ad.location{/lang}</label></dt>
                        <dd>
                                <select name="objectTypeID" id="objectTypeID">
-                                       <option value="0"{if !$objectTypeID} checked="checked"{/if}>{lang}wcf.global.noSelection{/lang}</option>
+                                       <option value="0"{if !$objectTypeID} checked{/if}>{lang}wcf.global.noSelection{/lang}</option>
                                        {foreach from=$locations key='locationGroupLabel' item='locationGroup'}
                                                <optgroup label="{$locationGroupLabel}">
                                                        {foreach from=$locationGroup key='locationID' item='location'}
-                                                               <option value="{@$locationID}"{if $locationObjectTypes[$locationID]->page} data-page="{$locationObjectTypes[$locationID]->page}"{/if}{if $objectTypeID == $locationID} selected="selected"{/if}>{$location}</option>
+                                                               <option value="{@$locationID}"{if $locationObjectTypes[$locationID]->page} data-page="{$locationObjectTypes[$locationID]->page}"{/if}{if $objectTypeID == $locationID} selected{/if}>{$location}</option>
                                                        {/foreach}
                                                </optgroup>
                                        {/foreach}
index 003bf0b31927d5a00674c92f6038427d0a04f7c1..1789658a3eed6ac1d31e25c880898bc2331f171f 100644 (file)
@@ -69,7 +69,7 @@
                                        <option value="0">{lang}wcf.global.noSelection{/lang}</option>
                                        
                                        {foreach from=$categoryNodeList item=category}
-                                               <option value="{@$category->categoryID}"{if $category->categoryID == $categoryID} selected="selected"{/if}>{if $category->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($category->getDepth() - 1)}{/if}{$category->getTitle()}</option>
+                                               <option value="{@$category->categoryID}"{if $category->categoryID == $categoryID} selected{/if}>{if $category->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($category->getDepth() - 1)}{/if}{$category->getTitle()}</option>
                                        {/foreach}
                                </select>
                                {if $errorField == 'categoryID'}
                <dl>
                        <dt><label for="categoryID">{lang}wcf.acp.article.publicationStatus{/lang}</label></dt>
                        <dd>
-                               <label><input type="radio" name="publicationStatus" value="0"{if $publicationStatus == 0} checked="checked"{/if}> {lang}wcf.acp.article.publicationStatus.unpublished{/lang}</label>
-                               <label><input type="radio" name="publicationStatus" value="1"{if $publicationStatus == 1} checked="checked"{/if}> {lang}wcf.acp.article.publicationStatus.published{/lang}</label>
-                               <label><input type="radio" name="publicationStatus" value="2"{if $publicationStatus == 2} checked="checked"{/if}> {lang}wcf.acp.article.publicationStatus.delayed{/lang}</label>
+                               <label><input type="radio" name="publicationStatus" value="0"{if $publicationStatus == 0} checked{/if}> {lang}wcf.acp.article.publicationStatus.unpublished{/lang}</label>
+                               <label><input type="radio" name="publicationStatus" value="1"{if $publicationStatus == 1} checked{/if}> {lang}wcf.acp.article.publicationStatus.published{/lang}</label>
+                               <label><input type="radio" name="publicationStatus" value="2"{if $publicationStatus == 2} checked{/if}> {lang}wcf.acp.article.publicationStatus.delayed{/lang}</label>
                        </dd>
                </dl>
                
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input name="enableComments" type="checkbox" value="1"{if $enableComments} checked="checked"{/if}> {lang}wcf.acp.article.enableComments{/lang}</label>
+                               <label><input name="enableComments" type="checkbox" value="1"{if $enableComments} checked{/if}> {lang}wcf.acp.article.enableComments{/lang}</label>
                        </dd>
                </dl>
        </div>
index bc1248e35f25186066d0a1654208e50b1fd35907..16f29efab873d9b52383d0cc8300dcebb96e07f6 100644 (file)
@@ -41,7 +41,7 @@
                                                <option value="0">{lang}wcf.acp.article.category{/lang}</option>
                                                
                                                {foreach from=$categoryNodeList item=category}
-                                                       <option value="{@$category->categoryID}"{if $category->categoryID == $categoryID} selected="selected"{/if}>{if $category->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($category->getDepth() - 1)}{/if}{$category->getTitle()}</option>
+                                                       <option value="{@$category->categoryID}"{if $category->categoryID == $categoryID} selected{/if}>{if $category->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($category->getDepth() - 1)}{/if}{$category->getTitle()}</option>
                                                {/foreach}
                                        </select>
                                </dd>
index 42a30590a5913973f394ea766f063e19d9c1be2a..1645317f1bce319a97f5567cd393ce4d506972c5 100644 (file)
@@ -1,3 +1,3 @@
 {foreach from=$bbCodes item='bbCode'}
-       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$bbCode}" {if $bbCode|in_array:$selectedBBCodes}checked="checked" {/if}> {$bbCode}</label>
+       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$bbCode}" {if $bbCode|in_array:$selectedBBCodes}checked {/if}> {$bbCode}</label>
 {/foreach}
\ No newline at end of file
index 3458bf2159c8271770f8857876d4396d92622f41..3ad8774c203a1da98a08e79cf17cb2c39f9e5b21 100644 (file)
                <dl{if $errorField == 'bbcodeTag'} class="formError"{/if}>
                        <dt><label for="bbcodeTag">{lang}wcf.acp.bbcode.bbcodeTag{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="bbcodeTag" name="bbcodeTag" value="{$bbcodeTag}" required="required" autofocus="autofocus" pattern="^[a-zA-Z0-9]+$" class="medium">
+                               <input type="text" id="bbcodeTag" name="bbcodeTag" value="{$bbcodeTag}" required autofocus pattern="^[a-zA-Z0-9]+$" class="medium">
                                {if $errorField == 'bbcodeTag'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
                <dl>
                        <dt></dt>
                        <dd>
-                               <label for="isSourceCode"><input type="checkbox" id="isSourceCode" name="isSourceCode" value="1"{if $isSourceCode} checked="checked"{/if}> {lang}wcf.acp.bbcode.isSourceCode{/lang}</label>
+                               <label for="isSourceCode"><input type="checkbox" id="isSourceCode" name="isSourceCode" value="1"{if $isSourceCode} checked{/if}> {lang}wcf.acp.bbcode.isSourceCode{/lang}</label>
                                <small>{lang}wcf.acp.bbcode.isSourceCode.description{/lang}</small>
                        </dd>
                </dl>
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" id="showButton" name="showButton" value="1"{if $showButton} checked="checked"{/if}> {lang}wcf.acp.bbcode.showButton{/lang}</label>
+                                       <label><input type="checkbox" id="showButton" name="showButton" value="1"{if $showButton} checked{/if}> {lang}wcf.acp.bbcode.showButton{/lang}</label>
                                </dd>
                        </dl>
                        
                                
                                <dl{if $errorField == 'attributeRequired'|concat:$attribute->attributeNo} class="formError"{/if}>
                                        <dd>
-                                               <label for="attributes[{@$attribute->attributeNo}][required]"><input type="checkbox" id="attributes[{@$attribute->attributeNo}][required]" name="attributes[{@$attribute->attributeNo}][required]" value="1"{if $attribute->required} checked="checked"{/if}> {lang}wcf.acp.bbcode.attribute.required{/lang}</label>
+                                               <label for="attributes[{@$attribute->attributeNo}][required]"><input type="checkbox" id="attributes[{@$attribute->attributeNo}][required]" name="attributes[{@$attribute->attributeNo}][required]" value="1"{if $attribute->required} checked{/if}> {lang}wcf.acp.bbcode.attribute.required{/lang}</label>
                                        </dd>
                                </dl>
                                
                                <dl{if $errorField == 'attributeUseText'|concat:$attribute->attributeNo} class="formError"{/if}>
                                        <dd>
-                                               <label for="attributes[{@$attribute->attributeNo}][useText]"><input type="checkbox" id="attributes[{@$attribute->attributeNo}][useText]" name="attributes[{@$attribute->attributeNo}][useText]" value="1"{if $attribute->useText} checked="checked"{/if}> {lang}wcf.acp.bbcode.attribute.useText{/lang}</label>
+                                               <label for="attributes[{@$attribute->attributeNo}][useText]"><input type="checkbox" id="attributes[{@$attribute->attributeNo}][useText]" name="attributes[{@$attribute->attributeNo}][useText]" value="1"{if $attribute->useText} checked{/if}> {lang}wcf.acp.bbcode.attribute.useText{/lang}</label>
                                                <small>{lang}wcf.acp.bbcode.attribute.useText.description{/lang}</small>
                                        </dd>
                                </dl>
index 05fdde8b2a9ef492d5a67aa9007aed39b633dcc9..cd40ed03ab3101d3c114756774f25437ef48b6f5 100644 (file)
@@ -25,7 +25,7 @@
                <dl{if $errorField == 'title'} class="formError"{/if}>
                        <dt><label for="title">{lang}wcf.acp.bbcode.mediaProvider.title{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="title" name="title" value="{$title}" required="required" autofocus="autofocus" class="long">
+                               <input type="text" id="title" name="title" value="{$title}" required autofocus class="long">
                                {if $errorField == 'title'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -41,7 +41,7 @@
                <dl{if $errorField == 'regex'} class="formError"{/if}>
                        <dt><label for="regex">{lang}wcf.acp.bbcode.mediaProvider.regex{/lang}</label></dt>
                        <dd>
-                               <textarea id="regex" name="regex" cols="40" rows="10" required="required">{$regex}</textarea>
+                               <textarea id="regex" name="regex" cols="40" rows="10" required>{$regex}</textarea>
                                {if $errorField == 'regex'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -58,7 +58,7 @@
                <dl{if $errorField == 'html'} class="formError"{/if}>
                        <dt><label for="html">{lang}wcf.acp.bbcode.mediaProvider.html{/lang}</label></dt>
                        <dd>
-                               <textarea id="html" name="html" cols="40" rows="10" required="required">{$html}</textarea>
+                               <textarea id="html" name="html" cols="40" rows="10" required>{$html}</textarea>
                                {if $errorField == 'html'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
index 754a9899c8840871414dd881f4a53b7b3138058b..92fd14be1e6423f1811f9a384bde211a3156d96b 100644 (file)
@@ -1,10 +1,10 @@
 <ol class="flexibleButtonGroup">
        <li>
-               <input type="radio" id="{$option->optionName}"{if $value == 1} checked="checked"{/if} name="values[{$option->optionName}]" value="1"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
+               <input type="radio" id="{$option->optionName}"{if $value == 1} checked{/if} name="values[{$option->optionName}]" value="1"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
                <label for="{$option->optionName}" class="green"><span class="icon icon16 fa-check"></span> {lang}wcf.acp.option.type.boolean.yes{/lang}</label>
        </li>
        <li>
-               <input type="radio" id="{$option->optionName}_no"{if $value == 0} checked="checked"{/if} name="values[{$option->optionName}]" value="0"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
+               <input type="radio" id="{$option->optionName}_no"{if $value == 0} checked{/if} name="values[{$option->optionName}]" value="0"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
                <label for="{$option->optionName}_no" class="red"><span class="icon icon16 fa-times"></span> {lang}wcf.acp.option.type.boolean.no{/lang}</label>
        </li>
 </ol>
index c8c8fc28d6c9c982aa9b94657c6dd30e576a02f7..88081b0d7da3170edbceb49150626113941c01ae 100644 (file)
@@ -72,7 +72,7 @@
                                <dl{if $errorField == 'name'} class="formError"{/if}>
                                        <dt><label for="name">{lang}wcf.global.name{/lang}</label></dt>
                                        <dd>
-                                               <input type="text" id="name" name="name" value="{$name}" required="required" autofocus="autofocus" class="long">
+                                               <input type="text" id="name" name="name" value="{$name}" required autofocus class="long">
                                                {if $errorField == 'name'}
                                                        <small class="innerError">
                                                                {if $errorType == 'empty'}
@@ -88,9 +88,9 @@
                                <dl{if $errorField == 'boxType'} class="formError"{/if}>
                                        <dt><label for="boxType">{lang}wcf.acp.box.boxType{/lang}</label></dt>
                                        <dd>
-                                               <select name="boxType" id="boxType" readonly="readonly">
+                                               <select name="boxType" id="boxType" readonly>
                                                        {foreach from=$availableBoxTypes item=availableBoxType}
-                                                               <option value="{@$availableBoxType}"{if $availableBoxType == $boxType} selected="selected"{/if}>{lang}wcf.acp.box.boxType.{@$availableBoxType}{/lang}</option>
+                                                               <option value="{@$availableBoxType}"{if $availableBoxType == $boxType} selected{/if}>{lang}wcf.acp.box.boxType.{@$availableBoxType}{/lang}</option>
                                                        {/foreach}
                                                </select>
                                                
                                        <dd>
                                                <select name="boxControllerID" id="boxControllerID">
                                                        {foreach from=$availableBoxControllers item=availableBoxController}
-                                                               <option value="{@$availableBoxController->objectTypeID}"{if $boxController && $availableBoxController->objectTypeID == $boxController->objectTypeID} selected="selected"{/if}>{lang}wcf.acp.box.boxController.{@$availableBoxController->objectType}{/lang}</option>
+                                                               <option value="{@$availableBoxController->objectTypeID}"{if $boxController && $availableBoxController->objectTypeID == $boxController->objectTypeID} selected{/if}>{lang}wcf.acp.box.boxController.{@$availableBoxController->objectType}{/lang}</option>
                                                        {/foreach}
                                                </select>
                                                
                                        <dd>
                                                <select name="position" id="position">
                                                        {foreach from=$availablePositions item=availablePosition}
-                                                               <option value="{@$availablePosition}"{if $availablePosition == $position} selected="selected"{/if}>{lang}wcf.acp.box.position.{@$availablePosition}{/lang}</option>
+                                                               <option value="{@$availablePosition}"{if $availablePosition == $position} selected{/if}>{lang}wcf.acp.box.position.{@$availablePosition}{/lang}</option>
                                                        {/foreach}
                                                </select>
                                                
                                <dl>
                                        <dt></dt>
                                        <dd>
-                                               <label><input type="checkbox" id="showHeader" name="showHeader" value="1"{if $showHeader} checked="checked"{/if}> {lang}wcf.acp.box.showHeader{/lang}</label>
+                                               <label><input type="checkbox" id="showHeader" name="showHeader" value="1"{if $showHeader} checked{/if}> {lang}wcf.acp.box.showHeader{/lang}</label>
                                        </dd>
                                </dl>
                        </div>
                                <dl>
                                        <dt></dt>
                                        <dd class="floated">
-                                               <label><input type="radio" name="linkType" value="none"{if $linkType == 'none'} checked="checked"{/if}> {lang}wcf.acp.box.linkType.none{/lang}</label>
-                                               <label><input type="radio" name="linkType" value="internal"{if $linkType == 'internal'} checked="checked"{/if}> {lang}wcf.acp.box.linkType.internal{/lang}</label>
-                                               <label><input type="radio" name="linkType" value="external"{if $linkType == 'external'} checked="checked"{/if}> {lang}wcf.acp.box.linkType.external{/lang}</label>
+                                               <label><input type="radio" name="linkType" value="none"{if $linkType == 'none'} checked{/if}> {lang}wcf.acp.box.linkType.none{/lang}</label>
+                                               <label><input type="radio" name="linkType" value="internal"{if $linkType == 'internal'} checked{/if}> {lang}wcf.acp.box.linkType.internal{/lang}</label>
+                                               <label><input type="radio" name="linkType" value="external"{if $linkType == 'external'} checked{/if}> {lang}wcf.acp.box.linkType.external{/lang}</label>
                                        </dd>
                                </dl>
                                
                                                        <option value="0">{lang}wcf.global.noSelection{/lang}</option>
                                                        
                                                        {foreach from=$pageNodeList item=pageNode}
-                                                               <option value="{@$pageNode->pageID}"{if $pageNode->pageID == $linkPageID} selected="selected"{/if}>{if $pageNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
+                                                               <option value="{@$pageNode->pageID}"{if $pageNode->pageID == $linkPageID} selected{/if}>{if $pageNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
                                                        {/foreach}
                                                </select>
                                                {if $errorField == 'linkPageID'}
                                <dl>
                                        <dt></dt>
                                        <dd>
-                                               <label><input type="checkbox" id="visibleEverywhere" name="visibleEverywhere" value="1"{if $visibleEverywhere} checked="checked"{/if}> {lang}wcf.acp.box.visibleEverywhere{/lang}</label>
+                                               <label><input type="checkbox" id="visibleEverywhere" name="visibleEverywhere" value="1"{if $visibleEverywhere} checked{/if}> {lang}wcf.acp.box.visibleEverywhere{/lang}</label>
                                        </dd>
                                </dl>
                                
                                                <ul class="scrollableCheckboxList">
                                                        {foreach from=$pageNodeList item=pageNode}
                                                                <li{if $pageNode->getDepth() > 1} style="padding-left: {$pageNode->getDepth()*20-20}px"{/if}>
-                                                                       <label><input type="checkbox" name="pageIDs[]" value="{@$pageNode->pageID}"{if $pageNode->pageID|in_array:$pageIDs} checked="checked"{/if}> {$pageNode->name}</label>
+                                                                       <label><input type="checkbox" name="pageIDs[]" value="{@$pageNode->pageID}"{if $pageNode->pageID|in_array:$pageIDs} checked{/if}> {$pageNode->name}</label>
                                                                </li>
                                                        {/foreach}
                                                </ul>
index 451b9cfc0dfa7a3333b7bef127d2f5cce20a1722..75a51de98ad58abc0c8a1936cbedffd9682b4e53 100644 (file)
                        <dd>
                                <select name="sortField" id="sortField">
                                        {foreach from=$validSortFields item=validSortField}
-                                               <option value="{$validSortField}"{if $validSortField == $sortField} selected="selected"{/if}>{lang}{$sortFieldLanguageItemPrefix}.{$validSortField}{/lang}</option>
+                                               <option value="{$validSortField}"{if $validSortField == $sortField} selected{/if}>{lang}{$sortFieldLanguageItemPrefix}.{$validSortField}{/lang}</option>
                                        {/foreach}
                                </select>
                                
                                <select name="sortOrder" id="sortOrder">
-                                       <option value="ASC"{if $sortOrder == 'ASC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
-                                       <option value="DESC"{if $sortOrder == 'DESC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
+                                       <option value="ASC"{if $sortOrder == 'ASC'} selected{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
+                                       <option value="DESC"{if $sortOrder == 'DESC'} selected{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
                                </select>
                                
                                {if $errorField === 'sorting'}
index 1bf291f0fe8d2dc4183bfdad695df4bceec41c3e..fdcd354f6a3eccde2a85fb43155baa5366b8acf8 100644 (file)
@@ -55,7 +55,7 @@
                                                <select name="position" id="boxPosition">
                                                        <option value="0">{lang}wcf.acp.box.position{/lang}</option>
                                                        {foreach from=$availablePositions item=availablePosition}
-                                                               <option value="{@$availablePosition}"{if $availablePosition == $position} selected="selected"{/if}>{@$availablePosition}</option>
+                                                               <option value="{@$availablePosition}"{if $availablePosition == $position} selected{/if}>{@$availablePosition}</option>
                                                        {/foreach}
                                                </select>
                                        </label>
@@ -68,8 +68,8 @@
                                        <label class="selectDropdown">
                                                <select name="boxType" id="boxType">
                                                        <option value="">{lang}wcf.acp.box.boxType{/lang}</option>
-                                                       <option value="static"{if $boxType == 'static'} selected="selected"{/if}>{lang}wcf.acp.box.boxType.static{/lang}</option>
-                                                       <option value="system"{if $boxType == 'system'} selected="selected"{/if}>{lang}wcf.acp.box.boxType.system{/lang}</option>
+                                                       <option value="static"{if $boxType == 'static'} selected{/if}>{lang}wcf.acp.box.boxType.static{/lang}</option>
+                                                       <option value="system"{if $boxType == 'system'} selected{/if}>{lang}wcf.acp.box.boxType.system{/lang}</option>
                                                </select>
                                        </label>
                                </dd>
index f4db6d457bd29c81cfe303e95caf313b909877df..fbd247187d270da5ccbd84498b9abcef1e4020a1 100644 (file)
@@ -46,7 +46,7 @@
                        <dt></dt>
                        <dd>
                                {foreach from=$actions item=actionObjectType}
-                                       <label><input type="radio" name="action" value="{@$actionObjectType->action}"{if $actionObjectType->action == $action} checked="checked"{/if}> {lang}{$objectType->getProcessor()->getLanguageItemPrefix()}.{@$actionObjectType->action}{/lang}</label>
+                                       <label><input type="radio" name="action" value="{@$actionObjectType->action}"{if $actionObjectType->action == $action} checked{/if}> {lang}{$objectType->getProcessor()->getLanguageItemPrefix()}.{@$actionObjectType->action}{/lang}</label>
                                {/foreach}
                                
                                {if $errorField == 'action'}
index 22969743be8522478a80a49a76951d347fffd359..eee5ffbbc65c91e1e9e8ac9cdb54e1f13d0e5eca 100644 (file)
@@ -25,7 +25,7 @@
                <dl{if $errorField == 'question'} class="formError"{/if}>
                        <dt><label for="question">{lang}wcf.acp.captcha.question.question{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="question" name="question" value="{$i18nPlainValues[question]}" required="required" autofocus="autofocus" class="long">
+                               <input type="text" id="question" name="question" value="{$i18nPlainValues[question]}" required autofocus class="long">
                                {if $errorField == 'question'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -64,7 +64,7 @@
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="isDisabled" value="1"{if $isDisabled} checked="checked"{/if}> {lang}wcf.acp.captcha.question.isDisabled{/lang}</label>
+                               <label><input type="checkbox" name="isDisabled" value="1"{if $isDisabled} checked{/if}> {lang}wcf.acp.captcha.question.isDisabled{/lang}</label>
                        </dd>
                </dl>
                
index 4ce1d4d12add039bb8bfa73f998252d8f22ffbf7..5f069214618731f0609f68fbbe5647e022e4afa1 100644 (file)
@@ -99,7 +99,7 @@
                <dl{if $errorField == 'isDisabled'} class="formError"{/if}>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" id="isDisabled" name="isDisabled"{if $isDisabled} checked="checked"{/if}> {@$objectType->getProcessor()->getLanguageVariable('isDisabled')}</label>
+                               <label><input type="checkbox" id="isDisabled" name="isDisabled"{if $isDisabled} checked{/if}> {@$objectType->getProcessor()->getLanguageVariable('isDisabled')}</label>
                                {hascontent}<small>{content}{@$objectType->getProcessor()->getLanguageVariable('isDisabled.description', true)}{/content}</small>{/hascontent}
                        </dd>
                </dl>
index 491351007dbb76021172338432589e9b4c7c92bb..cc7cd54ab8a11e059826f09364e24c562280e719 100644 (file)
@@ -1,10 +1,10 @@
-<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple="multiple" size="10">
+<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple size="10">
        {foreach from=$categoryList item=categoryItem}
-               <option value="{@$categoryItem->categoryID}"{if $categoryItem->categoryID|in_array:$value} selected="selected"{/if}>{$categoryItem->getTitle()}</option>
+               <option value="{@$categoryItem->categoryID}"{if $categoryItem->categoryID|in_array:$value} selected{/if}>{$categoryItem->getTitle()}</option>
                
                {if $categoryItem->hasChildren()}
                        {foreach from=$categoryItem item=subCategoryItem}
-                               <option value="{@$subCategoryItem->categoryID}"{if $subCategoryItem->categoryID|in_array:$value} selected="selected"{/if}>&nbsp;&nbsp;&nbsp;&nbsp;{$subCategoryItem->getTitle()}</option>
+                               <option value="{@$subCategoryItem->categoryID}"{if $subCategoryItem->categoryID|in_array:$value} selected{/if}>&nbsp;&nbsp;&nbsp;&nbsp;{$subCategoryItem->getTitle()}</option>
                        {/foreach}
                {/if}
        {/foreach}
index 0d0860db0ec9ad6934bbc1187a0034febc08141e..addb9d8a08c617b9833c7e4ab1a9ef7ef65433b9 100644 (file)
@@ -1,5 +1,5 @@
 {foreach from=$categoryNodeList item='category'}
        {if !$maximumNestingLevel|isset || $maximumNestingLevel == -1 || $categoryNodeList->getDepth() < $maximumNestingLevel}
-               <option value="{$category->categoryID}"{if $categoryID|isset && $categoryID == $category->categoryID} selected="selected"{/if}>{section name=i loop=$categoryNodeList->getDepth()}&nbsp;&nbsp;&nbsp;&nbsp;{/section}{$category->getTitle()}</option>
+               <option value="{$category->categoryID}"{if $categoryID|isset && $categoryID == $category->categoryID} selected{/if}>{section name=i loop=$categoryNodeList->getDepth()}&nbsp;&nbsp;&nbsp;&nbsp;{/section}{$category->getTitle()}</option>
        {/if}
 {/foreach}
index ade4955da108fffe46075e0b4aa832bf414b8768..cc90e693d06b2f0e8d6f47bb29bcec92f7bccfb3 100644 (file)
@@ -1,3 +1,3 @@
 {foreach from=$selectOptions key=key item=selectOption}
-       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}" {if $key|in_array:$value} checked="checked"{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
+       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}" {if $key|in_array:$value} checked{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
 {/foreach}
index 59735a04cac05a2279c408feea7623d0c94f4b9f..a76effacf2c9761a3b22dc5545ecc7ca03194914 100644 (file)
@@ -1,6 +1,6 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
 {foreach from=$selectOptions key=key item=selectOption}
-       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}" {if $key|in_array:$value} checked="checked"{/if}{if !$searchOption} disabled="disabled"{/if}> {lang}{@$selectOption}{/lang}</label>
+       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}" {if $key|in_array:$value} checked{/if}{if !$searchOption} disabled{/if}> {lang}{@$selectOption}{/lang}</label>
 {/foreach}
 
 <script data-relocate="true">
index 565372afb8ce5fafda508c639b766f960dcc85d7..fe3baef0b0b7738c11c424c9529faf1cccebc16c 100644 (file)
@@ -27,7 +27,7 @@
                <dl{if $errorField == 'className'} class="formError"{/if}>
                        <dt><label for="className">{lang}wcf.acp.cronjob.className{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="className" name="className" value="{$className}" required="required" autofocus="autofocus" pattern="^\\?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*\\)*[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$" class="long">
+                               <input type="text" id="className" name="className" value="{$className}" required autofocus pattern="^\\?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*\\)*[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$" class="long">
                                {if $errorField == 'className'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
index 5b191df3e17cf7237d46d8231cf7c180f5aefa48..36826fcd67263851f0fa471c98b4740c79fc6439 100644 (file)
                                <dl class="wide">
                                        <dt></dt>
                                        <dd class="jsImportCollection">
-                                               <label><input type="checkbox" name="selectedData[]" value="{@$objectTypeName}" class="jsImportSection"{if $objectTypeName|in_array:$selectedData} checked="checked"{/if}> {lang}wcf.acp.dataImport.data.{@$objectTypeName}{/lang}</label>
+                                               <label><input type="checkbox" name="selectedData[]" value="{@$objectTypeName}" class="jsImportSection"{if $objectTypeName|in_array:$selectedData} checked{/if}> {lang}wcf.acp.dataImport.data.{@$objectTypeName}{/lang}</label>
                                                <p>
                                                        {foreach from=$objectTypes item=objectTypeName}
-                                                               <label><input type="checkbox" name="selectedData[]" value="{@$objectTypeName}" class="jsImportItem"{if $objectTypeName|in_array:$selectedData} checked="checked"{/if}> {lang}wcf.acp.dataImport.data.{@$objectTypeName}{/lang}</label>
+                                                               <label><input type="checkbox" name="selectedData[]" value="{@$objectTypeName}" class="jsImportItem"{if $objectTypeName|in_array:$selectedData} checked{/if}> {lang}wcf.acp.dataImport.data.{@$objectTypeName}{/lang}</label>
                                                        {/foreach}
                                                </p>
                                        </dd>
                        <dl>
                                <dt><label for="userMergeMode">{lang}wcf.acp.dataImport.configure.settings.userMergeMode{/lang}</label></dt>
                                <dd>
-                                       <label><input type="radio" id="userMergeMode" name="userMergeMode" value="4"{if $userMergeMode == 4} checked="checked"{/if}> {lang}wcf.acp.dataImport.configure.settings.userMergeMode.4{/lang}</label>
-                                       <label><input type="radio" name="userMergeMode" value="5"{if $userMergeMode == 5} checked="checked"{/if}> {lang}wcf.acp.dataImport.configure.settings.userMergeMode.5{/lang}</label>
+                                       <label><input type="radio" id="userMergeMode" name="userMergeMode" value="4"{if $userMergeMode == 4} checked{/if}> {lang}wcf.acp.dataImport.configure.settings.userMergeMode.4{/lang}</label>
+                                       <label><input type="radio" name="userMergeMode" value="5"{if $userMergeMode == 5} checked{/if}> {lang}wcf.acp.dataImport.configure.settings.userMergeMode.5{/lang}</label>
                                </dd>
                        </dl>
                        
index d46b1400e48dfecd799a7a4ed697720e3f049b2f..c1d98840b76f8a79cb65a74f16656939911d7fe6 100644 (file)
@@ -45,7 +45,7 @@
                                <dl class="col-xs-12 col-md-4">
                                        <dt></dt>
                                        <dd>
-                                               <input type="text" id="exceptionID" name="exceptionID" value="{$exceptionID}" placeholder="{lang}wcf.acp.exceptionLog.search.exceptionID{/lang}" autofocus="autofocus" class="long">
+                                               <input type="text" id="exceptionID" name="exceptionID" value="{$exceptionID}" placeholder="{lang}wcf.acp.exceptionLog.search.exceptionID{/lang}" autofocus class="long">
                                        </dd>
                                </dl>
                                
                                {/foreach}
                                <dl>
                                        <dt><label for="copyException{$exceptionKey}">{lang}wcf.acp.exceptionLog.exception.copy{/lang}</label></dt>
-                                       <dd><textarea id="copyException{$exceptionKey}" rows="5" cols="40" class="jsCopyException" readonly="readonly">{$exception[0]}</textarea></dd>
+                                       <dd><textarea id="copyException{$exceptionKey}" rows="5" cols="40" class="jsCopyException" readonly>{$exception[0]}</textarea></dd>
                                </dl>
                        </section>
                {/foreach}
index 427d022647dd2e567dfa0981747208ccd856b21b..353a9bf86656dc8570de8beb9ae88521e87e56ee 100644 (file)
@@ -1,8 +1,8 @@
 <dl>
        <dt><label>{lang}wcf.acp.user.exportEmailAddress.fileType{/lang}</label></dt>
        <dd>
-               <label><input type="radio" name="fileType" value="csv"{if $fileType == 'csv'} checked="checked"{/if}> {lang}wcf.acp.user.exportEmailAddress.fileType.csv{/lang}</label>
-               <label><input type="radio" name="fileType" value="xml"{if $fileType == 'xml'} checked="checked"{/if}> {lang}wcf.acp.user.exportEmailAddress.fileType.xml{/lang}</label>
+               <label><input type="radio" name="fileType" value="csv"{if $fileType == 'csv'} checked{/if}> {lang}wcf.acp.user.exportEmailAddress.fileType.csv{/lang}</label>
+               <label><input type="radio" name="fileType" value="xml"{if $fileType == 'xml'} checked{/if}> {lang}wcf.acp.user.exportEmailAddress.fileType.xml{/lang}</label>
        </dd>
 </dl>
 
index a4444a0e6ce4a0b3389fcff715824f5b1d29e371..cee8f377409cb04bba9fc725fa845094016074d9 100644 (file)
@@ -46,7 +46,7 @@
                                        <select id="groupID" name="groupID">
                                                <option value="0">{lang}wcf.global.noSelection{/lang}</option>
                                                {foreach from=$labelGroupList item=group}
-                                                       <option value="{@$group->groupID}"{if $group->groupID == $groupID} selected="selected"{/if}>{$group}{if $group->groupDescription} / {$group->groupDescription}{/if}</option>
+                                                       <option value="{@$group->groupID}"{if $group->groupID == $groupID} selected{/if}>{$group}{if $group->groupDescription} / {$group->groupDescription}{/if}</option>
                                                {/foreach}
                                        </select>
                                        {if $errorField == 'groupID'}
@@ -64,7 +64,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="autofocus" class="long">
+                                       <input type="text" id="label" name="label" value="{$i18nPlainValues['label']}" autofocus class="long">
                                        {if $errorField == 'label'}
                                                <small class="innerError">
                                                        {if $errorType == 'empty'}
@@ -94,9 +94,9 @@
                                        <ul id="labelList" class="inlineList">
                                                {foreach from=$availableCssClassNames item=className}
                                                        {if $className == 'custom'}
-                                                               <li class="labelCustomClass"><input type="radio" name="cssClassName" value="custom"{if $cssClassName == 'custom'} checked="checked"{/if}> <span><input type="text" id="customCssClassName" name="customCssClassName" value="{$customCssClassName}" class="long"></span></li>
+                                                               <li class="labelCustomClass"><input type="radio" name="cssClassName" value="custom"{if $cssClassName == 'custom'} checked{/if}> <span><input type="text" id="customCssClassName" name="customCssClassName" value="{$customCssClassName}" class="long"></span></li>
                                                        {else}
-                                                               <li><label><input type="radio" name="cssClassName" value="{$className}"{if $cssClassName == $className} checked="checked"{/if}> <span class="badge label{if $className != 'none'} {$className}{/if}">Label</span></label></li>
+                                                               <li><label><input type="radio" name="cssClassName" value="{$className}"{if $cssClassName == $className} checked{/if}> <span class="badge label{if $className != 'none'} {$className}{/if}">Label</span></label></li>
                                                        {/if}
                                                {/foreach}
                                        </ul>
index 1ecaf04420fad412f31e7a09705f2e81590ca2f9..a70515a623ca2f5dcbc96cf324904fdfcdd2a027 100644 (file)
@@ -54,7 +54,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="autofocus" class="long">
+                                               <input type="text" id="groupName" name="groupName" value="{$i18nPlainValues['groupName']}" autofocus class="long">
                                                {if $errorField == 'groupName'}
                                                        <small class="innerError">
                                                                {if $errorType == 'empty' || $errorType == 'multilingual'}
@@ -86,7 +86,7 @@
                                
                                <dl>
                                        <dt></dt>
-                                       <dd><label><input type="checkbox" name="forceSelection" id="forceSelection" value="1"{if $labelForceSelection} checked="checked"{/if}> {lang}wcf.acp.label.group.forceSelection{/lang}</label></dd>
+                                       <dd><label><input type="checkbox" name="forceSelection" id="forceSelection" value="1"{if $labelForceSelection} checked{/if}> {lang}wcf.acp.label.group.forceSelection{/lang}</label></dd>
                                </dl>
                                
                                <dl id="groupPermissions">
                                                                        {foreach from=$container item=objectType}
                                                                                <li class="{if $objectType->isCategory()} category{/if}"{if $objectType->getDepth()} style="padding-left: {21 * $objectType->getDepth()}px"{/if} data-depth="{@$objectType->getDepth()}">
                                                                                        <span>{$objectType->getLabel()}</span>
-                                                                                       <label><input id="checkbox_{@$container->getObjectTypeID()}_{@$objectType->getObjectID()}" type="checkbox" name="objectTypes[{@$container->getObjectTypeID()}][]" value="{@$objectType->getObjectID()}"{if $objectType->getOptionValue()} checked="checked"{/if}></label>
+                                                                                       <label><input id="checkbox_{@$container->getObjectTypeID()}_{@$objectType->getObjectID()}" type="checkbox" name="objectTypes[{@$container->getObjectTypeID()}][]" value="{@$objectType->getObjectID()}"{if $objectType->getOptionValue()} checked{/if}></label>
                                                                                </li>
                                                                        {/foreach}
                                                                </ul>
index b7bfacf2830f94f33458f20843e5e1bcf23076e1..6ab0384adb71f14aede59f43deb3c090d54029f4 100644 (file)
@@ -62,7 +62,7 @@
                                                <select id="groupID" name="groupID">
                                                        <option value="0">{lang}wcf.global.noSelection{/lang}</option>
                                                        {foreach from=$labelGroupList item=group}
-                                                               <option value="{@$group->groupID}"{if $group->groupID == $groupID} selected="selected"{/if}>{$group}{if $group->groupDescription} / {$group->groupDescription}{/if}</option>
+                                                               <option value="{@$group->groupID}"{if $group->groupID == $groupID} selected{/if}>{$group}{if $group->groupDescription} / {$group->groupDescription}{/if}</option>
                                                        {/foreach}
                                                </select>
                                        </dd>
index 6642e53835b0cef0371c1a7d09e785c8b3391ece..bfb0d90f32f221d5e3893d1a741faaa47f6fd32d 100644 (file)
@@ -25,7 +25,7 @@
                <dl{if $errorField == 'languageName'} class="formError"{/if}>
                        <dt><label for="languageName">{lang}wcf.global.name{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="languageName" name="languageName" value="{$languageName}" class="long" required="required">
+                               <input type="text" id="languageName" name="languageName" value="{$languageName}" class="long" required>
                                {if $errorField == 'languageName'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -42,7 +42,7 @@
                <dl{if $errorField == 'languageCode'} class="formError"{/if}>
                        <dt><label for="languageCode">{lang}wcf.acp.language.code{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="languageCode" name="languageCode" value="{$languageCode}" class="medium" required="required">
+                               <input type="text" id="languageCode" name="languageCode" value="{$languageCode}" class="medium" required>
                                {if $errorField == 'languageCode'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -59,7 +59,7 @@
                <dl{if $errorField == 'countryCode'} class="formError"{/if}>
                        <dt><label for="countryCode">{lang}wcf.acp.language.countryCode{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="countryCode" name="countryCode" value="{$countryCode}" class="medium" required="required">
+                               <input type="text" id="countryCode" name="countryCode" value="{$countryCode}" class="medium" required>
                                {if $errorField == 'countryCode'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -79,7 +79,7 @@
                                <dd>
                                        <select id="sourceLanguageID" name="sourceLanguageID">
                                                {foreach from=$languages item=language}
-                                                       <option value="{@$language->languageID}"{if $language->languageID == $sourceLanguageID} selected="selected"{/if}>{$language->languageName} ({$language->languageCode})</option>
+                                                       <option value="{@$language->languageID}"{if $language->languageID == $sourceLanguageID} selected{/if}>{$language->languageName} ({$language->languageCode})</option>
                                                {/foreach}
                                        </select>
                                        {if $errorField == 'sourceLanguageID'}
index 5800a6b60c3db82d0ae156c895b705c3df3cbf2b..1041442b182cdf2255bcee7abae7cc751a8626b0 100644 (file)
                <dl>
                        <dt><label for="selectedPackages">{lang}wcf.acp.language.export.selectPackages{/lang}</label></dt>
                        <dd>
-                               <select id="selectedPackages" name="selectedPackages[]" multiple="multiple" size="20" class="long monospace" dir="ltr">
-                                       <option value="*"{if $selectAllPackages} selected="selected"{/if}>{lang}wcf.acp.language.export.allPackages{/lang}</option>
+                               <select id="selectedPackages" name="selectedPackages[]" multiple size="20" class="long monospace" dir="ltr">
+                                       <option value="*"{if $selectAllPackages} selected{/if}>{lang}wcf.acp.language.export.allPackages{/lang}</option>
                                        <option value="-">--------------------</option>
                                        {foreach from=$packages item=package}
                                                {assign var=loop value=$packageNameLength-$package->packageNameLength}
-                                               <option value="{@$package->packageID}"{if $selectedPackages[$package->packageID]|isset} selected="selected"{/if}>{lang}{$package->packageName}{/lang} {section name=i loop=$loop}&nbsp;{/section}&nbsp;&nbsp;{$package->package}</option>
+                                               <option value="{@$package->packageID}"{if $selectedPackages[$package->packageID]|isset} selected{/if}>{lang}{$package->packageName}{/lang} {section name=i loop=$loop}&nbsp;{/section}&nbsp;&nbsp;{$package->package}</option>
                                        {/foreach}
                                </select>
                        </dd>
index f54a3fd7c65e1676029e57d84e8003db64eb79d0..8fbdb8d93ccc30586c57434a2eab3d5e9011a34a 100644 (file)
@@ -43,7 +43,7 @@
                        <dd>
                                <select id="sourceLanguageID" name="sourceLanguageID">
                                        {foreach from=$languages item=language}
-                                               <option value="{@$language->languageID}"{if $language->languageID == $sourceLanguageID} selected="selected"{/if}>{$language->languageName} ({$language->languageCode})</option>
+                                               <option value="{@$language->languageID}"{if $language->languageID == $sourceLanguageID} selected{/if}>{$language->languageName} ({$language->languageCode})</option>
                                        {/foreach}
                                </select>
                                {if $errorField == 'sourceLanguageID'}
index a4d46ba06e869cb3adce655a087c4aa01c0aabda..84a63720cb88e82e67ee8b4e80cf02af0d5ed8fd 100644 (file)
@@ -4,7 +4,7 @@
        <dl class="wide">
                <dt></dt>
                <dd>
-                       <textarea rows="5" cols="60" name="languageItemValue" id="overlayLanguageItemValue"{if $item->languageItemOriginIsSystem} readonly="readonly"{/if}>{$item->languageItemValue}</textarea>
+                       <textarea rows="5" cols="60" name="languageItemValue" id="overlayLanguageItemValue"{if $item->languageItemOriginIsSystem} readonly{/if}>{$item->languageItemValue}</textarea>
                </dd>
        </dl>
 </section>
@@ -22,7 +22,7 @@
                
                <dl class="wide">
                        <dt></dt>
-                       <dd><label><input type="checkbox" name="languageUseCustomValue" id="overlayLanguageUseCustomValue" value="1"{if $item->languageUseCustomValue} checked="checked"{/if}> {lang}wcf.acp.language.item.useCustomValue{/lang}</label></dd>
+                       <dd><label><input type="checkbox" name="languageUseCustomValue" id="overlayLanguageUseCustomValue" value="1"{if $item->languageUseCustomValue} checked{/if}> {lang}wcf.acp.language.item.useCustomValue{/lang}</label></dd>
                </dl>
        </section>
 {/if}
index e43488a2977470ffa2c4bdcbfc077ab7625d28b7..4158f9c028f60335abb865a199be76cffa52e001 100644 (file)
@@ -36,7 +36,7 @@
                                        <select name="id" id="languageID">
                                                <option value="0">{lang}wcf.user.language{/lang}</option>
                                                {foreach from=$availableLanguages item=availableLanguage}
-                                                       <option value="{@$availableLanguage->languageID}"{if $availableLanguage->languageID == $languageID} selected="selected"{/if}>{$availableLanguage->languageName} ({$availableLanguage->languageCode})</option>
+                                                       <option value="{@$availableLanguage->languageID}"{if $availableLanguage->languageID == $languageID} selected{/if}>{$availableLanguage->languageName} ({$availableLanguage->languageCode})</option>
                                                {/foreach}
                                        </select>
                                </dd>
@@ -48,7 +48,7 @@
                                        <select name="languageCategoryID" id="languageCategoryID">
                                                <option value="0">{lang}wcf.acp.language.category{/lang}</option>
                                                {foreach from=$availableLanguageCategories item=availableLanguageCategory}
-                                                       <option value="{@$availableLanguageCategory->languageCategoryID}"{if $availableLanguageCategory->languageCategoryID == $languageCategoryID} selected="selected"{/if}>{$availableLanguageCategory->languageCategory}</option>
+                                                       <option value="{@$availableLanguageCategory->languageCategoryID}"{if $availableLanguageCategory->languageCategoryID == $languageCategoryID} selected{/if}>{$availableLanguageCategory->languageCategory}</option>
                                                {/foreach}
                                        </select>
                                </dd>
@@ -65,7 +65,7 @@
                                <dt></dt>
                                <dd>
                                        <input type="text" id="languageItemValue" name="languageItemValue" value="{$languageItemValue}" placeholder="{lang}wcf.acp.language.item.value{/lang}" class="long">
-                                       <label><input type="checkbox" name="hasCustomValue" value="1"{if $hasCustomValue == 1} checked="checked"{/if}> {lang}wcf.acp.language.item.customValues{/lang}</label>
+                                       <label><input type="checkbox" name="hasCustomValue" value="1"{if $hasCustomValue == 1} checked{/if}> {lang}wcf.acp.language.item.customValues{/lang}</label>
                                </dd>
                        </dl>
                        
index 2c2ec70acd1840cc96f71c82ed0b0c2c71391569..10eec182a7e33561ef83f8dd2e0b23dca8a6f876 100644 (file)
@@ -32,7 +32,7 @@
 <form enctype="multipart/form-data" method="post" action="{link controller='LanguageMultilingualism'}{/link}">
        <section class="section">
                <header class="sectionHeader">
-                       <h2 class="sectionTitle"><label><input type="checkbox" id="enable" name="enable" value="1"{if $enable} checked="checked"{/if}> {lang}wcf.acp.language.multilingualism.enable{/lang}</label></h2>
+                       <h2 class="sectionTitle"><label><input type="checkbox" id="enable" name="enable" value="1"{if $enable} checked{/if}> {lang}wcf.acp.language.multilingualism.enable{/lang}</label></h2>
                        <small class="sectionDescription">{lang}wcf.acp.language.multilingualism.enable.description{/lang}</small>
                </header>
                
@@ -40,7 +40,7 @@
                        <dt><label for="languageIDs">{lang}wcf.acp.language.multilingualism.languages{/lang}</label></dt>
                        <dd class="floated">
                                {foreach from=$languages item='language'}
-                                       <label><input type="checkbox" name="languageIDs[]" value="{@$language->languageID}"{if $language->languageID == $defaultLanguageID} checked="checked" disabled="disabled"{elseif $language->languageID|in_array:$languageIDs} checked="checked"{/if}> {$language}</label>
+                                       <label><input type="checkbox" name="languageIDs[]" value="{@$language->languageID}"{if $language->languageID == $defaultLanguageID} checked disabled{elseif $language->languageID|in_array:$languageIDs} checked{/if}> {$language}</label>
                                {/foreach}
                                
                                {if $errorField == 'languageIDs'}
index aad80bf13c90c6048062db48ff4583f5802a6ec8..5fab7274a9d432fe85d6f6cc619d85fff8d4a7dc 100644 (file)
@@ -27,7 +27,7 @@
                <dl{if $errorField == 'server'} class="formError"{/if}>
                        <dt><label for="server">{lang}wcf.acp.languageServer.server{/lang}</label></dt>
                        <dd>
-                               <input type="text" name="server" id="server" value="{$server}" autofocus="autofocus" class="long">
+                               <input type="text" name="server" id="server" value="{$server}" autofocus class="long">
                                {if $errorField == 'server'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
index a9e35652a739865d117dc9428230209e163c1127..d2c9ebf96ffb47ec4f6e433412415d8cd4cf3770 100644 (file)
@@ -69,7 +69,7 @@
                                <dt></dt>
                                <dd>
                                        <label>
-                                               <input type="checkbox" id="isMultilingual" name="isMultilingual" value="1"{if $isMultilingual} checked="checked"{/if}>
+                                               <input type="checkbox" id="isMultilingual" name="isMultilingual" value="1"{if $isMultilingual} checked{/if}>
                                                <span>{lang}wcf.media.isMultilingual{/lang}</span>
                                        </label>
                                </dd>
index 66c5fe654139d3596be645bb87442e7eabf1a78a..864c4d014055867a7fa7f711f5e945ad7f0aa603 100644 (file)
@@ -28,7 +28,7 @@
                <dl{if $errorField == 'title'} class="formError"{/if}>
                        <dt><label for="title">{lang}wcf.global.title{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="title" name="title" value="{$i18nPlainValues['title']}" autofocus="autofocus" class="long">
+                               <input type="text" id="title" name="title" value="{$i18nPlainValues['title']}" autofocus class="long">
                                {if $errorField == 'title'}
                                        <small class="innerError">
                                                {if $errorType == 'title' || $errorType == 'multilingual'}
@@ -49,7 +49,7 @@
                                <dd>
                                        <select name="position" id="position">
                                                {foreach from=$availablePositions item=availablePosition}
-                                                       <option value="{@$availablePosition}"{if $availablePosition == $position} selected="selected"{/if}>{lang}wcf.acp.box.position.{@$availablePosition}{/lang}</option>
+                                                       <option value="{@$availablePosition}"{if $availablePosition == $position} selected{/if}>{lang}wcf.acp.box.position.{@$availablePosition}{/lang}</option>
                                                {/foreach}
                                        </select>
                                        
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" id="showHeader" name="showHeader" value="1"{if $showHeader} checked="checked"{/if}> {lang}wcf.acp.box.showHeader{/lang}</label>
+                                       <label><input type="checkbox" id="showHeader" name="showHeader" value="1"{if $showHeader} checked{/if}> {lang}wcf.acp.box.showHeader{/lang}</label>
                                </dd>
                        </dl>
                        
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" id="visibleEverywhere" name="visibleEverywhere" value="1"{if $visibleEverywhere} checked="checked"{/if}> {lang}wcf.acp.box.visibleEverywhere{/lang}</label>
+                                       <label><input type="checkbox" id="visibleEverywhere" name="visibleEverywhere" value="1"{if $visibleEverywhere} checked{/if}> {lang}wcf.acp.box.visibleEverywhere{/lang}</label>
                                </dd>
                        </dl>
                        
                        <dl>
                                <dt><label for="pageIDs">{lang}wcf.acp.box.pageIDs{/lang}</label></dt>
                                <dd>
-                                       <select name="pageIDs[]" id="pageIDs" multiple="multiple" size="20">
+                                       <select name="pageIDs[]" id="pageIDs" multiple size="20">
                                                {foreach from=$pageNodeList item=pageNode}
-                                                       <option value="{@$pageNode->pageID}"{if $pageNode->pageID|in_array:$pageIDs} selected="selected"{/if}>{if $pageNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
+                                                       <option value="{@$pageNode->pageID}"{if $pageNode->pageID|in_array:$pageIDs} selected{/if}>{if $pageNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
                                                {/foreach}
                                        </select>
                                </dd>
index 4f26fd2cc3e8e824fa57281dc297bd8716e7d68d..4b3f25eef903c6f60697763dc2c0ba6f228b7cd1 100644 (file)
@@ -48,7 +48,7 @@
                                        <option value="0">{lang}wcf.global.noSelection{/lang}</option>
                                        
                                        {foreach from=$menuItemNodeList item=menuItemNode}
-                                               <option value="{@$menuItemNode->itemID}"{if $menuItemNode->itemID == $parentItemID} selected="selected"{/if}>{if $menuItemNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($menuItemNode->getDepth() - 1)}{/if}{lang}{$menuItemNode->title}{/lang}</option>
+                                               <option value="{@$menuItemNode->itemID}"{if $menuItemNode->itemID == $parentItemID} selected{/if}>{if $menuItemNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($menuItemNode->getDepth() - 1)}{/if}{lang}{$menuItemNode->title}{/lang}</option>
                                        {/foreach}
                                </select>
                                {if $errorField == 'parentItemID'}
@@ -66,7 +66,7 @@
                <dl{if $errorField == 'title'} class="formError"{/if}>
                        <dt><label for="title">{lang}wcf.global.name{/lang}</label></dt>
                        <dd>
-                               <input type="text" name="title" id="title" value="{$title}" class="long" required="required">
+                               <input type="text" name="title" id="title" value="{$title}" class="long" required>
                                {if $errorField == 'title'}
                                        <small class="innerError">
                                                {if $errorType == 'multilingual'}
@@ -90,8 +90,8 @@
                <dl>
                        <dt></dt>
                        <dd class="floated">
-                               <label><input type="radio" name="isInternalLink" value="1"{if $isInternalLink} checked="checked"{/if}> {lang}wcf.acp.menu.item.link.internal{/lang}</label>
-                               <label><input type="radio" name="isInternalLink" value="0"{if !$isInternalLink} checked="checked"{/if}> {lang}wcf.acp.menu.item.link.external{/lang}</label>
+                               <label><input type="radio" name="isInternalLink" value="1"{if $isInternalLink} checked{/if}> {lang}wcf.acp.menu.item.link.internal{/lang}</label>
+                               <label><input type="radio" name="isInternalLink" value="0"{if !$isInternalLink} checked{/if}> {lang}wcf.acp.menu.item.link.external{/lang}</label>
                        </dd>
                </dl>
                
                                        <option value="0">{lang}wcf.global.noSelection{/lang}</option>
                                        
                                        {foreach from=$pageNodeList item=pageNode}
-                                               <option value="{@$pageNode->pageID}"{if $pageNode->pageID == $pageID} selected="selected"{/if}>{if $pageNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
+                                               <option value="{@$pageNode->pageID}"{if $pageNode->pageID == $pageID} selected{/if}>{if $pageNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
                                        {/foreach}
                                </select>
                                {if $errorField == 'pageID'}
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" name="isDisabled" id="isDisabled" value="1"{if $isDisabled} checked="checked"{/if}> <span>{lang}wcf.acp.menu.item.isDisabled{/lang}</span></label>
+                                       <label><input type="checkbox" name="isDisabled" id="isDisabled" value="1"{if $isDisabled} checked{/if}> <span>{lang}wcf.acp.menu.item.isDisabled{/lang}</span></label>
                                </dd>
                        </dl>
                {/if}
index 18e6f0ecf6f66f0c020d921e2c303e1d449ce720..94bc74071b1de842ff7a6f0895ac5bb8ca2baea3 100644 (file)
@@ -1,5 +1,5 @@
-<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple="multiple" size="{if $selectOptions|count > 10}10{else}{@$selectOptions|count}{/if}">
+<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple size="{if $selectOptions|count > 10}10{else}{@$selectOptions|count}{/if}">
        {foreach from=$selectOptions key=key item=selectOption}
-               <option value="{$key}"{if $key|in_array:$value} selected="selected"{/if}>{lang}{@$selectOption}{/lang}</option>
+               <option value="{$key}"{if $key|in_array:$value} selected{/if}>{lang}{@$selectOption}{/lang}</option>
        {/foreach}
 </select>
index 84bb0cfb60b10c39c3792809f2d01b329f3ccc7f..a0de77592261d07d5ca8ff43e4d2c6cb7d665258 100644 (file)
@@ -1,7 +1,7 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
-<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple="multiple" size="{if $selectOptions|count > 10}10{else}{@$selectOptions|count}{/if}"{if !$searchOption} disabled="disabled"{/if}>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
+<select id="{$option->optionName}" name="values[{$option->optionName}][]" multiple size="{if $selectOptions|count > 10}10{else}{@$selectOptions|count}{/if}"{if !$searchOption} disabled{/if}>
        {foreach from=$selectOptions key=key item=selectOption}
-               <option value="{$key}"{if $key|in_array:$value} selected="selected"{/if}>{lang}{@$selectOption}{/lang}</option>
+               <option value="{$key}"{if $key|in_array:$value} selected{/if}>{lang}{@$selectOption}{/lang}</option>
        {/foreach}
 </select>
 
index 4b1635e6e4b94c71508160f7ad2d6a52aefc0f11..8d41d71b00b2a74aa805fb5ce0bc1582a53708e6 100644 (file)
@@ -47,7 +47,7 @@
                <dl{if $errorField == 'noticeName'} class="formError"{/if}>
                        <dt><label for="noticeName">{lang}wcf.global.name{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="noticeName" name="noticeName" value="{$noticeName}" required="required" autofocus="autofocus" class="long">
+                               <input type="text" id="noticeName" name="noticeName" value="{$noticeName}" required autofocus class="long">
                                {if $errorField == 'noticeName'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -82,7 +82,7 @@
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" id="noticeUseHtml" name="noticeUseHtml" value="1"{if $noticeUseHtml} checked="checked"{/if}> {lang}wcf.acp.notice.noticeUseHtml{/lang}</label>
+                               <label><input type="checkbox" id="noticeUseHtml" name="noticeUseHtml" value="1"{if $noticeUseHtml} checked{/if}> {lang}wcf.acp.notice.noticeUseHtml{/lang}</label>
                        </dd>
                </dl>
                
                        <dd>
                                {foreach from=$availableCssClassNames item=className}
                                        {if $className == 'custom'}
-                                               <label><input type="radio" name="cssClassName" value="custom"{if $cssClassName == 'custom'} checked="checked"{/if}> <span><input type="text" id="customCssClassName" name="customCssClassName" value="{$customCssClassName}" class="medium"></span></label>
+                                               <label><input type="radio" name="cssClassName" value="custom"{if $cssClassName == 'custom'} checked{/if}> <span><input type="text" id="customCssClassName" name="customCssClassName" value="{$customCssClassName}" class="medium"></span></label>
                                        {else}
-                                               <label><input type="radio" name="cssClassName" value="{$className}"{if $cssClassName == $className} checked="checked"{/if}> <span>{lang}wcf.acp.notice.cssClassName.{$className}{/lang}</span></label>
+                                               <label><input type="radio" name="cssClassName" value="{$className}"{if $cssClassName == $className} checked{/if}> <span>{lang}wcf.acp.notice.cssClassName.{$className}{/lang}</span></label>
                                        {/if}
                                {/foreach}
                                {if $errorField == 'cssClassName'}
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="isDisabled" value="1"{if $isDisabled} checked="checked"{/if}> {lang}wcf.acp.notice.isDisabled{/lang}</label>
+                               <label><input type="checkbox" name="isDisabled" value="1"{if $isDisabled} checked{/if}> {lang}wcf.acp.notice.isDisabled{/lang}</label>
                        </dd>
                </dl>
                
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="isDismissible" value="1"{if $isDismissible} checked="checked"{/if}> {lang}wcf.acp.notice.isDismissible{/lang}</label>
+                               <label><input type="checkbox" name="isDismissible" value="1"{if $isDismissible} checked{/if}> {lang}wcf.acp.notice.isDismissible{/lang}</label>
                                <small>{lang}wcf.acp.notice.isDismissible.description{/lang}</small>
                        </dd>
                </dl>
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" name="resetIsDismissed" value="1"{if $resetIsDismissed} checked="checked"{/if}> {lang}wcf.acp.notice.resetIsDismissed{/lang}</label>
+                                       <label><input type="checkbox" name="resetIsDismissed" value="1"{if $resetIsDismissed} checked{/if}> {lang}wcf.acp.notice.resetIsDismissed{/lang}</label>
                                        <small>{lang}wcf.acp.notice.resetIsDismissed.description{/lang}</small>
                                </dd>
                        </dl>
index 1944ca91da1b1776d7e22f7b14afb2b54597bdad..70192dd2498f21bf44ce34f27e1242ea1493d0b2 100644 (file)
@@ -39,7 +39,7 @@
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" name="applyChangesToExistingUsers" value="1"{if $applyChangesToExistingUsers} checked="checked"{/if}> {lang}wcf.acp.user.notificationPresetSettings.applyChangesToExistingUsers{/lang}</label>
+                                       <label><input type="checkbox" name="applyChangesToExistingUsers" value="1"{if $applyChangesToExistingUsers} checked{/if}> {lang}wcf.acp.user.notificationPresetSettings.applyChangesToExistingUsers{/lang}</label>
                                        <small>{lang}wcf.acp.user.notificationPresetSettings.applyChangesToExistingUsers.description{/lang}</small>     
                                </dd>
                        </dl>
                                                <dd>
                                                        <ol class="flexibleButtonGroup" data-object-id="{@$event->eventID}">
                                                                <li>
-                                                                       <input type="radio" id="settings_{@$event->eventID}_disabled" name="settings[{@$event->eventID}][enabled]" value="0"{if $settings[$event->eventID][enabled]|empty} checked="checked"{/if}>
+                                                                       <input type="radio" id="settings_{@$event->eventID}_disabled" name="settings[{@$event->eventID}][enabled]" value="0"{if $settings[$event->eventID][enabled]|empty} checked{/if}>
                                                                        <label for="settings_{@$event->eventID}_disabled" class="red">
                                                                                <span class="icon icon16 fa-times"></span>
                                                                                {lang}wcf.user.notification.notifications.disabled{/lang}
                                                                        </label>
                                                                </li>
                                                                <li class="spaceAfter">
-                                                                       <input type="radio" id="settings_{@$event->eventID}_enabled" name="settings[{@$event->eventID}][enabled]" value="1"{if !$settings[$event->eventID][enabled]|empty} checked="checked"{/if}>
+                                                                       <input type="radio" id="settings_{@$event->eventID}_enabled" name="settings[{@$event->eventID}][enabled]" value="1"{if !$settings[$event->eventID][enabled]|empty} checked{/if}>
                                                                        <label for="settings_{@$event->eventID}_enabled" class="green">
                                                                                <span class="icon icon16 fa-bell"></span>
                                                                                {lang}wcf.user.notification.notifications.enabled{/lang}
index 8cb3bd62b4d0ed80db872b1948eccb937e12a298..36d985810887dc96d1923cd4c67bc3fe4043c10a 100644 (file)
@@ -22,7 +22,7 @@
        <section class="section" class="jsPackageUpdate" data-package="{$update[package]}">
                <header class="sectionHeader">
                        <h2 class="sectionTitle"><label>
-                               <input type="checkbox" value="1" checked="checked">
+                               <input type="checkbox" value="1" checked>
                                {$update[packageName]|language}
                        </label></h2>
                        {if $update[packageDescription]}<small class="sectionDescription">{$update[packageDescription]|language}</small>{/if}
@@ -43,7 +43,7 @@
                        <dd>
                                <select>
                                        {foreach from=$update[versions] item=version}
-                                               <option value="{@$version[packageVersion]}"{if $version[packageVersion] == $update[version][packageVersion]} selected="selected"{/if}>{$version[packageVersion]}</option>
+                                               <option value="{@$version[packageVersion]}"{if $version[packageVersion] == $update[version][packageVersion]} selected{/if}>{$version[packageVersion]}</option>
                                        {/foreach}
                                </select>
                        </dd>
index 1220aa6a62e12d9646de598f41e01499bec50ebc..55cdbec297993737a175e7b3ebfd19cfcaa196d5 100644 (file)
@@ -29,7 +29,7 @@
                <dl{if $errorField == 'serverURL'} class="formError"{/if}>
                        <dt><label for="serverURL">{lang}wcf.acp.updateServer.serverURL{/lang}</label></dt>
                        <dd>
-                               <input type="url" id="serverURL" name="serverURL" value="{$serverURL}" required="required" autofocus="autofocus" class="long">
+                               <input type="url" id="serverURL" name="serverURL" value="{$serverURL}" required autofocus class="long">
                                {if $errorField == 'serverURL'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
index 4478060b4dc4d819f30e7ba6777bdb13ddb16b37..53a7ef4ad8b4a2fab083ceed159a6226ace4cee5 100644 (file)
@@ -70,7 +70,7 @@
                                <dl{if $errorField == 'name'} class="formError"{/if}>
                                        <dt><label for="name">{lang}wcf.global.name{/lang}</label></dt>
                                        <dd>
-                                               <input type="text" id="name" name="name" value="{$name}" required="required" autofocus="autofocus" class="long">
+                                               <input type="text" id="name" name="name" value="{$name}" required autofocus class="long">
                                                {if $errorField == 'name'}
                                                        <small class="innerError">
                                                                {if $errorType == 'empty'}
                                <dl{if $errorField == 'parentPageID'} class="formError"{/if}>
                                        <dt><label for="parentPageID">{lang}wcf.acp.page.parentPageID{/lang}</label></dt>
                                        <dd>
-                                               <select name="parentPageID" id="parentPageID"{if $action == 'edit' && $page->originIsSystem} disabled="disabled"{/if}>
+                                               <select name="parentPageID" id="parentPageID"{if $action == 'edit' && $page->originIsSystem} disabled{/if}>
                                                        <option value="0">{lang}wcf.acp.page.parentPageID.noParentPage{/lang}</option>
                                                        
                                                        {foreach from=$pageNodeList item=pageNode}
-                                                               <option value="{@$pageNode->pageID}"{if $pageNode->pageID == $parentPageID} selected="selected"{/if}>{if $pageNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
+                                                               <option value="{@$pageNode->pageID}"{if $pageNode->pageID == $parentPageID} selected{/if}>{if $pageNode->getDepth() > 1}{@"&nbsp;&nbsp;&nbsp;&nbsp;"|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
                                                        {/foreach}
                                                </select>
                                                {if $errorField == 'parentPageID'}
                                <dl{if $errorField == 'applicationPackageID'} class="formError"{/if}>
                                        <dt><label for="applicationPackageID">{lang}wcf.acp.page.applicationPackageID{/lang}</label></dt>
                                        <dd>
-                                               <select name="applicationPackageID" id="applicationPackageID"{if $action == 'edit' && $page->originIsSystem} disabled="disabled"{/if}>
+                                               <select name="applicationPackageID" id="applicationPackageID"{if $action == 'edit' && $page->originIsSystem} disabled{/if}>
                                                        {foreach from=$availableApplications item=availableApplication}
-                                                               <option value="{@$availableApplication->packageID}"{if $availableApplication->packageID == $applicationPackageID} selected="selected"{/if}>{$availableApplication->getAbbreviation()}: {$availableApplication->domainName}{$availableApplication->domainPath}</option>
+                                                               <option value="{@$availableApplication->packageID}"{if $availableApplication->packageID == $applicationPackageID} selected{/if}>{$availableApplication->getAbbreviation()}: {$availableApplication->domainName}{$availableApplication->domainPath}</option>
                                                        {/foreach}
                                                </select>
                                                {if $errorField == 'applicationPackageID'}
                                        <dl>
                                                <dt></dt>
                                                <dd>
-                                                       <label><input type="checkbox" id="isLandingPage" name="isLandingPage" value="1"{if $isLandingPage} checked="checked"{/if}{if $action == 'edit' && $page->isLandingPage} disabled="disabled"{/if}> {lang}wcf.acp.page.isLandingPage{/lang}</label>
+                                                       <label><input type="checkbox" id="isLandingPage" name="isLandingPage" value="1"{if $isLandingPage} checked{/if}{if $action == 'edit' && $page->isLandingPage} disabled{/if}> {lang}wcf.acp.page.isLandingPage{/lang}</label>
                                                </dd>
                                        </dl>
                                {/if}
                                        <dl>
                                                <dt></dt>
                                                <dd>
-                                                       <label><input type="checkbox" id="isDisabled" name="isDisabled" value="1"{if $isDisabled} checked="checked"{/if}> {lang}wcf.acp.page.isDisabled{/lang}</label>
+                                                       <label><input type="checkbox" id="isDisabled" name="isDisabled" value="1"{if $isDisabled} checked{/if}> {lang}wcf.acp.page.isDisabled{/lang}</label>
                                                </dd>
                                        </dl>
                                {/if}
                                                <ul class="scrollableCheckboxList">
                                                        {foreach from=$availableBoxes item=availableBox}
                                                                <li>
-                                                                       <label><input type="checkbox" name="boxIDs[]" value="{@$availableBox->boxID}"{if $availableBox->boxID|in_array:$boxIDs} checked="checked"{/if}{if $availableBox->identifier == 'com.woltlab.wcf.MainMenu'} disabled{/if}> {$availableBox->name}</label>
+                                                                       <label><input type="checkbox" name="boxIDs[]" value="{@$availableBox->boxID}"{if $availableBox->boxID|in_array:$boxIDs} checked{/if}{if $availableBox->identifier == 'com.woltlab.wcf.MainMenu'} disabled{/if}> {$availableBox->name}</label>
                                                                </li>
                                                        {/foreach}
                                                </ul>
index 6f966ee8062628a2b64eddf023ef86d4565996f6..08f750a0d4690e5fa7142c03468d12a22e9524d7 100644 (file)
@@ -12,7 +12,7 @@
                        </ul>
                </div>
                
-               <input type="search" name="q" id="pageHeaderSearchInput" class="pageHeaderSearchInput" placeholder="{lang}wcf.global.search.enterSearchTerm{/lang}" autocomplete="off" required="required" value="" data-toggle="search">
+               <input type="search" name="q" id="pageHeaderSearchInput" class="pageHeaderSearchInput" placeholder="{lang}wcf.global.search.enterSearchTerm{/lang}" autocomplete="off" required value="" data-toggle="search">
                
                <button class="pageHeaderSearchInputButton" type="submit">
                        <span class="icon icon16 pointer fa-search" title="{lang}wcf.global.search{/lang}"></span>
index 7430f334cbe845e6c0c929f0fff1c25ac31d2ef7..dd704dd4d8f61c0670a0192281c822f14c3387fb 100644 (file)
@@ -56,7 +56,7 @@
                                                <select name="applicationPackageID" id="applicationPackageID">
                                                        <option value="0">{lang}wcf.acp.page.applicationPackageID{/lang}</option>
                                                        {foreach from=$availableApplications item=availableApplication}
-                                                               <option value="{@$availableApplication->packageID}"{if $availableApplication->packageID == $applicationPackageID} selected="selected"{/if}>{$availableApplication->getAbbreviation()}: {$availableApplication->domainName}{$availableApplication->domainPath}</option>
+                                                               <option value="{@$availableApplication->packageID}"{if $availableApplication->packageID == $applicationPackageID} selected{/if}>{$availableApplication->getAbbreviation()}: {$availableApplication->domainName}{$availableApplication->domainPath}</option>
                                                        {/foreach}
                                                </select>
                                        </label>
@@ -69,8 +69,8 @@
                                        <label class="selectDropdown">
                                                <select name="pageType" id="pageType">
                                                        <option value="">{lang}wcf.acp.page.pageType{/lang}</option>
-                                                       <option value="static"{if $pageType == 'static'} selected="selected"{/if}>{lang}wcf.acp.page.pageType.static{/lang}</option>
-                                                       <option value="system"{if $pageType == 'system'} selected="selected"{/if}>{lang}wcf.acp.page.pageType.system{/lang}</option>
+                                                       <option value="static"{if $pageType == 'static'} selected{/if}>{lang}wcf.acp.page.pageType.static{/lang}</option>
+                                                       <option value="system"{if $pageType == 'system'} selected{/if}>{lang}wcf.acp.page.pageType.system{/lang}</option>
                                                </select>
                                        </label>
                                </dd>
index 97d9eb1b5ad3e50e77669c001fba66621f4c9c55..ac76524bae69ff2f58012fe0c62e80865e7669e1 100644 (file)
@@ -44,7 +44,7 @@
                <dl{if $errorField == 'title'} class="formError"{/if}>
                        <dt><label for="title">{lang}wcf.global.title{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="title" name="title" value="{$i18nPlainValues['title']}" autofocus="autofocus" class="medium">
+                               <input type="text" id="title" name="title" value="{$i18nPlainValues['title']}" autofocus class="medium">
                                {if $errorField == 'title'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -86,7 +86,7 @@
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="isDisabled" value="1"{if $isDisabled} checked="checked"{/if}> {lang}wcf.acp.paidSubscription.isDisabled{/lang}</label>
+                               <label><input type="checkbox" name="isDisabled" value="1"{if $isDisabled} checked{/if}> {lang}wcf.acp.paidSubscription.isDisabled{/lang}</label>
                                <small>{lang}wcf.acp.paidSubscription.isDisabled.description{/lang}</small>
                        </dd>
                </dl>
@@ -96,7 +96,7 @@
                                <dt>{lang}wcf.acp.paidSubscription.excludedSubscriptions{/lang}</dt>
                                <dd>
                                        {foreach from=$availableSubscriptions item=availableSubscription}
-                                               <label><input type="checkbox" name="excludedSubscriptionIDs[]" value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID|in_array:$excludedSubscriptionIDs} checked="checked"{/if}> {$availableSubscription->title|language}</label>
+                                               <label><input type="checkbox" name="excludedSubscriptionIDs[]" value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID|in_array:$excludedSubscriptionIDs} checked{/if}> {$availableSubscription->title|language}</label>
                                        {/foreach}
                                        <small>{lang}wcf.acp.paidSubscription.excludedSubscriptions.description{/lang}</small>
                                </dd>
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" id="subscriptionLengthPermanent" name="subscriptionLengthPermanent" value="1"{if !$subscriptionLength} checked="checked"{/if}> {lang}wcf.acp.paidSubscription.subscriptionLength.permanent{/lang}</label>
+                               <label><input type="checkbox" id="subscriptionLengthPermanent" name="subscriptionLengthPermanent" value="1"{if !$subscriptionLength} checked{/if}> {lang}wcf.acp.paidSubscription.subscriptionLength.permanent{/lang}</label>
                        </dd>
                </dl>
                
                        <dd>
                                <input type="number" id="subscriptionLength" name="subscriptionLength" value="{@$subscriptionLength}" class="tiny">
                                <select name="subscriptionLengthUnit" id="subscriptionLengthUnit">
-                                       <option value="D"{if $subscriptionLengthUnit == 'D'} selected="selected"{/if}>{lang}wcf.acp.paidSubscription.subscriptionLengthUnit.D{/lang}</option>
-                                       <option value="M"{if $subscriptionLengthUnit == 'M'} selected="selected"{/if}>{lang}wcf.acp.paidSubscription.subscriptionLengthUnit.M{/lang}</option>
-                                       <option value="Y"{if $subscriptionLengthUnit == 'Y'} selected="selected"{/if}>{lang}wcf.acp.paidSubscription.subscriptionLengthUnit.Y{/lang}</option>
+                                       <option value="D"{if $subscriptionLengthUnit == 'D'} selected{/if}>{lang}wcf.acp.paidSubscription.subscriptionLengthUnit.D{/lang}</option>
+                                       <option value="M"{if $subscriptionLengthUnit == 'M'} selected{/if}>{lang}wcf.acp.paidSubscription.subscriptionLengthUnit.M{/lang}</option>
+                                       <option value="Y"{if $subscriptionLengthUnit == 'Y'} selected{/if}>{lang}wcf.acp.paidSubscription.subscriptionLengthUnit.Y{/lang}</option>
                                </select>
                                {if $errorField == 'subscriptionLength'}
                                        <small class="innerError">
                <dl id="isRecurringDL">
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="isRecurring" value="1"{if $isRecurring} checked="checked"{/if}> {lang}wcf.acp.paidSubscription.isRecurring{/lang}</label>
+                               <label><input type="checkbox" name="isRecurring" value="1"{if $isRecurring} checked{/if}> {lang}wcf.acp.paidSubscription.isRecurring{/lang}</label>
                                <small>{lang}wcf.acp.paidSubscription.isRecurring.description{/lang}</small>
                        </dd>
                </dl>
                        <dt><label>{lang}wcf.acp.paidSubscription.userGroups{/lang}</label></dt>
                        <dd>
                                {foreach from=$availableUserGroups item=userGroup}
-                                       <label><input type="checkbox" name="groupIDs[]" value="{@$userGroup->groupID}"{if $userGroup->groupID|in_array:$groupIDs} checked="checked"{/if}> {$userGroup->groupName|language}</label>
+                                       <label><input type="checkbox" name="groupIDs[]" value="{@$userGroup->groupID}"{if $userGroup->groupID|in_array:$groupIDs} checked{/if}> {$userGroup->groupName|language}</label>
                                {/foreach}
                                {if $errorField == 'groupIDs'}
                                        <small class="innerError">
index 2f471b55af026fa747ff7a0ad1ea54c4abe1890e..89e38ba7eaa6f277910f291cb0cc5923cbd0cb20 100644 (file)
@@ -49,7 +49,7 @@
                                                <select name="subscriptionID" id="subscriptionID">
                                                        <option value="0">{lang}wcf.acp.paidSubscription.subscription{/lang}</option>
                                                        {foreach from=$availableSubscriptions item=availableSubscription}
-                                                               <option value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID == $subscriptionID} selected="selected"{/if}>{$availableSubscription->title|language}</option>
+                                                               <option value="{@$availableSubscription->subscriptionID}"{if $availableSubscription->subscriptionID == $subscriptionID} selected{/if}>{$availableSubscription->title|language}</option>
                                                        {/foreach}
                                                </select>
                                        </dd>
index 9b36abab3be057ab2e47096ff9aa9adef923d1e9..7f091c392b3a69dffe86c2f0c01203b55e9ae6e2 100644 (file)
@@ -35,7 +35,7 @@
                <dl{if $errorField == 'username'} class="formError"{/if}>
                        <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="username" name="username" value="{$username}" autofocus="autofocus" class="medium">
+                               <input type="text" id="username" name="username" value="{$username}" autofocus class="medium">
                                {if $errorField == 'username'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
index 5ca2fb661cb8d44d38301bf4be61f4745fc9f62e..773bbc14c574975595da95f4cd8980935f5f78f9 100644 (file)
@@ -1,3 +1,3 @@
 {foreach from=$selectOptions key=key item=selectOption}
-       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}"{if $key|in_array:$value} checked="checked"{/if}> {lang}{@$selectOption}{/lang}</label>
+       <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$key}"{if $key|in_array:$value} checked{/if}> {lang}{@$selectOption}{/lang}</label>
 {/foreach}
index fbcf5c0cefff2e66c3139595b7682fcbffb8cf1c..2ec3f821868c4d2e942cbdea23485c28e4849de6 100644 (file)
@@ -1,3 +1,3 @@
 {foreach from=$selectOptions key=key item=selectOption}
-       <label><input type="radio" name="values[{$option->optionName}]" value="{$key}" {if $value == $key} checked="checked"{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
+       <label><input type="radio" name="values[{$option->optionName}]" value="{$key}" {if $value == $key} checked{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
 {/foreach}
index 4391f287cd4b4a33b62a83210c75f0e7561d8504..cd4c9d1ed94a9ee40733e03737869af09cb18350 100644 (file)
@@ -1,6 +1,6 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
 {foreach from=$selectOptions key=key item=selectOption}
-       <label><input type="radio" name="values[{$option->optionName}]" value="{$key}" {if $value == $key} checked="checked"{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
+       <label><input type="radio" name="values[{$option->optionName}]" value="{$key}" {if $value == $key} checked{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="jsEnablesOptions" data-disable-options="[ {@$disableOptions[$key]}]" data-enable-options="[ {@$enableOptions[$key]}]"{/if}> {lang}{@$selectOption}{/lang}</label>
 {/foreach}
 
 <script data-relocate="true">
index bd220fe3cbb89f0d18e1da039c1657a807bb1c60..d05e0ffd09fb821c93241d6831dd7734333728ac 100644 (file)
@@ -1,6 +1,6 @@
 <select id="{$option->optionName}" name="values[{$option->optionName}]">
        {if !$allowEmptyValue|empty}<option value="">{lang}wcf.global.noSelection{/lang}</option>{/if}
        {foreach from=$selectOptions key=key item=selectOption}
-               <option value="{$key}"{if $value == $key} selected="selected"{/if}>{lang}{@$selectOption}{/lang}</option>
+               <option value="{$key}"{if $value == $key} selected{/if}>{lang}{@$selectOption}{/lang}</option>
        {/foreach}
 </select>
\ No newline at end of file
index c67145887212bdc89b1fb241ae0d8eedad5649f5..611a5e959fc480faf64e7fcd77667f02932857ff 100644 (file)
@@ -1,8 +1,8 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
-<select id="{$option->optionName}" name="values[{$option->optionName}]"{if !$searchOption} disabled="disabled"{/if}>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchRadioButtonOption{/lang}</label>
+<select id="{$option->optionName}" name="values[{$option->optionName}]"{if !$searchOption} disabled{/if}>
        {if !$allowEmptyValue|empty}<option value="">{lang}wcf.global.noSelection{/lang}</option>{/if}
        {foreach from=$selectOptions key=key item=selectOption}
-               <option value="{$key}"{if $value == $key} selected="selected"{/if}>{lang}{@$selectOption}{/lang}</option>
+               <option value="{$key}"{if $value == $key} selected{/if}>{lang}{@$selectOption}{/lang}</option>
        {/foreach}
 </select>
 
index 71654fd1b1deecda143edf45eff8a16a11d28da7..91a8a0eedcfd1ac12e644b75bc8ee629437c7306 100644 (file)
@@ -39,7 +39,7 @@
 <dl>
        <dt></dt>
        <dd>
-               <label for="enableHTML"><input type="checkbox" id="enableHTML" name="enableHTML" value="1"{if $enableHTML == 1} checked="checked"{/if}> {lang}wcf.acp.user.sendMail.enableHTML{/lang}</label>
+               <label for="enableHTML"><input type="checkbox" id="enableHTML" name="enableHTML" value="1"{if $enableHTML == 1} checked{/if}> {lang}wcf.acp.user.sendMail.enableHTML{/lang}</label>
        </dd>
 </dl>
 
index ba0b8d5f0d4a65cc9ac30954c197a351e9cb9a60..571ca95866d8b88130758ca85b036ef9a927aee0 100644 (file)
@@ -25,7 +25,7 @@
                <dl{if $errorField == 'smileyTitle'} class="formError"{/if}>
                        <dt><label for="smileyTitle">{lang}wcf.acp.smiley.title{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="smileyTitle" name="smileyTitle" value="{$i18nPlainValues['smileyTitle']}" autofocus="autofocus" class="long">
+                               <input type="text" id="smileyTitle" name="smileyTitle" value="{$i18nPlainValues['smileyTitle']}" autofocus class="long">
                                
                                {if $errorField == 'smileyTitle'}
                                        <small class="innerError">
@@ -44,7 +44,7 @@
                        <dt><label for="categoryID">{lang}wcf.acp.smiley.categoryID{/lang}</label></dt>
                        <dd>
                                <select id="categoryID" name="categoryID">
-                                       <option value="0"{if $categoryID === null} selected="selected"{/if}>{lang}wcf.acp.smiley.categoryID.default{/lang}</option>
+                                       <option value="0"{if $categoryID === null} selected{/if}>{lang}wcf.acp.smiley.categoryID.default{/lang}</option>
                                        {include file='categoryOptionList'}
                                </select>
                                
@@ -63,7 +63,7 @@
                <dl{if $errorField == 'smileyCode'} class="formError"{/if}>
                        <dt><label for="smileyCode">{lang}wcf.acp.smiley.smileyCode{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="smileyCode" name="smileyCode" value="{$smileyCode}" required="required" class="medium">
+                               <input type="text" id="smileyCode" name="smileyCode" value="{$smileyCode}" required class="medium">
                                
                                {if $errorField == 'smileyCode'}
                                        <small class="innerError">
index 0d7ec92903834f3b197d7d431028062f69b88eef..8e784b8db39c414c53651e32df5b63232e42d0cc 100644 (file)
@@ -40,7 +40,7 @@
        <dl>
                <dt><label>{lang}wcf.acp.stat.dateGrouping{/lang}</label></dt>
                <dd>
-                       <label><input type="radio" name="dateGrouping" value="daily" checked="checked"> {lang}wcf.acp.stat.dateGrouping.daily{/lang}</label>
+                       <label><input type="radio" name="dateGrouping" value="daily" checked> {lang}wcf.acp.stat.dateGrouping.daily{/lang}</label>
                        <label><input type="radio" name="dateGrouping" value="weekly"> {lang}wcf.acp.stat.dateGrouping.weekly{/lang}</label>
                        <label><input type="radio" name="dateGrouping" value="monthly"> {lang}wcf.acp.stat.dateGrouping.monthly{/lang}</label>
                        <label><input type="radio" name="dateGrouping" value="yearly"> {lang}wcf.acp.stat.dateGrouping.yearly{/lang}</label>
@@ -50,7 +50,7 @@
        <dl>
                <dt><label>{lang}wcf.acp.stat.value{/lang}</label></dt>
                <dd>
-                       <label><input type="radio" name="value" value="counter" checked="checked"> {lang}wcf.acp.stat.value.counter{/lang}</label>
+                       <label><input type="radio" name="value" value="counter" checked> {lang}wcf.acp.stat.value.counter{/lang}</label>
                        <label><input type="radio" name="value" value="total"> {lang}wcf.acp.stat.value.total{/lang}</label>
                </dd>
        </dl>
@@ -64,7 +64,7 @@
                        <dt><label>{lang}wcf.acp.stat.category.{@$categoryName}{/lang}</label></dt>
                        <dd>
                                {foreach from=$objectTypes item=objectType}
-                                       <label><input type="checkbox" name="objectTypeID" value="{@$objectType->objectTypeID}"{if $objectType->default} checked="checked"{/if}> {lang}wcf.acp.stat.{@$objectType->objectType}{/lang}</label>
+                                       <label><input type="checkbox" name="objectTypeID" value="{@$objectType->objectTypeID}"{if $objectType->default} checked{/if}> {lang}wcf.acp.stat.{@$objectType->objectType}{/lang}</label>
                                {/foreach}
                        </dd>
                </dl>
index 2525bf96a98114fcfec55564cf7c0ac31f0941b7..b25662d3840e0bfb356755af0419d0b009f4efa9 100644 (file)
                                                        <select name="templateGroupID" id="templateGroupID">
                                                                <option value="0">{lang}wcf.acp.template.group.default{/lang}</option>
                                                                {foreach from=$availableTemplateGroups item=templateGroup}
-                                                                       <option value="{@$templateGroup->templateGroupID}"{if $templateGroup->templateGroupID == $templateGroupID} selected="selected"{/if}>{$templateGroup->templateGroupName}</option>
+                                                                       <option value="{@$templateGroup->templateGroupID}"{if $templateGroup->templateGroupID == $templateGroupID} selected{/if}>{$templateGroup->templateGroupName}</option>
                                                                {/foreach}
                                                        </select>
                                                        {if $errorField == 'templateGroupID'}
                                <dl>
                                        <dt></dt>
                                        <dd><label>
-                                               <input type="checkbox" id="useFluidLayout" name="useFluidLayout" value="1"{if $variables[useFluidLayout]} checked="checked"{/if}>
+                                               <input type="checkbox" id="useFluidLayout" name="useFluidLayout" value="1"{if $variables[useFluidLayout]} checked{/if}>
                                                <span>{lang}wcf.acp.style.globals.useFluidLayout{/lang}</span>
                                        </label></dd>
                                </dl>
                                                <label class="selectDropdown">
                                                        <select name="wcfLayoutMinWidth_unit" class="jsUnitSelect">
                                                                {foreach from=$availableUnits item=unit}
-                                                                       <option value="{@$unit}"{if $variables[wcfLayoutMinWidth_unit] == $unit} selected="selected"{/if}>{@$unit}</option>
+                                                                       <option value="{@$unit}"{if $variables[wcfLayoutMinWidth_unit] == $unit} selected{/if}>{@$unit}</option>
                                                                {/foreach}
                                                        </select>
                                                </label>
                                                <label class="selectDropdown">
                                                        <select name="wcfLayoutMaxWidth_unit" class="jsUnitSelect">
                                                                {foreach from=$availableUnits item=unit}
-                                                                       <option value="{@$unit}"{if $variables[wcfLayoutMaxWidth_unit] == $unit} selected="selected"{/if}>{@$unit}</option>
+                                                                       <option value="{@$unit}"{if $variables[wcfLayoutMaxWidth_unit] == $unit} selected{/if}>{@$unit}</option>
                                                                {/foreach}
                                                        </select>
                                                </label>
                                                <label class="selectDropdown">
                                                        <select name="wcfLayoutFixedWidth_unit" class="jsUnitSelect">
                                                                {foreach from=$availableUnits item=unit}
-                                                                       <option value="{@$unit}"{if $variables[wcfLayoutFixedWidth_unit] == $unit} selected="selected"{/if}>{@$unit}</option>
+                                                                       <option value="{@$unit}"{if $variables[wcfLayoutFixedWidth_unit] == $unit} selected{/if}>{@$unit}</option>
                                                                {/foreach}
                                                        </select>
                                                </label>
                                                <label class="selectDropdown">
                                                        <select name="wcfFontSizeDefault_unit" class="jsUnitSelect">
                                                                {foreach from=$availableUnits item=unit}
-                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeDefault_unit] == $unit} selected="selected"{/if}>{@$unit}</option>
+                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeDefault_unit] == $unit} selected{/if}>{@$unit}</option>
                                                                {/foreach}
                                                        </select>
                                                </label>
                                                <label class="selectDropdown">
                                                        <select name="wcfFontSizeSmall_unit" class="jsUnitSelect">
                                                                {foreach from=$availableUnits item=unit}
-                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeSmall_unit] == $unit} selected="selected"{/if}>{@$unit}</option>
+                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeSmall_unit] == $unit} selected{/if}>{@$unit}</option>
                                                                {/foreach}
                                                        </select>
                                                </label>
                                                <label class="selectDropdown">
                                                        <select name="wcfFontSizeHeadline_unit" class="jsUnitSelect">
                                                                {foreach from=$availableUnits item=unit}
-                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeHeadline_unit] == $unit} selected="selected"{/if}>{@$unit}</option>
+                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeHeadline_unit] == $unit} selected{/if}>{@$unit}</option>
                                                                {/foreach}
                                                        </select>
                                                </label>
                                                <label class="selectDropdown">
                                                        <select name="wcfFontSizeSection_unit" class="jsUnitSelect">
                                                                {foreach from=$availableUnits item=unit}
-                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeSection_unit] == $unit} selected="selected"{/if}>{@$unit}</option>
+                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeSection_unit] == $unit} selected{/if}>{@$unit}</option>
                                                                {/foreach}
                                                        </select>
                                                </label>
                                                <label class="selectDropdown">
                                                        <select name="wcfFontSizeTitle_unit" class="jsUnitSelect">
                                                                {foreach from=$availableUnits item=unit}
-                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeTitle_unit] == $unit} selected="selected"{/if}>{@$unit}</option>
+                                                                       <option value="{@$unit}"{if $variables[wcfFontSizeTitle_unit] == $unit} selected{/if}>{@$unit}</option>
                                                                {/foreach}
                                                        </select>
                                                </label>
                                <dl>
                                        <dt></dt>
                                        <dd><label>
-                                               <input type="checkbox" id="useGoogleFont" name="useGoogleFont" value="1"{if $variables[useGoogleFont]} checked="checked"{/if}>
+                                               <input type="checkbox" id="useGoogleFont" name="useGoogleFont" value="1"{if $variables[useGoogleFont]} checked{/if}>
                                                <span>{lang}wcf.acp.style.globals.useGoogleFont{/lang}</span>
                                        </label></dd>
                                </dl>
                                                <label class="selectDropdown">
                                                        <select name="wcfFontFamilyFallback" id="wcfFontFamilyFallback">
                                                                {foreach from=$availableFontFamilies key=fontFamily item=primaryFont}
-                                                                       <option value='{@$fontFamily}'{if $variables[wcfFontFamilyFallback] == $fontFamily} selected="selected"{/if}>{@$primaryFont}</option>
+                                                                       <option value='{@$fontFamily}'{if $variables[wcfFontFamilyFallback] == $fontFamily} selected{/if}>{@$primaryFont}</option>
                                                                {/foreach}
                                                        </select>
                                                </label>
index d0569cfec0e5ad857a4a87de6623384b8e97a514..f773f5deb5ecf512735dccaf6ce2b7f1781c74b9 100644 (file)
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="exportImages" value="1"{if $exportImages} checked="checked"{/if}{if !$canExportImages} disabled="disabled"{/if}> <span>{lang}wcf.acp.style.exportImages{/lang}</span></label>
+                               <label><input type="checkbox" name="exportImages" value="1"{if $exportImages} checked{/if}{if !$canExportImages} disabled{/if}> <span>{lang}wcf.acp.style.exportImages{/lang}</span></label>
                        </dd>
                </dl>
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="exportTemplates" value="1"{if $exportTemplates} checked="checked"{/if}{if !$canExportTemplates} disabled="disabled"{/if}> <span>{lang}wcf.acp.style.exportTemplates{/lang}</span></label>
+                               <label><input type="checkbox" name="exportTemplates" value="1"{if $exportTemplates} checked{/if}{if !$canExportTemplates} disabled{/if}> <span>{lang}wcf.acp.style.exportTemplates{/lang}</span></label>
                        </dd>
                </dl>
                
@@ -49,7 +49,7 @@
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" id="exportAsPackage" name="exportAsPackage" value="1"{if $exportAsPackage} checked="checked"{/if}> <span>{lang}wcf.acp.style.exportAsPackage{/lang}</span></label>
+                                       <label><input type="checkbox" id="exportAsPackage" name="exportAsPackage" value="1"{if $exportAsPackage} checked{/if}> <span>{lang}wcf.acp.style.exportAsPackage{/lang}</span></label>
                                </dd>
                        </dl>
                        
index bbf2d0983f53fab4809bfa020249f07d92637dd0..56cf45cb5bbe7d19a93fe0e62f1f15e01a843892 100644 (file)
@@ -3,10 +3,10 @@
        <dd>
                <input type="number" name="{$variableName}" id="{$variableName}" value="{$variableValue}">
                <select name="{$variableName}_unit" id="{$variableName}_unit">
-                       <option value="%"{if $variableUnit == '%'} selected="selected"{/if}>%</option>
-                       <option value="em"{if $variableUnit == 'em'} selected="selected"{/if}>em</option>
-                       <option value="pt"{if $variableUnit == 'pt'} selected="selected"{/if}>pt</option>
-                       <option value="px"{if $variableUnit == 'px'} selected="selected"{/if}>px</option>
+                       <option value="%"{if $variableUnit == '%'} selected{/if}>%</option>
+                       <option value="em"{if $variableUnit == 'em'} selected{/if}>em</option>
+                       <option value="pt"{if $variableUnit == 'pt'} selected{/if}>pt</option>
+                       <option value="px"{if $variableUnit == 'px'} selected{/if}>px</option>
                </select>
        </dd>
 </dl>
\ No newline at end of file
index 89e1a6a7f01f26546822a3c6732c9719d87f44cc..891b60522913a0f046edf2f1416542bbbf2976b9 100644 (file)
@@ -25,7 +25,7 @@
                <dl{if $errorField == 'name'} class="formError"{/if}>
                        <dt><label for="name">{lang}wcf.global.name{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="name" name="name" value="{$name}" required="required" autofocus="autofocus" class="long">
+                               <input type="text" id="name" name="name" value="{$name}" required autofocus class="long">
                                {if $errorField == 'name'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
                        <dl{if $errorField == 'languageID' || $action == 'edit'} class="{if $action == 'edit'}disabled{else}formError{/if}"{/if}>
                                <dt><label for="languageID">{lang}wcf.acp.tag.languageID{/lang}</label></dt>
                                <dd>
-                                       <select id="languageID" name="languageID"{if $action == 'edit'} disabled="disabled"{/if}>
+                                       <select id="languageID" name="languageID"{if $action == 'edit'} disabled{/if}>
                                                {content}
                                                        {foreach from=$availableLanguages item=language}
-                                                               <option value="{@$language->languageID}"{if $languageID == $language->languageID} selected="selected"{/if}>{$language->languageName} ({$language->languageCode})</option>
+                                                               <option value="{@$language->languageID}"{if $languageID == $language->languageID} selected{/if}>{$language->languageName} ({$language->languageCode})</option>
                                                        {/foreach}
                                                {/content}
                                        </select>
index 9143c3878117dd1afd3c8f9683e81a2cae466b59..825de73aa44c7dec0c344c935c644418efece940 100644 (file)
@@ -40,7 +40,7 @@
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <input type="text" id="tagSearch" name="search" value="{$search}" placeholder="{lang}wcf.acp.tag.list.search.query{/lang}" autofocus="autofocus" class="medium">
+                                       <input type="text" id="tagSearch" name="search" value="{$search}" placeholder="{lang}wcf.acp.tag.list.search.query{/lang}" autofocus class="medium">
                                </dd>
                        </dl>
                </section>
index 2c39f712194f167d17a4d235f4d9224fe712fe49..fb2ba64cbfa3d1358180245751ea303023c1bb65 100644 (file)
@@ -37,7 +37,7 @@
                        <dl{if $errorField == 'tplName'} class="formError"{/if}>
                                <dt><label for="tplName">{lang}wcf.global.name{/lang}</label></dt>
                                <dd>
-                                       <input type="text" id="tplName" name="tplName" value="{$tplName}" required="required" class="long">
+                                       <input type="text" id="tplName" name="tplName" value="{$tplName}" required class="long">
                                        {if $errorField == 'tplName'}
                                                <small class="innerError">
                                                        {if $errorType == 'empty'}
index 6670d537b52d53c9a5ff933ba26072674994469d..db6b66eda514ec2e41c98fba8282da4862aff5d7 100644 (file)
@@ -37,7 +37,7 @@
                                        <option value="0"></option>
                                        {assign var=depth value=0}
                                        {foreach from=$templateGroupHierarchy item='templateGroup' key='templateGroupID'}
-                                               <option{if $templateGroup[hasTemplate] !== false && $templateGroup[hasTemplate] != $templateID} value="{$templateGroup[hasTemplate]}"{if $parent->templateID == $templateGroup[hasTemplate]} selected="selected"{/if}{else} disabled="disabled"{/if}>{@'&nbsp;'|str_repeat:$depth * 4}{if $templateGroupID}{$templateGroup[group]->templateGroupName}{else}{lang}wcf.acp.template.group.default{/lang}{/if}</option>
+                                               <option{if $templateGroup[hasTemplate] !== false && $templateGroup[hasTemplate] != $templateID} value="{$templateGroup[hasTemplate]}"{if $parent->templateID == $templateGroup[hasTemplate]} selected{/if}{else} disabled{/if}>{@'&nbsp;'|str_repeat:$depth * 4}{if $templateGroupID}{$templateGroup[group]->templateGroupName}{else}{lang}wcf.acp.template.group.default{/lang}{/if}</option>
                                                {assign var=depth value=$depth + 1}
                                        {/foreach}
                                </select>
index 71f79314e835d287797670b0bc0b9ea1ba626aef..7eff8cbb96824d0954dd658053463e129c94048b 100644 (file)
@@ -46,7 +46,7 @@
                <dl{if $errorField == 'templateGroupName'} class="formError"{/if}>
                        <dt><label for="templateGroupName">{lang}wcf.global.name{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="templateGroupName" name="templateGroupName" value="{$templateGroupName}" required="required" class="long">
+                               <input type="text" id="templateGroupName" name="templateGroupName" value="{$templateGroupName}" required class="long">
                                {if $errorField == 'templateGroupName'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -62,7 +62,7 @@
                <dl{if $errorField == 'templateGroupFolderName'} class="formError"{/if}>
                        <dt><label for="templateGroupFolderName">{lang}wcf.acp.template.group.folderName{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="templateGroupFolderName" name="templateGroupFolderName" value="{$templateGroupFolderName}" required="required" class="long">
+                               <input type="text" id="templateGroupFolderName" name="templateGroupFolderName" value="{$templateGroupFolderName}" required class="long">
                                {if $errorField == 'templateGroupFolderName'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
index 3c4cb1a1cebba7a8360f4a7aa3de79257b22b2fd..7c0f08b0e52abb942a48e5f44559316815ab67cc 100644 (file)
@@ -60,7 +60,7 @@
                                                <select name="application" id="application">
                                                        <option value="">{lang}wcf.acp.template.application{/lang}</option>
                                                        {foreach from=$availableApplications key=abbreviation item=availableApplication}
-                                                               <option value="{$abbreviation}"{if $abbreviation == $application} selected="selected"{/if}>{$availableApplication}</option>
+                                                               <option value="{$abbreviation}"{if $abbreviation == $application} selected{/if}>{$availableApplication}</option>
                                                        {/foreach}
                                                </select>
                                        </dd>
index b16f8c98d47e72363aba73ce03e6a65c0f8d732b..81c0de79b486ddc45798c345861ca64618d2c55a 100644 (file)
@@ -1,5 +1,5 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchTextOption{/lang}</label>
-<input type="{@$inputType}" id="{$option->optionName}" name="values[{$option->optionName}]" value="{$value}"{if $inputClass} class="{@$inputClass}"{/if}{if !$searchOption} disabled="disabled"{/if}>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchTextOption{/lang}</label>
+<input type="{@$inputType}" id="{$option->optionName}" name="values[{$option->optionName}]" value="{$value}"{if $inputClass} class="{@$inputClass}"{/if}{if !$searchOption} disabled{/if}>
 
 <script data-relocate="true">
 //<![CDATA[
index 33d4a793e2db25419b43e4cf2619e93e4bcadcf5..8c9f10a4e15b76af4c06550895575852c19d80f9 100644 (file)
@@ -1,5 +1,5 @@
-<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked="checked"{/if}> {lang}wcf.user.option.searchTextOption{/lang}</label>
-<textarea id="{$option->optionName}" name="values[{$option->optionName}]"{if !$searchOption} disabled="disabled"{/if} cols="40" rows="10">{$value}</textarea>
+<label><input type="checkbox" id="search_{$option->optionName}" name="searchOptions[{$option->optionName}]"{if $searchOption} checked{/if}> {lang}wcf.user.option.searchTextOption{/lang}</label>
+<textarea id="{$option->optionName}" name="values[{$option->optionName}]"{if !$searchOption} disabled{/if} cols="40" rows="10">{$value}</textarea>
 
 <script data-relocate="true">
 //<![CDATA[
index 30a6c36737d07cca922391633756c035c9ede71f..68381f7b6d790feff952c5f4ad73894b996df23e 100644 (file)
@@ -39,7 +39,7 @@
                        <dl{if $errorField == $objectType->objectTypeID} class="formError"{/if}>
                                <dt><label for="{@$objectType->objectType}">{lang}wcf.user.activityPoint.objectType.{$objectType->objectType}{/lang}</label></dt>
                                <dd>
-                                       <input type="number" id="{@$objectType->objectType}" name="points[{@$objectType->objectTypeID}]" value="{$points[$objectType->objectTypeID]}" required="required" min="0" class="tiny">
+                                       <input type="number" id="{@$objectType->objectType}" name="points[{@$objectType->objectTypeID}]" value="{$points[$objectType->objectTypeID]}" required min="0" class="tiny">
                                        {if $errorField == $objectType->objectTypeID}
                                                <small class="innerError">
                                                        {lang greaterThan=-1}wcf.global.form.error.greaterThan{/lang}
index 22aa740f31a88e1fb463d0475159cec301d884ff..7ae6f87b5ef9100dd9a9af83135b59ebf6cb69dc 100644 (file)
@@ -60,7 +60,7 @@
                                <dl{if $errorType.username|isset} class="formError"{/if}>
                                        <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
                                        <dd>
-                                               <input type="text" id="username" name="username" value="{$username}" pattern="^[^,\n]+$" autofocus="autofocus" class="medium">
+                                               <input type="text" id="username" name="username" value="{$username}" pattern="^[^,\n]+$" autofocus class="medium">
                                                {if $errorType.username|isset}
                                                        <small class="innerError">
                                                                {if $errorType.username == 'empty'}
                                        <dl>
                                                <dt></dt>
                                                <dd>
-                                                       <label><input type="checkbox" id="banned" name="banned" value="1"{if $banned == 1} checked="checked"{/if}> {lang}wcf.acp.user.banUser{/lang}</label>
+                                                       <label><input type="checkbox" id="banned" name="banned" value="1"{if $banned == 1} checked{/if}> {lang}wcf.acp.user.banUser{/lang}</label>
                                                        <small>{lang}wcf.acp.user.banUser.description{/lang}</small>    
                                                </dd>
                                        </dl>
                                        
                                        <dl>
                                                <dt></dt>
-                                               <dd><label><input type="checkbox" id="banNeverExpires" name="banNeverExpires" value="1"{if !$banExpires} checked="checked"{/if}> {lang}wcf.acp.user.ban.neverExpires{/lang}</label></dd>
+                                               <dd><label><input type="checkbox" id="banNeverExpires" name="banNeverExpires" value="1"{if !$banExpires} checked{/if}> {lang}wcf.acp.user.ban.neverExpires{/lang}</label></dd>
                                        </dl>
                                        
                                        <dl id="banExpiresSetting">
                                                                        </dt>
                                                                        <dd>
                                                                                {foreach from=$availableContentLanguages key=availableLanguageID item=availableLanguage}
-                                                                                       <label><input type="checkbox" name="visibleLanguages[]" value="{@$availableLanguageID}"{if $availableLanguageID|in_array:$visibleLanguages} checked="checked"{/if}> {@$availableLanguage}</label>
+                                                                                       <label><input type="checkbox" name="visibleLanguages[]" value="{@$availableLanguageID}"{if $availableLanguageID|in_array:$visibleLanguages} checked{/if}> {@$availableLanguage}</label>
                                                                                {/foreach}
                                                                        </dd>
                                                                </dl>
                                        <dl>
                                                <dt>{lang}wcf.message.settings{/lang}</dt>
                                                <dd>
-                                                       <label><input id="signatureEnableSmilies" name="signatureEnableSmilies" type="checkbox" value="1"{if $signatureEnableSmilies} checked="checked"{/if}> {lang}wcf.message.settings.enableSmilies{/lang}</label>
-                                                       <label><input id="signatureEnableBBCodes" name="signatureEnableBBCodes" type="checkbox" value="1"{if $signatureEnableBBCodes} checked="checked"{/if}> {lang}wcf.message.settings.enableBBCodes{/lang}</label>
-                                                       <label><input id="signatureEnableHtml" name="signatureEnableHtml" type="checkbox" value="1"{if $signatureEnableHtml} checked="checked"{/if}> {lang}wcf.message.settings.enableHtml{/lang}</label>
+                                                       <label><input id="signatureEnableSmilies" name="signatureEnableSmilies" type="checkbox" value="1"{if $signatureEnableSmilies} checked{/if}> {lang}wcf.message.settings.enableSmilies{/lang}</label>
+                                                       <label><input id="signatureEnableBBCodes" name="signatureEnableBBCodes" type="checkbox" value="1"{if $signatureEnableBBCodes} checked{/if}> {lang}wcf.message.settings.enableBBCodes{/lang}</label>
+                                                       <label><input id="signatureEnableHtml" name="signatureEnableHtml" type="checkbox" value="1"{if $signatureEnableHtml} checked{/if}> {lang}wcf.message.settings.enableHtml{/lang}</label>
                                                </dd>
                                        </dl>
                                        
                                                <dl>
                                                        <dt></dt>
                                                        <dd>
-                                                               <label><input type="checkbox" id="disableSignature" name="disableSignature" value="1"{if $disableSignature == 1} checked="checked"{/if}> {lang}wcf.acp.user.disableSignature{/lang}</label>
+                                                               <label><input type="checkbox" id="disableSignature" name="disableSignature" value="1"{if $disableSignature == 1} checked{/if}> {lang}wcf.acp.user.disableSignature{/lang}</label>
                                                        </dd>
                                                </dl>
                                                
                                                
                                                <dl>
                                                        <dt></dt>
-                                                       <dd><label><input type="checkbox" id="disableSignatureNeverExpires" name="disableSignatureNeverExpires" value="1"{if !$disableSignatureExpires} checked="checked"{/if}> {lang}wcf.acp.user.disableSignature.neverExpires{/lang}</label></dd>
+                                                       <dd><label><input type="checkbox" id="disableSignatureNeverExpires" name="disableSignatureNeverExpires" value="1"{if !$disableSignatureExpires} checked{/if}> {lang}wcf.acp.user.disableSignature.neverExpires{/lang}</label></dd>
                                                </dl>
                                                
                                                <dl id="disableSignatureExpiresSetting">
                                        <dl>
                                                <dt></dt>
                                                <dd>
-                                                       <label><input type="radio" name="avatarType" value="none"{if $avatarType == 'none'} checked="checked"{/if}> {lang}wcf.user.avatar.type.none{/lang}</label>
+                                                       <label><input type="radio" name="avatarType" value="none"{if $avatarType == 'none'} checked{/if}> {lang}wcf.user.avatar.type.none{/lang}</label>
                                                </dd>
                                        </dl>
                                        
                                                        {/if}
                                                </dt>
                                                <dd>
-                                                       <label><input type="radio" name="avatarType" value="custom"{if $avatarType == 'custom'} checked="checked"{/if}> {lang}wcf.user.avatar.type.custom{/lang}</label>
+                                                       <label><input type="radio" name="avatarType" value="custom"{if $avatarType == 'custom'} checked{/if}> {lang}wcf.user.avatar.type.custom{/lang}</label>
                                                        
                                                        {* placeholder for upload button: *}
                                                        <div></div>
                                                <dl{if $errorType[gravatar]|isset} class="formError"{/if}>
                                                        <dt><img src="https://secure.gravatar.com/avatar/{@$user->email|strtolower|md5}?s=96{if GRAVATAR_DEFAULT_TYPE != '404'}&amp;d={@GRAVATAR_DEFAULT_TYPE}{/if}" alt="" class="userAvatarImage icon96"></dt>
                                                        <dd>
-                                                               <label><input type="radio" name="avatarType" value="gravatar"{if $avatarType == 'gravatar'} checked="checked"{/if}> {lang}wcf.user.avatar.type.gravatar{/lang}</label>
+                                                               <label><input type="radio" name="avatarType" value="gravatar"{if $avatarType == 'gravatar'} checked{/if}> {lang}wcf.user.avatar.type.gravatar{/lang}</label>
                                                                
                                                                {if $errorType[gravatar]|isset}
                                                                        <small class="innerError">
                                                <dl>
                                                        <dt></dt>
                                                        <dd>
-                                                               <label><input type="checkbox" id="disableAvatar" name="disableAvatar" value="1"{if $disableAvatar == 1} checked="checked"{/if}> {lang}wcf.acp.user.disableAvatar{/lang}</label>
+                                                               <label><input type="checkbox" id="disableAvatar" name="disableAvatar" value="1"{if $disableAvatar == 1} checked{/if}> {lang}wcf.acp.user.disableAvatar{/lang}</label>
                                                        </dd>
                                                </dl>
                                                
                                                
                                                <dl>
                                                        <dt></dt>
-                                                       <dd><label><input type="checkbox" id="disableAvatarNeverExpires" name="disableAvatarNeverExpires" value="1"{if !$disableAvatarExpires} checked="checked"{/if}> {lang}wcf.acp.user.disableAvatar.neverExpires{/lang}</label></dd>
+                                                       <dd><label><input type="checkbox" id="disableAvatarNeverExpires" name="disableAvatarNeverExpires" value="1"{if !$disableAvatarExpires} checked{/if}> {lang}wcf.acp.user.disableAvatar.neverExpires{/lang}</label></dd>
                                                </dl>
                                                
                                                <dl id="disableAvatarExpiresSetting">
index 5ea88965b7d9081a2edd06cf15c69e6b60c24244..8098a27908f1e54e537f009293fb4795e0cd67f2 100644 (file)
@@ -41,8 +41,8 @@
                <dl>
                        <dt><label>{lang}wcf.acp.user.exportEmailAddress.fileType{/lang}</label></dt>
                        <dd>
-                               <label><input type="radio" name="fileType" value="csv" {if $fileType == 'csv'}checked="checked" {/if}class="jsEnablesOptions" data-disable-options="[ ]" data-enable-options="[ 'separatorDiv', 'textSeparatorDiv' ]"> {lang}wcf.acp.user.exportEmailAddress.fileType.csv{/lang}</label>
-                               <label><input type="radio" class="jsEnablesOptions" name="fileType" value="xml" {if $fileType == 'xml'}checked="checked" {/if}data-disable-options="[ 'separatorDiv', 'textSeparatorDiv' ]" data-enable-options="[ ]"> {lang}wcf.acp.user.exportEmailAddress.fileType.xml{/lang}</label>
+                               <label><input type="radio" name="fileType" value="csv" {if $fileType == 'csv'}checked {/if}class="jsEnablesOptions" data-disable-options="[ ]" data-enable-options="[ 'separatorDiv', 'textSeparatorDiv' ]"> {lang}wcf.acp.user.exportEmailAddress.fileType.csv{/lang}</label>
+                               <label><input type="radio" class="jsEnablesOptions" name="fileType" value="xml" {if $fileType == 'xml'}checked {/if}data-disable-options="[ 'separatorDiv', 'textSeparatorDiv' ]" data-enable-options="[ ]"> {lang}wcf.acp.user.exportEmailAddress.fileType.xml{/lang}</label>
                        </dd>
                </dl>
                
index e6b915f711bcad7206c760ded6d1f24cd62954d7..8b3042045cbac4d131c74fb84d92adf497b389a3 100644 (file)
@@ -72,7 +72,7 @@
                <dl{if $errorType.groupName|isset} class="formError"{/if}>
                        <dt><label for="groupName">{lang}wcf.global.name{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="groupName" name="groupName" value="{$i18nPlainValues['groupName']}" autofocus="autofocus" class="medium">
+                               <input type="text" id="groupName" name="groupName" value="{$i18nPlainValues['groupName']}" autofocus class="medium">
                                {if $errorType.groupName|isset}
                                        <small class="innerError">
                                                {if $errorType.groupName == 'empty'}
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" id="showOnTeamPage" name="showOnTeamPage" value="1"{if $showOnTeamPage} checked="checked"{/if}> {lang}wcf.acp.group.showOnTeamPage{/lang}</label>
+                                       <label><input type="checkbox" id="showOnTeamPage" name="showOnTeamPage" value="1"{if $showOnTeamPage} checked{/if}> {lang}wcf.acp.group.showOnTeamPage{/lang}</label>
                                </dd>
                        </dl>
                {/if}
index c291d2dcea7768e2fd554b016b756568e3c62905..d9df0af3f45a3914f7b8c7dd939e4c8c9e8ff6f7 100644 (file)
@@ -63,7 +63,7 @@
                <dl class="formError">
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" id="isDisabled" name="isDisabled"{if $isDisabled} checked="checked"{/if}> {lang}wcf.acp.group.assignment.isDisabled{/lang}</label>
+                               <label><input type="checkbox" id="isDisabled" name="isDisabled"{if $isDisabled} checked{/if}> {lang}wcf.acp.group.assignment.isDisabled{/lang}</label>
                        </dd>
                </dl>
                
index 15f87ef818bcadb8788748f4940e013056e8068d..ccb11efc5a06cf0142261e1e4f50ba009c84c123 100644 (file)
@@ -1,15 +1,15 @@
 <ol class="flexibleButtonGroup">
        <li>
-               <input type="radio" id="{$option->optionName}"{if $value == 1} checked="checked"{/if} name="values[{$option->optionName}]" value="1"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
+               <input type="radio" id="{$option->optionName}"{if $value == 1} checked{/if} name="values[{$option->optionName}]" value="1"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
                <label for="{$option->optionName}" class="green"><span class="icon icon16 fa-check"></span> {lang}wcf.acp.option.type.boolean.yes{/lang}</label>
        </li>
        <li>
-               <input type="radio" id="{$option->optionName}_no"{if $value == 0} checked="checked"{/if} name="values[{$option->optionName}]" value="0"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
+               <input type="radio" id="{$option->optionName}_no"{if $value == 0} checked{/if} name="values[{$option->optionName}]" value="0"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
                <label for="{$option->optionName}_no" class="red"><span class="icon icon16 fa-times"></span> {lang}wcf.acp.option.type.boolean.no{/lang}</label>
        </li>
        {if $group === null || !$group->isEveryone()}
                <li>
-                       <input type="radio" id="{$option->optionName}_never"{if $value == -1} checked="checked"{/if} name="values[{$option->optionName}]" value="-1"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
+                       <input type="radio" id="{$option->optionName}_never"{if $value == -1} checked{/if} name="values[{$option->optionName}]" value="-1"{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}>
                        <label for="{$option->optionName}_never" class="yellow"><span class="icon icon16 fa-ban"></span> {lang}wcf.acp.option.type.boolean.never{/lang}</label>
                </li>
        {/if}
index 6299bd6013f6ede16a53e026ad973007f41ef833..206764aec8bd758a291bdb8ad886c4365eacb63f 100644 (file)
@@ -81,7 +81,7 @@
                <dl{if $errorField == 'subject'} class="formError"{/if}>
                        <dt><label for="subject">{lang}wcf.acp.user.sendMail.subject{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="subject" name="subject" value="{$subject}" autofocus="autofocus" class="long">
+                               <input type="text" id="subject" name="subject" value="{$subject}" autofocus class="long">
                                {if $errorField == 'subject'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" id="enableHTML" name="enableHTML" {if $enableHTML == 1}checked="checked" {/if}value="1"> {lang}wcf.acp.user.sendMail.enableHTML{/lang}</label>
+                               <label><input type="checkbox" id="enableHTML" name="enableHTML" {if $enableHTML == 1}checked {/if}value="1"> {lang}wcf.acp.user.sendMail.enableHTML{/lang}</label>
                        </dd>
                </dl>
                
index a7299311293e3e1652c0b66bbfd5a7c7ecaabc1e..cd180d3a7272a34754cca55966d671fa1778b6b3 100644 (file)
@@ -27,7 +27,7 @@
                        <dl{if $errorField == 'optionName'} class="formError"{/if}>
                                <dt><label for="optionName">{lang}wcf.global.name{/lang}</label></dt>
                                <dd>
-                                       <input type="text" id="optionName" name="optionName" value="{$i18nPlainValues['optionName']}" required="required" autofocus="autofocus" class="long">
+                                       <input type="text" id="optionName" name="optionName" value="{$i18nPlainValues['optionName']}" required autofocus class="long">
                                        {if $errorField == 'optionName'}
                                                <small class="innerError">
                                                        {if $errorType == 'multilingual'}
@@ -67,7 +67,7 @@
                                <dd>
                                        <select name="categoryName" id="categoryName">
                                                {foreach from=$availableCategories item=availableCategory}
-                                                       <option value="{$availableCategory->categoryName}"{if $availableCategory->categoryName == $categoryName} selected="selected"{/if}>{lang}wcf.user.option.category.{$availableCategory->categoryName}{/lang}</option>
+                                                       <option value="{$availableCategory->categoryName}"{if $availableCategory->categoryName == $categoryName} selected{/if}>{lang}wcf.user.option.category.{$availableCategory->categoryName}{/lang}</option>
                                                {/foreach}
                                        </select>
                                        
                                <dd>
                                        <select name="optionType" id="optionType">
                                                {foreach from=$availableOptionTypes item=availableOptionType}
-                                                       <option value="{$availableOptionType}"{if $availableOptionType == $optionType} selected="selected"{/if}>{$availableOptionType}</option>
+                                                       <option value="{$availableOptionType}"{if $availableOptionType == $optionType} selected{/if}>{$availableOptionType}</option>
                                                {/foreach}
                                        </select>
                                        {if $errorField == 'optionType'}
                                <dt><label for="editable">{lang}wcf.acp.user.option.editable{/lang}</label></dt>
                                <dd>
                                        <select name="editable" id="editable">
-                                               <option value="1"{if $editable == 1} selected="selected"{/if}>{lang}wcf.acp.user.option.editable.1{/lang}</option>
-                                               <option value="2"{if $editable == 2} selected="selected"{/if}>{lang}wcf.acp.user.option.editable.2{/lang}</option>
-                                               <option value="3"{if $editable == 3} selected="selected"{/if}>{lang}wcf.acp.user.option.editable.3{/lang}</option>
-                                               <option value="6"{if $editable == 6} selected="selected"{/if}>{lang}wcf.acp.user.option.editable.6{/lang}</option>
+                                               <option value="1"{if $editable == 1} selected{/if}>{lang}wcf.acp.user.option.editable.1{/lang}</option>
+                                               <option value="2"{if $editable == 2} selected{/if}>{lang}wcf.acp.user.option.editable.2{/lang}</option>
+                                               <option value="3"{if $editable == 3} selected{/if}>{lang}wcf.acp.user.option.editable.3{/lang}</option>
+                                               <option value="6"{if $editable == 6} selected{/if}>{lang}wcf.acp.user.option.editable.6{/lang}</option>
                                        </select>
                                </dd>
                        </dl>
                                <dt><label for="visible">{lang}wcf.acp.user.option.visible{/lang}</label></dt>
                                <dd>
                                        <select name="visible" id="visible">
-                                               <option value="0"{if $visible == 0} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.0{/lang}</option>
-                                               <option value="1"{if $visible == 1} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.1{/lang}</option>
-                                               <option value="2"{if $visible == 2} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.2{/lang}</option>
-                                               <option value="3"{if $visible == 3} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.3{/lang}</option>
-                                               <option value="7"{if $visible == 7} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.7{/lang}</option>
-                                               <option value="15"{if $visible == 15} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.15{/lang}</option>
+                                               <option value="0"{if $visible == 0} selected{/if}>{lang}wcf.acp.user.option.visible.0{/lang}</option>
+                                               <option value="1"{if $visible == 1} selected{/if}>{lang}wcf.acp.user.option.visible.1{/lang}</option>
+                                               <option value="2"{if $visible == 2} selected{/if}>{lang}wcf.acp.user.option.visible.2{/lang}</option>
+                                               <option value="3"{if $visible == 3} selected{/if}>{lang}wcf.acp.user.option.visible.3{/lang}</option>
+                                               <option value="7"{if $visible == 7} selected{/if}>{lang}wcf.acp.user.option.visible.7{/lang}</option>
+                                               <option value="15"{if $visible == 15} selected{/if}>{lang}wcf.acp.user.option.visible.15{/lang}</option>
                                        </select>
                                </dd>
                        </dl>
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" name="required" id="required" value="1"{if $required == 1} checked="checked"{/if}> {lang}wcf.acp.user.option.required{/lang}</label>
-                                       <label><input type="checkbox" name="askDuringRegistration" id="askDuringRegistration" value="1"{if $askDuringRegistration == 1} checked="checked"{/if}> {lang}wcf.acp.user.option.askDuringRegistration{/lang}</label>
-                                       <label><input type="checkbox" name="searchable" id="searchable" value="1"{if $searchable == 1} checked="checked"{/if}> {lang}wcf.acp.user.option.searchable{/lang}</label>
+                                       <label><input type="checkbox" name="required" id="required" value="1"{if $required == 1} checked{/if}> {lang}wcf.acp.user.option.required{/lang}</label>
+                                       <label><input type="checkbox" name="askDuringRegistration" id="askDuringRegistration" value="1"{if $askDuringRegistration == 1} checked{/if}> {lang}wcf.acp.user.option.askDuringRegistration{/lang}</label>
+                                       <label><input type="checkbox" name="searchable" id="searchable" value="1"{if $searchable == 1} checked{/if}> {lang}wcf.acp.user.option.searchable{/lang}</label>
                                </dd>
                        </dl>
                        
index e800236e576a509b29f77bc97f4f089cf2c8b046..64345b297ed7239618538fadaa04e0b6ed7e56a6 100644 (file)
@@ -26,7 +26,7 @@
                <dl{if $errorField == 'categoryName'} class="formError"{/if}>
                        <dt><label for="categoryName">{lang}wcf.global.name{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="categoryName" name="categoryName" value="{$i18nPlainValues['categoryName']}" required="required" autofocus="autofocus" class="long">
+                               <input type="text" id="categoryName" name="categoryName" value="{$i18nPlainValues['categoryName']}" required autofocus class="long">
                                {if $errorField == 'categoryName'}
                                        <small class="innerError">
                                                {if $errorType == 'multilingual'}
index be2980da05057532d3f7ce6e63f8fd228b6dcf8c..fadc3fefe8d3f92a0762efaa5ff0dc2ede19b6f5 100644 (file)
@@ -26,7 +26,7 @@
                        <dl>
                                <dt></dt>
                                <dd>
-                                       <label><input type="checkbox" name="applyChangesToExistingUsers" value="1"{if $applyChangesToExistingUsers} checked="checked"{/if}> {lang}wcf.acp.user.option.setDefaults.applyChangesToExistingUsers{/lang}</label>
+                                       <label><input type="checkbox" name="applyChangesToExistingUsers" value="1"{if $applyChangesToExistingUsers} checked{/if}> {lang}wcf.acp.user.option.setDefaults.applyChangesToExistingUsers{/lang}</label>
                                        <small>{lang}wcf.acp.user.option.setDefaults.applyChangesToExistingUsers.description{/lang}</small>     
                                </dd>
                        </dl>
index c6ed4194e283e9aaa6c7759dd882c7655bde7e2b..9225de04d76c99b95696421b84fddfab0a1a588f 100644 (file)
@@ -33,7 +33,7 @@
                <dl{if $errorField == 'rankTitle'} class="formError"{/if}>
                        <dt><label for="rankTitle">{lang}wcf.acp.user.rank.title{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="rankTitle" name="rankTitle" value="{$i18nPlainValues['rankTitle']}" required="required" autofocus="autofocus" class="long">
+                               <input type="text" id="rankTitle" name="rankTitle" value="{$i18nPlainValues['rankTitle']}" required autofocus class="long">
                                {if $errorField == 'rankTitle'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}
@@ -55,9 +55,9 @@
                                <ul id="labelList">
                                        {foreach from=$availableCssClassNames item=className}
                                                {if $className == 'custom'}
-                                                       <li class="labelCustomClass"><input type="radio" name="cssClassName" value="custom"{if $cssClassName == 'custom'} checked="checked"{/if}> <span><input type="text" id="customCssClassName" name="customCssClassName" value="{$customCssClassName}" class="long"></span></li>
+                                                       <li class="labelCustomClass"><input type="radio" name="cssClassName" value="custom"{if $cssClassName == 'custom'} checked{/if}> <span><input type="text" id="customCssClassName" name="customCssClassName" value="{$customCssClassName}" class="long"></span></li>
                                                {else}
-                                                       <li><label><input type="radio" name="cssClassName" value="{$className}"{if $cssClassName == $className} checked="checked"{/if}> <span class="badge label{if $className != 'none'} {$className}{/if}">{lang}wcf.acp.user.rank.title{/lang}</span></label></li>
+                                                       <li><label><input type="radio" name="cssClassName" value="{$className}"{if $cssClassName == $className} checked{/if}> <span class="badge label{if $className != 'none'} {$className}{/if}">{lang}wcf.acp.user.rank.title{/lang}</span></label></li>
                                                {/if}
                                        {/foreach}
                                </ul>
                        <dd>
                                <select id="groupID" name="groupID">
                                        {foreach from=$availableGroups item=group}
-                                               <option value="{@$group->groupID}"{if $group->groupID == $groupID} selected="selected"{/if}>{$group->groupName|language}</option>
+                                               <option value="{@$group->groupID}"{if $group->groupID == $groupID} selected{/if}>{$group->groupName|language}</option>
                                        {/foreach}
                                </select>
                                {if $errorField == 'groupID'}
                        <dd>
                                <select id="requiredGender" name="requiredGender">
                                        <option value="0">{lang}wcf.global.noSelection{/lang}</option>
-                                       <option value="1"{if $requiredGender == 1} selected="selected"{/if}>{lang}wcf.user.gender.male{/lang}</option>
-                                       <option value="2"{if $requiredGender == 2} selected="selected"{/if}>{lang}wcf.user.gender.female{/lang}</option>
+                                       <option value="1"{if $requiredGender == 1} selected{/if}>{lang}wcf.user.gender.male{/lang}</option>
+                                       <option value="2"{if $requiredGender == 2} selected{/if}>{lang}wcf.user.gender.female{/lang}</option>
                                </select>
                                {if $errorField == 'requiredGender'}
                                        <small class="innerError">
index c93e6723930deb1d8461518223f445bacbef0c35..f61ed4399e1177e075021484a639d79dff0aa4f4 100644 (file)
                                <dt><label for="sortField">{lang}wcf.acp.user.search.display.sort{/lang}</label></dt>
                                <dd>
                                        <select id="sortField" name="sortField">
-                                               <option value="userID"{if $sortField == 'userID'} selected="selected"{/if}>{lang}wcf.user.userID{/lang}</option>
-                                               <option value="username"{if $sortField == 'username'} selected="selected"{/if}>{lang}wcf.user.username{/lang}</option>
-                                               <option value="email"{if $sortField == 'email'} selected="selected"{/if}>{lang}wcf.user.email{/lang}</option>
-                                               <option value="registrationDate"{if $sortField == 'registrationDate'} selected="selected"{/if}>{lang}wcf.user.registrationDate{/lang}</option>
+                                               <option value="userID"{if $sortField == 'userID'} selected{/if}>{lang}wcf.user.userID{/lang}</option>
+                                               <option value="username"{if $sortField == 'username'} selected{/if}>{lang}wcf.user.username{/lang}</option>
+                                               <option value="email"{if $sortField == 'email'} selected{/if}>{lang}wcf.user.email{/lang}</option>
+                                               <option value="registrationDate"{if $sortField == 'registrationDate'} selected{/if}>{lang}wcf.user.registrationDate{/lang}</option>
                                                
                                                {if $additionalSortFields|isset}{@$additionalSortFields}{/if}
                                        </select>
                                        
                                        <select id="sortOrder" name="sortOrder">
-                                               <option value="ASC"{if $sortOrder == 'ASC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
-                                               <option value="DESC"{if $sortOrder == 'DESC'} selected="selected"{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
+                                               <option value="ASC"{if $sortOrder == 'ASC'} selected{/if}>{lang}wcf.global.sortOrder.ascending{/lang}</option>
+                                               <option value="DESC"{if $sortOrder == 'DESC'} selected{/if}>{lang}wcf.global.sortOrder.descending{/lang}</option>
                                        </select>
                                </dd>
                        </dl>
@@ -92,7 +92,7 @@
                                        <dd>
                                                {foreach from=$columnOptions item=optionData}
                                                        {assign var='option' value=$optionData.object}
-                                                       <label><input type="checkbox" name="columns[]" value="{$option->optionName}"{if $option->optionName|in_array:$columns} checked="checked"{/if}> {lang}wcf.user.option.{$option->optionName}{/lang}</label>
+                                                       <label><input type="checkbox" name="columns[]" value="{$option->optionName}"{if $option->optionName|in_array:$columns} checked{/if}> {lang}wcf.user.option.{$option->optionName}{/lang}</label>
                                                {/foreach}
                                        </dd>
                                </dl>
                                <dt><label>{lang}wcf.acp.user.search.display.columns.other{/lang}</label></dt>
                                <dd>
                                        {if $__wcf->session->getPermission('admin.user.canEditMailAddress')}
-                                               <label><input type="checkbox" name="columns[]" value="email"{if "email"|in_array:$columns} checked="checked"{/if}> {lang}wcf.user.email{/lang}</label>
+                                               <label><input type="checkbox" name="columns[]" value="email"{if "email"|in_array:$columns} checked{/if}> {lang}wcf.user.email{/lang}</label>
                                        {/if}
-                                       <label><input type="checkbox" name="columns[]" value="registrationDate"{if "registrationDate"|in_array:$columns} checked="checked"{/if}> {lang}wcf.user.registrationDate{/lang}</label>
-                                       <label><input type="checkbox" name="columns[]" value="lastActivityTime"{if "lastActivityTime"|in_array:$columns} checked="checked"{/if}> {lang}wcf.user.lastActivityTime{/lang}</label>
-                                       <label><input type="checkbox" name="columns[]" value="profileHits"{if "profileHits"|in_array:$columns} checked="checked"{/if}> {lang}wcf.user.profileHits{/lang}</label>
-                                       <label><input type="checkbox" name="columns[]" value="activityPoints"{if "activityPoints"|in_array:$columns} checked="checked"{/if}> {lang}wcf.user.activityPoint{/lang}</label>
+                                       <label><input type="checkbox" name="columns[]" value="registrationDate"{if "registrationDate"|in_array:$columns} checked{/if}> {lang}wcf.user.registrationDate{/lang}</label>
+                                       <label><input type="checkbox" name="columns[]" value="lastActivityTime"{if "lastActivityTime"|in_array:$columns} checked{/if}> {lang}wcf.user.lastActivityTime{/lang}</label>
+                                       <label><input type="checkbox" name="columns[]" value="profileHits"{if "profileHits"|in_array:$columns} checked{/if}> {lang}wcf.user.profileHits{/lang}</label>
+                                       <label><input type="checkbox" name="columns[]" value="activityPoints"{if "activityPoints"|in_array:$columns} checked{/if}> {lang}wcf.user.activityPoint{/lang}</label>
                                        {if MODULE_LIKE}
-                                               <label><input type="checkbox" name="columns[]" value="likesReceived"{if "likesReceived"|in_array:$columns} checked="checked"{/if}> {lang}wcf.like.likesReceived{/lang}</label>
+                                               <label><input type="checkbox" name="columns[]" value="likesReceived"{if "likesReceived"|in_array:$columns} checked{/if}> {lang}wcf.like.likesReceived{/lang}</label>
                                        {/if}
                                        {event name='searchDisplayColumns'}
                                </dd>
index 3bd597c367847ca32602ba7250a96ec81722b658..07213a4af316cf945ba80167e54a21742101ac74 100644 (file)
@@ -23,7 +23,7 @@
                        {foreach from=$availableOptions item=availableOption}
                                <li class="sortableNode">
                                        <span class="sortableNodeLabel">
-                                               <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$availableOption}"{if $availableOption|in_array:$value} checked="checked"{/if}> {lang}wcf.user.option.{$availableOption}{/lang}</label>
+                                               <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$availableOption}"{if $availableOption|in_array:$value} checked{/if}> {lang}wcf.user.option.{$availableOption}{/lang}</label>
                                        </span>
                                </li>
                        {/foreach}
@@ -31,6 +31,6 @@
        </div>
 {else}
        {foreach from=$availableOptions item=availableOption}
-               <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$availableOption}"{if $availableOption|in_array:$value} checked="checked"{/if}> {lang}wcf.user.option.{$availableOption}{/lang}</label>
+               <label><input type="checkbox" name="values[{$option->optionName}][]" value="{$availableOption}"{if $availableOption|in_array:$value} checked{/if}> {lang}wcf.user.option.{$availableOption}{/lang}</label>
        {/foreach}
 {/if}
\ No newline at end of file
index c3772e026209ab17192c43d957d4b617b27870e7..eba29f3a59b5309746f3855051789ff366796853 100644 (file)
@@ -2168,15 +2168,15 @@ WCF.Message.Share.Content = Class.extend({
                        
                        // permalink (plain text)
                        var $fieldset = $('<section class="section"><h2 class="sectionTitle"><label for="__sharePermalink">' + WCF.Language.get('wcf.message.share.permalink') + '</label></h2></section>').appendTo(this._dialog);
-                       $('<input type="text" id="__sharePermalink" class="long" readonly="readonly" />').attr('value', $link).appendTo($fieldset);
+                       $('<input type="text" id="__sharePermalink" class="long" readonly />').attr('value', $link).appendTo($fieldset);
                        
                        // permalink (BBCode)
                        var $fieldset = $('<section class="section"><h2 class="sectionTitle"><label for="__sharePermalinkBBCode">' + WCF.Language.get('wcf.message.share.permalink.bbcode') + '</label></h2></section>').appendTo(this._dialog);
-                       $('<input type="text" id="__sharePermalinkBBCode" class="long" readonly="readonly" />').attr('value', '[url=\'' + $link + '\']' + $title + '[/url]').appendTo($fieldset);
+                       $('<input type="text" id="__sharePermalinkBBCode" class="long" readonly />').attr('value', '[url=\'' + $link + '\']' + $title + '[/url]').appendTo($fieldset);
                        
                        // permalink (HTML)
                        var $fieldset = $('<section class="section"><h2 class="sectionTitle"><label for="__sharePermalinkHTML">' + WCF.Language.get('wcf.message.share.permalink.html') + '</label></h2></section>').appendTo(this._dialog);
-                       $('<input type="text" id="__sharePermalinkHTML" class="long" readonly="readonly" />').attr('value', '<a href="' + $link + '">' + WCF.String.escapeHTML($title) + '</a>').appendTo($fieldset);
+                       $('<input type="text" id="__sharePermalinkHTML" class="long" readonly />').attr('value', '<a href="' + $link + '">' + WCF.String.escapeHTML($title) + '</a>').appendTo($fieldset);
                        
                        this._cache[$key] = this._dialog.html();
                        
index cd31ce3491d83e6bb5979dd419de4dbbf46cd5b2..ccf0ae4bdc4d9db82e29a64e026fc0be756f2982 100644 (file)
@@ -3127,7 +3127,7 @@ WCF.User.InlineEditor = WCF.InlineEditor.extend({
                
                // create dialog
                this._dialog = $('<div />').hide().appendTo(document.body);
-               this._dialog.append($('<div class="section"><dl><dt><label for="' + optionName + 'Reason">' + WCF.Language.get('wcf.global.reason') + '</label></dt><dd><textarea id="' + optionName + 'Reason" cols="40" rows="3" />' + (WCF.Language.get('wcf.user.' + optionName + '.reason.description') != 'wcf.user.' + optionName + '.reason.description' ? '<small>' + WCF.Language.get('wcf.user.' + optionName + '.reason.description') + '</small>' : '') + '</dd></dl><dl><dt></dt><dd><label for="' + optionName + 'NeverExpires"><input type="checkbox" name="' + optionName + 'NeverExpires" id="' + optionName + 'NeverExpires" checked="checked" /> ' + WCF.Language.get('wcf.user.' + optionName + '.neverExpires') + '</label></dd></dl><dl id="' + optionName + 'ExpiresSettings" style="display: none;"><dt><label for="' + optionName + 'Expires">' + WCF.Language.get('wcf.user.' + optionName + '.expires') + '</label></dt><dd><input type="date" name="' + optionName + 'Expires" id="' + optionName + 'Expires" class="medium" min="' + new Date(TIME_NOW * 1000).toISOString() + '" data-ignore-timezone="true" /><small>' + WCF.Language.get('wcf.user.' + optionName + '.expires.description') + '</small></dd></dl></div>'));
+               this._dialog.append($('<div class="section"><dl><dt><label for="' + optionName + 'Reason">' + WCF.Language.get('wcf.global.reason') + '</label></dt><dd><textarea id="' + optionName + 'Reason" cols="40" rows="3" />' + (WCF.Language.get('wcf.user.' + optionName + '.reason.description') != 'wcf.user.' + optionName + '.reason.description' ? '<small>' + WCF.Language.get('wcf.user.' + optionName + '.reason.description') + '</small>' : '') + '</dd></dl><dl><dt></dt><dd><label for="' + optionName + 'NeverExpires"><input type="checkbox" name="' + optionName + 'NeverExpires" id="' + optionName + 'NeverExpires" checked> ' + WCF.Language.get('wcf.user.' + optionName + '.neverExpires') + '</label></dd></dl><dl id="' + optionName + 'ExpiresSettings" style="display: none;"><dt><label for="' + optionName + 'Expires">' + WCF.Language.get('wcf.user.' + optionName + '.expires') + '</label></dt><dd><input type="date" name="' + optionName + 'Expires" id="' + optionName + 'Expires" class="medium" min="' + new Date(TIME_NOW * 1000).toISOString() + '" data-ignore-timezone="true" /><small>' + WCF.Language.get('wcf.user.' + optionName + '.expires.description') + '</small></dd></dl></div>'));
                this._dialog.append($('<div class="formSubmit"><button class="buttonPrimary" accesskey="s">' + WCF.Language.get('wcf.global.button.submit') + '</button></div>'));
                
                this._dialog.data('optionName', optionName).data('userID', userID);
index dd9fbf8f0d99988e6132f036e9466d4121da178a..cb7a36722f2c12679929790b5412a4fee19ef5c9 100644 (file)
@@ -54,7 +54,7 @@ abstract class AbstractCheckboxCondition extends AbstractSingleFieldCondition {
         * @inheritDoc
         */
        public function getFieldElement() {
-               return '<label><input type="checkbox" name="' . $this->fieldName . '" id="' . $this->fieldName . '"'.($this->fieldValue ? ' checked="checked"' : '').'> '.WCF::getLanguage()->get($this->label).'</label>';
+               return '<label><input type="checkbox" name="' . $this->fieldName . '" id="' . $this->fieldName . '"'.($this->fieldValue ? ' checked' : '').'> '.WCF::getLanguage()->get($this->label).'</label>';
        }
        
        /**
index de233f15c9d0cd8837bb8719752199ca9bc52ba7..397ac885a5c1f062d32d7771bdf46748531c1335 100644 (file)
@@ -34,10 +34,10 @@ abstract class AbstractMultiCategoryCondition extends AbstractMultiSelectConditi
                $categoryTree = (new $this->nodeTreeClassname($this->objectType))->getIterator();
                $categoryCount = iterator_count($categoryTree);
                
-               $fieldElement = '<select name="'.$this->fieldName.'[]" id="'.$this->fieldName.'" multiple="multiple" size="'.($categoryCount >= 10 ? 10 : $categoryCount).'">';
+               $fieldElement = '<select name="'.$this->fieldName.'[]" id="'.$this->fieldName.'" multiple size="'.($categoryCount >= 10 ? 10 : $categoryCount).'">';
                /** @var CategoryNode $categoryNode */
                foreach ($categoryTree as $categoryNode) {
-                       $fieldElement .= "<option value=\"{$categoryNode->categoryID}\"".(in_array($categoryNode->categoryID, $this->fieldValue) ? ' selected="selected"' : '').">".str_repeat("&nbsp;&nbsp;&nbsp;&nbsp;", $categoryNode->getOpenParentNodes()).$categoryNode->getTitle()."</option>";
+                       $fieldElement .= "<option value=\"{$categoryNode->categoryID}\"".(in_array($categoryNode->categoryID, $this->fieldValue) ? ' selected' : '').">".str_repeat("&nbsp;&nbsp;&nbsp;&nbsp;", $categoryNode->getOpenParentNodes()).$categoryNode->getTitle()."</option>";
                }
                $fieldElement .= '</select>';
                
index d4be98be447084a388170b0f9459c7e12c0e85b4..608f704e82f3203c4f7a4da977dc92b21efaadc4 100644 (file)
@@ -36,7 +36,7 @@ abstract class AbstractMultiSelectCondition extends AbstractSelectCondition {
        protected function getFieldElement() {
                $options = $this->getOptions();
                
-               $fieldElement = '<select name="'.$this->fieldName.'[]" id="'.$this->fieldName.'" multiple="multiple" size="'.(count($options, COUNT_RECURSIVE) > 10 ? 10 : count($options)).'">';
+               $fieldElement = '<select name="'.$this->fieldName.'[]" id="'.$this->fieldName.'" multiple size="'.(count($options, COUNT_RECURSIVE) > 10 ? 10 : count($options)).'">';
                foreach ($options as $key => $value) {
                        if (is_array($value)) {
                                $fieldElement .= $this->getOptGroupCode($key, $value);
@@ -54,7 +54,7 @@ abstract class AbstractMultiSelectCondition extends AbstractSelectCondition {
         * @inheritDoc
         */
        protected function getOptionCode($value, $label) {
-               return '<option value="'.$value.'"'.(in_array($value, $this->fieldValue) ? ' selected="selected"' : '').'>'.WCF::getLanguage()->get($label).'</option>';
+               return '<option value="'.$value.'"'.(in_array($value, $this->fieldValue) ? ' selected' : '').'>'.WCF::getLanguage()->get($label).'</option>';
        }
        
        /**
index c265d47764ff50f8435acd103a33a571ca52b327..d4adf31ef1146cb90941115ea48564b98f67dd74 100644 (file)
@@ -96,7 +96,7 @@ abstract class AbstractSelectCondition extends AbstractSingleFieldCondition {
         * @return      string
         */
        protected function getOptionCode($value, $label) {
-               return '<option value="'.$value.'"'.($this->fieldValue == $value ? ' selected="selected"' : '').'>'.WCF::getLanguage()->get($label).'</option>';
+               return '<option value="'.$value.'"'.($this->fieldValue == $value ? ' selected' : '').'>'.WCF::getLanguage()->get($label).'</option>';
        }
        
        /**
index e455a8c6c75849734d96fd4042c1040132ccbe19..0f7f6cc77067b6d02d4ac3591937f1f6200a8b17 100644 (file)
@@ -99,9 +99,9 @@ HTML;
         * @return      string
         */
        protected function getTimezoneFieldElement() {
-               $fieldElement = '<select name="timezone" id="timezone"><option value="0"'.($this->timezone ? ' selected="selected"' : '').'>'.WCF::getLanguage()->get('wcf.date.timezone.user').'</option>';
+               $fieldElement = '<select name="timezone" id="timezone"><option value="0"'.($this->timezone ? ' selected' : '').'>'.WCF::getLanguage()->get('wcf.date.timezone.user').'</option>';
                foreach (DateUtil::getAvailableTimezones() as $timezone) {
-                       $fieldElement .= '<option value="'.$timezone.'"'.($this->timezone === $timezone ? ' selected="selected"' : '').'>'.WCF::getLanguage()->get('wcf.date.timezone.'.str_replace('/', '.', strtolower($timezone))).'</option>';
+                       $fieldElement .= '<option value="'.$timezone.'"'.($this->timezone === $timezone ? ' selected' : '').'>'.WCF::getLanguage()->get('wcf.date.timezone.'.str_replace('/', '.', strtolower($timezone))).'</option>';
                }
                $fieldElement .= '</select>';
                
index 6dcfb4a46994e3851ec0a424e323aa41f15c69d0..15735a9c4e81300235e52c0f5d4b6d1d46a3869f 100644 (file)
@@ -37,7 +37,7 @@ class UserBirthdayCondition extends AbstractCondition implements IContentConditi
                $label = WCF::getLanguage()->get('wcf.user.birthdayToday');
                $checked = '';
                if ($this->birthdayToday) {
-                       $checked = ' checked="checked"';
+                       $checked = ' checked';
                }
                
                return <<<HTML
index d6681a2ce69b051cbc2153c22df0949e6105f741..8f11a7509abe0e26774af4b217262f330a778821 100644 (file)
@@ -143,7 +143,7 @@ HTML;
                $returnValue = "";
                foreach ($userGroups as $userGroup) {
                        /** @noinspection PhpVariableVariableInspection */
-                       $returnValue .= "<label><input type=\"checkbox\" name=\"".$identifier."[]\" value=\"".$userGroup->groupID."\"".(in_array($userGroup->groupID, $this->$identifier) ? ' checked="checked"' : "")."> ".$userGroup->getName()."</label>";
+                       $returnValue .= "<label><input type=\"checkbox\" name=\"".$identifier."[]\" value=\"".$userGroup->groupID."\"".(in_array($userGroup->groupID, $this->$identifier) ? ' checked' : "")."> ".$userGroup->getName()."</label>";
                }
                
                return $returnValue;
index 302c2c0083430092527c17ada5275456159e6938..ae5e7bdc4ef9ade83034a9cbfd0f44b24adb0592 100644 (file)
@@ -72,7 +72,7 @@ class UserLanguageCondition extends AbstractSingleFieldCondition implements ICon
        protected function getFieldElement() {
                $returnValue = "";
                foreach (LanguageFactory::getInstance()->getLanguages() as $language) {
-                       $returnValue .= "<label><input type=\"checkbox\" name=\"languageIDs[]\" value=\"".$language->languageID."\"".(in_array($language->languageID, $this->languageIDs) ? ' checked="checked"' : "")."> ".$language->languageName."</label>";
+                       $returnValue .= "<label><input type=\"checkbox\" name=\"languageIDs[]\" value=\"".$language->languageID."\"".(in_array($language->languageID, $this->languageIDs) ? ' checked' : "")."> ".$language->languageName."</label>";
                }
                
                return $returnValue;
index 50dfd26fb9de4adcf92c52ee7a270490f86b2a06..3f419daf2acefd4f0d83f44e5c6f45b746433f69 100644 (file)
@@ -54,12 +54,12 @@ class UserMobileBrowserCondition extends AbstractSingleFieldCondition implements
                $usesNoMobileBrowserLabel = WCF::getLanguage()->get('wcf.user.condition.mobileBrowser.usesNoMobileBrowser');
                $usesMobileBrowserChecked = '';
                if ($this->usesMobileBrowser) {
-                       $usesMobileBrowserChecked = ' checked="checked"';
+                       $usesMobileBrowserChecked = ' checked';
                }
                
                $usesNoMobileBrowserChecked = '';
                if ($this->usesNoMobileBrowser) {
-                       $usesNoMobileBrowserChecked = ' checked="checked"';
+                       $usesNoMobileBrowserChecked = ' checked';
                }
                
                return <<<HTML
index 728ba61b676fb618bb7a33d2b3241e10b5e4928d..b812caa99f0cd186c428f1ce762676ac573032cc 100644 (file)
@@ -124,7 +124,7 @@ class UserStateCondition extends AbstractSingleFieldCondition implements IConten
        protected function getCheckedAttribute($propertyName) {
                /** @noinspection PhpVariableVariableInspection */
                if ($this->$propertyName) {
-                       return ' checked="checked"';
+                       return ' checked';
                }
                
                return '';
index ce7ff6b97efe72a18f8da17957d6151957951bf3..7a9e35a19a92be49e861089d4e6c46136e9b34c6 100644 (file)
@@ -45,7 +45,7 @@ class MultiPageCondition extends AbstractMultiSelectCondition implements IConten
                        }
                        $fieldElement .= '><label><input type="checkbox" name="'.$this->fieldName.'[]" value="'.$pageNode->pageID.'"';
                        if (in_array($pageNode->pageID, $this->fieldValue)) {
-                               $fieldElement .= ' checked="checked"';
+                               $fieldElement .= ' checked';
                        }
                        $fieldElement .= '> '.$pageNode->name.'</label></li>';
                }
index 017d42707c414e02873be2c8934dff28aa14da0f..aedd38270bf8680228aca282c73c57bf61b0a519 100644 (file)
@@ -55,7 +55,7 @@ class MultipleSelectionFormElement extends AbstractNamedFormElement {
        public function getHTML($formName) {
                $disabled = '';
                if ($this->disabledMessage) {
-                       $disabled = ' disabled="disabled"';
+                       $disabled = ' disabled';
                }
                
                return <<<HTML
index e288783831a7fd246774ace9f653d9642a807f00..487c01872fc70260dfbdfd42f8eb54d4cd64bf33 100644 (file)
@@ -29,7 +29,7 @@ class UserGroupsUserGroupOptionType extends AbstractOptionType implements IUserG
                // generate html
                $html = '';
                foreach ($groups as $group) {
-                       $html .= '<label><input type="checkbox" name="values['.StringUtil::encodeHTML($option->optionName).'][]" value="'.$group->groupID.'" '.(in_array($group->groupID, $selectedGroups) ? 'checked="checked" ' : '').'/> '.$group->getName().'</label>';
+                       $html .= '<label><input type="checkbox" name="values['.StringUtil::encodeHTML($option->optionName).'][]" value="'.$group->groupID.'"'.(in_array($group->groupID, $selectedGroups) ? ' checked' : '').'> '.$group->getName().'</label>';
                }
                
                return $html;
index 060fced2ffcfc09ada9222814dac4b4eb9017ec4..b60797421a453c155fe8c819e927d4853e5d6db7 100644 (file)
@@ -69,7 +69,7 @@ class HtmlCheckboxesFunctionTemplatePlugin implements IFunctionTemplatePlugin {
                $html = '';
                foreach ($tagArgs['options'] as $key => $value) {
                        if (!empty($html)) $html .= $tagArgs['separator'];
-                       $html .= '<label><input type="checkbox" name="'.$this->encodeHTML($tagArgs['name']).'[]" value="'.$this->encodeHTML($key).'"'.(in_array($key, $tagArgs['selected']) ? ' checked="checked"' : '').'> '.$this->encodeHTML($value).'</label>';
+                       $html .= '<label><input type="checkbox" name="'.$this->encodeHTML($tagArgs['name']).'[]" value="'.$this->encodeHTML($key).'"'.(in_array($key, $tagArgs['selected']) ? ' checked' : '').'> '.$this->encodeHTML($value).'</label>';
                }
                
                return $html;
index 617b6b6aabf78c257e1167855ed2093e85349298..d5c88bac5b96f968f048b4ca83039b98f4e6a5b9 100644 (file)
@@ -137,6 +137,6 @@ class HtmlOptionsFunctionTemplatePlugin extends HtmlCheckboxesFunctionTemplatePl
         */
        protected function makeOption($key, $value) {
                $value = $this->encodeHTML($value);
-               return '<option label="'.$value.'" value="'.$this->encodeHTML($key).'"'.(in_array($key, $this->selected) ? ' selected="selected"' : '').'>'.$value."</option>\n";
+               return '<option label="'.$value.'" value="'.$this->encodeHTML($key).'"'.(in_array($key, $this->selected) ? ' selected' : '').'>'.$value."</option>\n";
        }
 }
index a413703a2fb3b420d6aec3d89e3660d370143bd8..6f2c1f71a996960211db021b46a64d943ad53749 100644 (file)
        
                <dl>
                        <dt><label for="dbHost">{lang}wcf.global.configureDB.host{/lang}</label></dt>
-                       <dd><input type="text" id="dbHost" name="dbHost" value="{$dbHost}" required="required" class="long"></dd>
+                       <dd><input type="text" id="dbHost" name="dbHost" value="{$dbHost}" required class="long"></dd>
                </dl>
                
                <dl>
                        <dt><label for="dbUser">{lang}wcf.global.configureDB.user{/lang}</label></dt>
-                       <dd><input type="text" id="dbUser" name="dbUser" value="{$dbUser}" required="required" class="medium"></dd>
+                       <dd><input type="text" id="dbUser" name="dbUser" value="{$dbUser}" required class="medium"></dd>
                </dl>
                
                <dl>
@@ -33,7 +33,7 @@
                <dl>
                        <dt><label for="dbName">{lang}wcf.global.configureDB.database{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="dbName" name="dbName" value="{$dbName}" required="required" class="medium">
+                               <input type="text" id="dbName" name="dbName" value="{$dbName}" required class="medium">
                                <small>{lang}wcf.global.configureDB.database.description{/lang}</small>
                        </dd>
                </dl>
@@ -41,7 +41,7 @@
                <dl>
                        <dt><label for="dbNumber">{lang}wcf.global.configureDB.number{/lang}</label></dt>
                        <dd>
-                               <input type="number" id="dbNumber" name="dbNumber" value="{$dbNumber}" required="required" min="1" class="short">
+                               <input type="number" id="dbNumber" name="dbNumber" value="{$dbNumber}" required min="1" class="short">
                                <small>{lang}wcf.global.configureDB.number.description{/lang}</small>
                        </dd>
                </dl>
index b575658d60dfbb1581600764b7d97fe53847ffc7..5a7e8a789cc979c97d2f12444e093bafec31ca84 100644 (file)
@@ -14,7 +14,7 @@
                <dl{if $errorField == 'username'} class="formError"{/if}>
                        <dt><label for="username">{lang}wcf.global.createUser.username{/lang}</label></dt>
                        <dd>
-                               <input type="text" id="username" name="username" value="{$username}" required="required" class="medium">
+                               <input type="text" id="username" name="username" value="{$username}" required class="medium">
                                {if $errorField == 'username'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}{lang}wcf.global.createUser.error.empty{/lang}{/if}
@@ -27,7 +27,7 @@
                <dl{if $errorField == 'email'} class="formError"{/if}>
                        <dt><label for="email">{lang}wcf.global.createUser.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}" required class="medium">
                                {if $errorField == 'email'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}{lang}wcf.global.createUser.error.empty{/lang}{/if}
@@ -40,7 +40,7 @@
                <dl{if $errorField == 'confirmEmail'} class="formError"{/if}>
                        <dt><label for="confirmEmail">{lang}wcf.global.createUser.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}" required class="medium">
                                {if $errorField == 'confirmEmail'}
                                        <small class="innerError">
                                                {if $errorType == 'notEqual'}{lang}wcf.global.createUser.error.confirmEmail.notEqual{/lang}{/if}
@@ -52,7 +52,7 @@
                <dl{if $errorField == 'password'} class="formError"{/if}>
                        <dt><label for="password">{lang}wcf.global.createUser.password{/lang}</label></dt>
                        <dd>
-                               <input type="password" id="password" name="password" value="{$password}" required="required" class="medium">
+                               <input type="password" id="password" name="password" value="{$password}" required class="medium">
                                {if $errorField == 'password'}
                                        <small class="innerError">
                                                {if $errorType == 'empty'}{lang}wcf.global.createUser.error.empty{/lang}{/if}
@@ -64,7 +64,7 @@
                <dl{if $errorField == 'confirmPassword'} class="formError"{/if}>
                        <dt><label for="confirmPassword">{lang}wcf.global.createUser.confirmPassword{/lang}</label></dt>
                        <dd>
-                               <input type="password" id="confirmPassword" name="confirmPassword" value="{$confirmPassword}" required="required" class="medium">
+                               <input type="password" id="confirmPassword" name="confirmPassword" value="{$confirmPassword}" required class="medium">
                                {if $errorField == 'confirmPassword'}
                                        <small class="innerError">
                                                {if $errorType == 'notEqual'}{lang}wcf.global.createUser.error.confirmPassword.notEqual{/lang}{/if}
index bd66fdb9eb0c8a7c7ead1dcc4d77593ae5bb48cd..290f6e4ac89c020c8c0d4e157a789357a5824b28 100644 (file)
@@ -15,7 +15,7 @@
                        <dt>{lang}wcf.global.languages.languages{/lang}</dt>
                        <dd>
                                {foreach from=$availableLanguages key=availableLanguageCode item=languageName}
-                                       <label><input type="checkbox" name="selectedLanguages[]" value="{@$availableLanguageCode}"{if $availableLanguageCode|in_array:$selectedLanguages} checked="checked"{/if}> {$languageName} ({$availableLanguageCode})</label>
+                                       <label><input type="checkbox" name="selectedLanguages[]" value="{@$availableLanguageCode}"{if $availableLanguageCode|in_array:$selectedLanguages} checked{/if}> {$languageName} ({$availableLanguageCode})</label>
                                {/foreach}
                        </dd>
                </dl>
index 57b41d3460e0fbe0513d3ae2d85094a136175724..3293608a737050553fcbcacd55ac821639609a07 100644 (file)
@@ -12,7 +12,7 @@
                        <dd>
                                {capture assign=languageChooser}<select name="languageCode" id="languageCode">
                                        {foreach from=$availableLanguages key=availableLanguageCode item=languageName}
-                                               <option value="{$availableLanguageCode}"{if $availableLanguageCode == $languageCode} selected="selected"{/if}>{$languageName} ({$availableLanguageCode})</option>
+                                               <option value="{$availableLanguageCode}"{if $availableLanguageCode == $languageCode} selected{/if}>{$languageName} ({$availableLanguageCode})</option>
                                        {/foreach}
                                        </select>{/capture}
                                <label for="languageCode">{lang}wcf.global.welcome.language.description{/lang}</label>
index 7485ff93301b7a701c369d8b59f254462b8f9723..b542284a431a1c420da73991206cc37c77e8189b 100644 (file)
@@ -10,7 +10,7 @@
                <dl{if $missingAcception|isset} class="formError"{/if}>
                        <dt></dt>
                        <dd>
-                               <textarea rows="20" cols="40" readonly="readonly" autofocus="autofocus" id="license">{$license}</textarea>
+                               <textarea rows="20" cols="40" readonly autofocus id="license">{$license}</textarea>
                                <label><input type="checkbox" name="accepted" value="1"> {lang}wcf.global.license.accept.description{/lang}</label>
                                {if $missingAcception|isset}
                                        <small class="innerError">
index 9a19e3e934df980a0427ee744a086f9a66860e96..de9f167fa3d916349596ba40fb08b8c927a4ddfa 100644 (file)
        </section>
 
        <div class="formSubmit">
-               <input type="submit" value="{lang}wcf.global.button.next{/lang}"{if !$system.phpVersion.result || !$system.sql.result || !$system.memoryLimit.result || !$system.gdLib.result} disabled="disabled"{/if} accesskey="s">
+               <input type="submit" value="{lang}wcf.global.button.next{/lang}"{if !$system.phpVersion.result || !$system.sql.result || !$system.memoryLimit.result || !$system.gdLib.result} disabled{/if} accesskey="s">
                <input type="hidden" name="step" value="{@$nextStep}">
                <input type="hidden" name="tmpFilePrefix" value="{@$tmpFilePrefix}">
                <input type="hidden" name="languageCode" value="{@$languageCode}">