<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>
<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}
<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}
<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>
{/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: *}
<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'}&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}
<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>
{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()} {/section}{$category->getTitle()}</option>
+ <option value="{$category->categoryID}"{if $categoryID|isset && $categoryID == $category->categoryID} selected{/if}>{section name=i loop=$categoryNodeList->getDepth()} {/section}{$category->getTitle()}</option>
{/if}
{/foreach}
{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}
-<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">
<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'}
<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>
<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>
<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}
<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}
<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'}
<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'}
{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>
<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'}
<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'}
<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'}
<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>
<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>
<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">
<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>
-<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>
-<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>
<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}
<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'}
<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}
<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>
<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>
{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}
-<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">
<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}
<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}
<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>
<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}
<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}
<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'}
<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'}
<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'}
{/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>
<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'}
<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>
<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>
<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>
-<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>
<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>
<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>
<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>
-<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}>
-<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[
-<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[
<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>
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() {
<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'}
<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}
<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}{@" "|str_repeat:($category->getDepth() - 1)}{/if}{$category->getTitle()}</option>
+ <option value="{@$category->categoryID}"{if $category->categoryID == $categoryID} selected{/if}>{if $category->getDepth() > 1}{@" "|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>
<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}{@" "|str_repeat:($category->getDepth() - 1)}{/if}{$category->getTitle()}</option>
+ <option value="{@$category->categoryID}"{if $category->categoryID == $categoryID} selected{/if}>{if $category->getDepth() > 1}{@" "|str_repeat:($category->getDepth() - 1)}{/if}{$category->getTitle()}</option>
{/foreach}
</select>
</dd>
{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
<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>
<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'}
<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'}
<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'}
<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>
<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 == '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}{@" "|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
+ <option value="{@$pageNode->pageID}"{if $pageNode->pageID == $linkPageID} selected{/if}>{if $pageNode->getDepth() > 1}{@" "|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>
<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'}
<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>
<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>
<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'}
<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'}
<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>
<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>
-<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}> {$subCategoryItem->getTitle()}</option>
+ <option value="{@$subCategoryItem->categoryID}"{if $subCategoryItem->categoryID|in_array:$value} selected{/if}> {$subCategoryItem->getTitle()}</option>
{/foreach}
{/if}
{/foreach}
{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()} {/section}{$category->getTitle()}</option>
+ <option value="{$category->categoryID}"{if $categoryID|isset && $categoryID == $category->categoryID} selected{/if}>{section name=i loop=$categoryNodeList->getDepth()} {/section}{$category->getTitle()}</option>
{/if}
{/foreach}
{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}
-<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">
<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'}
<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>
<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}
<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>
<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'}
<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'}
<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>
<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'}
<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>
<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>
<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'}
<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'}
<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'}
<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'}
<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} {/section} {$package->package}</option>
+ <option value="{@$package->packageID}"{if $selectedPackages[$package->packageID]|isset} selected{/if}>{lang}{$package->packageName}{/lang} {section name=i loop=$loop} {/section} {$package->package}</option>
{/foreach}
</select>
</dd>
<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'}
<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>
<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}
<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>
<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>
<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>
<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>
<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'}
<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}
<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>
<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'}
<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}{@" "|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}{@" "|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
{/foreach}
</select>
</dd>
<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}{@" "|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}{@" "|str_repeat:($menuItemNode->getDepth() - 1)}{/if}{lang}{$menuItemNode->title}{/lang}</option>
{/foreach}
</select>
{if $errorField == 'parentItemID'}
<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'}
<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}{@" "|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
+ <option value="{@$pageNode->pageID}"{if $pageNode->pageID == $pageID} selected{/if}>{if $pageNode->getDepth() > 1}{@" "|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}
-<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>
-<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>
<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'}
<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>
<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}
<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}
<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>
<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'}
<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}{@" "|str_repeat:($pageNode->getDepth() - 1)}{/if}{$pageNode->name}</option>
+ <option value="{@$pageNode->pageID}"{if $pageNode->pageID == $parentPageID} selected{/if}>{if $pageNode->getDepth() > 1}{@" "|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>
</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>
<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>
<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>
<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'}
<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>
<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">
<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>
<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'}
{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}
{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}
-<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">
<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
-<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>
<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>
<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">
<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>
<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">
<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>
<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>
<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>
<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>
<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>
<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>
<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
<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>
<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>
<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'}
<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}>{@' '|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}>{@' '|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>
<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'}
<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'}
<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>
-<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[
-<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[
<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}
<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'}&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">
<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>
<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}
<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>
<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}
<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>
<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'}
<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>
<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'}
<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>
<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'}
<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">
<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>
<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>
{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}
</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
// 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();
// 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);
* @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>';
}
/**
$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(" ", $categoryNode->getOpenParentNodes()).$categoryNode->getTitle()."</option>";
+ $fieldElement .= "<option value=\"{$categoryNode->categoryID}\"".(in_array($categoryNode->categoryID, $this->fieldValue) ? ' selected' : '').">".str_repeat(" ", $categoryNode->getOpenParentNodes()).$categoryNode->getTitle()."</option>";
}
$fieldElement .= '</select>';
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);
* @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>';
}
/**
* @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>';
}
/**
* @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>';
$label = WCF::getLanguage()->get('wcf.user.birthdayToday');
$checked = '';
if ($this->birthdayToday) {
- $checked = ' checked="checked"';
+ $checked = ' checked';
}
return <<<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;
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;
$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
protected function getCheckedAttribute($propertyName) {
/** @noinspection PhpVariableVariableInspection */
if ($this->$propertyName) {
- return ' checked="checked"';
+ return ' checked';
}
return '';
}
$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>';
}
public function getHTML($formName) {
$disabled = '';
if ($this->disabledMessage) {
- $disabled = ' disabled="disabled"';
+ $disabled = ' disabled';
}
return <<<HTML
// 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;
$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;
*/
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";
}
}
<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>
<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>
<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>
<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}
<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}
<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}
<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}
<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}
<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>
<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>
<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">
</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}">