<form enctype="multipart/form-data" method="post" action="{link controller='LanguageAdd'}{/link}">
<div class="container containerPadding marginTop shadow">
- <dl>
- <dt><label for="import">{lang}wcf.acp.language.add.mode{/lang}</label></dt>
- <dd>
- <fieldset>
- <dl>
- <dd>
- <label><input type="radio" name="mode" value="import" id="import" {if $mode == 'import'}checked="checked" {/if}/> {lang}wcf.acp.language.add.mode.import{/lang}</label>
- </dd>
- <dd>
- <label><input type="radio" name="mode" value="copy" id="copy" {if $mode == 'copy'}checked="checked" {/if}/> {lang}wcf.acp.language.add.mode.copy{/lang}</label>
- </dd>
- </fieldset>
- </dd>
- </dl>
+ <fieldset>
+ <legend>{lang}wcf.acp.language.add.mode{/lang}</legend>
+
+ <dl>
+ <dd class="floated">
+ <label><input type="radio" name="mode" value="import" id="import" {if $mode == 'import'}checked="checked" {/if}/> {lang}wcf.acp.language.add.mode.import{/lang}</label>
+ <label><input type="radio" name="mode" value="copy" id="copy" {if $mode == 'copy'}checked="checked" {/if}/> {lang}wcf.acp.language.add.mode.copy{/lang}</label>
+ </dd>
+ </dl>
+ </fieldset>
<fieldset id="importDiv">
<legend>{lang}wcf.acp.language.import.source{/lang}</legend>
{include file='header'}
-<header class="wcf-container wcf-mainHeading">
- <img src="{@RELATIVE_WCF_DIR}icon/download1.svg" alt="" class="wcf-containerIcon" />
- <hgroup class="wcf-containerContent">
+<header class="boxHeadline">
+ <hgroup>
<h1>{lang}wcf.acp.language.export{/lang}</h1>
</hgroup>
</header>
{if $errorField}
- <p class="wcf-error">{lang}wcf.global.form.error{/lang}</p>
+ <p class="error">{lang}wcf.global.form.error{/lang}</p>
{/if}
{if $success|isset}
- <p class="wcf-success">{lang}wcf.acp.language.add.success{/lang}</p>
+ <p class="success">{lang}wcf.acp.language.add.success{/lang}</p>
{/if}
-<div class="wcf-contentHeader">
+<div class="contentNavigation">
<nav>
- <ul class="wcf-largeButtons">
- <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
+ <ul>
+ <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
</ul>
</nav>
</div>
<form enctype="multipart/form-data" method="post" action="{link controller='LanguageExport' id=$languageID}{/link}">
- <div class="wcf-box wcf-marginTop wcf-boxPadding wcf-shadow1">
- <dl>
- <dt><label for="languageID">{lang}wcf.user.language{/lang}</label></dt>
- <dd>
- {htmlOptions options=$languages selected=$languageID name='languageID' id='languageID'}
- </dd>
- </dl>
+ <div class="container containerPadding marginTop shadow">
+ <fieldset>
+ <legend>{lang}wcf.acp.language.export{/lang}</legend>
- <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">
- <option value="*"{if $selectAllPackages} selected="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}>{$package->packageName} {section name=i loop=$loop} {/section} {$package->package}</option>
- {/foreach}
- </select>
- </dd>
- </dl>
-
- <dl>
- <dd>
- <label for="exportCustomValues"><input type="checkbox" name="exportCustomValues" id="exportCustomValues" value="1" /> {lang}wcf.acp.language.export.customValues{/lang}</label>
- </dd>
- </dl>
+ <dl>
+ <dt><label for="languageID">{lang}wcf.user.language{/lang}</label></dt>
+ <dd>
+ {htmlOptions options=$languages selected=$languageID name='languageID' id='languageID'}
+ </dd>
+ </dl>
+
+ <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">
+ <option value="*"{if $selectAllPackages} selected="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}>{$package->packageName} {section name=i loop=$loop} {/section} {$package->package}</option>
+ {/foreach}
+ </select>
+ </dd>
+ </dl>
+
+ <dl>
+ <dd>
+ <label for="exportCustomValues"><input type="checkbox" name="exportCustomValues" id="exportCustomValues" value="1" /> {lang}wcf.acp.language.export.customValues{/lang}</label>
+ </dd>
+ </dl>
+ </fieldset>
</div>
- <div class="wcf-formSubmit">
+ <div class="formSubmit">
<input type="submit" accesskey="s" value="{lang}wcf.global.button.submit{/lang}" />
- <input type="reset" accesskey="r" value="{lang}wcf.global.button.reset{/lang}" />
{@SID_INPUT_TAG}
</div>
</form>
<form enctype="multipart/form-data" method="post" action="{link controller='LanguageMultilingualism'}{/link}">
<div class="container containerPadding marginTop shadow">
- <dl>
- <dt><input type="checkbox" id="enable" onclick="if (this.checked) $('#languageIDs').show(); else $('#languageIDs').hide();" name="enable" value="1" {if $enable == 1}checked="checked" {/if}/></dt>
- <dd>
- <label for="enable">{lang}wcf.acp.language.multilingualism.enable{/lang}</label>
- <small>{lang}wcf.acp.language.multilingualism.enable.description{/lang}</small>
- </dd>
- </dl>
+ <fieldset>
+ <legend><label><input type="checkbox" id="enable" onclick="if (this.checked) $('#languageIDs').show(); else $('#languageIDs').hide();" name="enable" value="1" {if $enable == 1}checked="checked" {/if}/> {lang}wcf.acp.language.multilingualism.enable{/lang}</label></legend>
+ <small>{lang}wcf.acp.language.multilingualism.enable.description{/lang}</small>
- <dl{if $errorField == 'languageFile'} class="formError"{/if} id="languageIDs">
- <dt><label for="languageIDs">{lang}wcf.acp.language.multilingualism.languages{/lang}</label></dt>
- <dd>
- <fieldset>
- <legend>{lang}wcf.acp.language.multilingualism.languages{/lang}</legend>
+ <dl{if $errorField == 'languageFile'} class="formError"{/if} id="languageIDs">
+ <dt><label for="languageIDs">{lang}wcf.acp.language.multilingualism.languages{/lang}</label></dt>
+ <dd class="floated">
+ {htmlCheckboxes options=$languages name=languageIDs selected=$languageIDs disableEncoding=true}
- <dd>
- {htmlCheckboxes options=$languages name=languageIDs selected=$languageIDs disableEncoding=true}
- </dd>
- </fieldset>
-
- {if $errorField == 'languageIDs'}
- <small class="innerError">
- {if $errorType == 'empty'}{lang}wcf.acp.language.multilingualism.languages.error.empty{/lang}{/if}
- </small>
- {/if}
- </dd>
- </dl>
+ {if $errorField == 'languageIDs'}
+ <small class="innerError">
+ {if $errorType == 'empty'}{lang}wcf.acp.language.multilingualism.languages.error.empty{/lang}{/if}
+ </small>
+ {/if}
+ </dd>
+ </dl>
+
+ {event name='additionalFields'}
+ </fieldset>
+
- {event name='additionalFields'}
</div>
<div class="formSubmit">