//]]>
</script>
-<header class="mainHeading">
+<header class="wcf-mainHeading">
<img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" />
<hgroup>
<h1>{lang}wcf.acp.language.add{/lang}</h1>
</header>
{if $errorField}
- <p class="error">{lang}wcf.global.form.error{/lang}</p>
+ <p class="wcf-error">{lang}wcf.global.form.error{/lang}</p>
{/if}
{if $success|isset}
- <p class="success">{lang}wcf.global.form.add.success{/lang}</p>
+ <p class="wcf-success">{lang}wcf.global.form.add.success{/lang}</p>
{/if}
-<div class="contentHeader">
+<div class="wcf-contentHeader">
<nav>
- <ul class="largeButtons">
- <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="" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
+ <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>
</nav>
</div>
<form enctype="multipart/form-data" method="post" action="{link controller='LanguageAdd'}{/link}">
- <div class="border content">
+ <div class="wcf-border wcf-content">
<dl>
<dt><label for="import">{lang}wcf.acp.language.add.mode{/lang}</label></dt>
<dd>
<fieldset id="importDiv">
<legend>{lang}wcf.acp.language.import.source{/lang}</legend>
- <dl{if $errorField == 'languageFile'} class="formError"{/if}>
+ <dl{if $errorField == 'languageFile'} class="wcf-formError"{/if}>
<dt><label for="languageFile">{lang}wcf.acp.language.import.source.file{/lang}</label></dt>
<dd>
- <input type="text" name="languageFile" id="languageFile" value="{$languageFile}" class="long" />
+ <input type="text" id="languageFile" name="languageFile" value="{$languageFile}" class="long" />
{if $errorField == 'languageFile'}
- <small class="innerError">
+ <small class="wcf-innerError">
{if $errorType == 'empty'}
{lang}wcf.global.error.empty{/lang}
{else}
</dd>
</dl>
- <dl{if $errorField == 'languageUpload'} class="formError"{/if}>
+ <dl{if $errorField == 'languageUpload'} class="wcf-formError"{/if}>
<dt><label for="languageUpload">{lang}wcf.acp.language.import.source.upload{/lang}</label></dt>
<dd>
- <input type="file" name="languageUpload" id="languageUpload" />
+ <input type="file" id="languageUpload" name="languageUpload" />
{if $errorField == 'languageUpload'}
- <small class="innerError">
+ <small class="wcf-innerError">
{lang}wcf.acp.language.import.error{/lang} {$errorType}
</small>
{/if}
<fieldset id="copyDiv">
<legend>{lang}wcf.acp.language.add.new{/lang}</legend>
- <dl{if $errorField == 'languageCode'} class="formError"{/if}>
+ <dl{if $errorField == 'languageCode'} class="wcf-formError"{/if}>
<dt><label for="languageCode">{lang}wcf.acp.language.code{/lang}</label></dt>
<dd>
- <input type="text" name="languageCode" id="languageCode" value="{$languageCode}" class="long" />
+ <input type="text" id="languageCode" name="languageCode" value="{$languageCode}" class="long" />
{if $errorField == 'languageCode'}
- <small class="innerError">
+ <small class="wcf-innerError">
{if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
{if $errorType == 'notUnique'}{lang}wcf.acp.language.add.languageCode.error.notUnique{/lang}{/if}
</small>
</dd>
</dl>
- <dl{if $errorField == 'sourceLanguageID'} class="formError"{/if}>
+ <dl{if $errorField == 'sourceLanguageID'} class="wcf-formError"{/if}>
<dt><label for="sourceLanguageID">{lang}wcf.acp.language.add.source{/lang}</label></dt>
<dd>
- <select name="sourceLanguageID" id="sourceLanguageID">
+ <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>
{/foreach}
</select>
{if $errorField == 'sourceLanguageID'}
- <small class="innerError">
+ <small class="wcf-innerError">
{if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
</small>
{/if}
{if $additionalFields|isset}{@$additionalFields}{/if}
</div>
- <div class="formSubmit">
+ <div class="wcf-formSubmit">
<input type="reset" value="{lang}wcf.global.button.reset{/lang}" accesskey="r" />
<input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
{@SID_INPUT_TAG}
</script>
{/if}
-<div class="mainHeadline">
+<div class="wcf-mainHeading">
<img src="{@RELATIVE_WCF_DIR}icon/languageEditL.png" alt="" />
- <div class="headlineContainer">
+ <div>
<h2>{lang}wcf.acp.language.edit{/lang}</h2>
</div>
</div>
{if $errorField}
- <p class="error">{lang}wcf.global.form.error{/lang}</p>
+ <p class="wcf-error">{lang}wcf.global.form.error{/lang}</p>
{/if}
{if $success|isset}
- <p class="success">{lang}wcf.acp.language.edit.success{/lang}</p>
+ <p class="wcf-success">{lang}wcf.acp.language.edit.success{/lang}</p>
{/if}
-<div class="contentHeader">
- <div class="largeButtons">
- <ul><li><a href="index.php?page=LanguageList{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/languageM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" /> <span>{lang}wcf.acp.menu.link.language.view{/lang}</span></a></li>
- <li><a href="index.php?form=LanguageSearch{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/searchM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" /> <span>{lang}wcf.acp.menu.link.language.search{/lang}</span></a></li></ul>
+<div class="wcf-contentHeader">
+ <div class="wcf-largeButtons">
+ <ul>
+ <li><a href="index.php?page=LanguageList{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/languageM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" class="wcf-button" /> <span>{lang}wcf.acp.menu.link.language.view{/lang}</span></a></li>
+ <li><a href="index.php?form=LanguageSearch{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/searchM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" class="wcf-button" /> <span>{lang}wcf.acp.menu.link.language.search{/lang}</span></a></li>
+ </ul>
</div>
</div>
+
<form method="get" action="index.php">
- <div class="border content">
- <div class="container-1">
+ <div class="wcf-border wcf-content">
+ <div>
<div class="formElement">
<p class="formField">
<span>{lang}wcf.global.language.{@$language->languageCode}{/lang} ({@$language->languageCode})</span>
</p>
</div>
- <div class="formElement{if $errorField == 'languageCategoryID'} formError{/if}">
- <div class="formFieldLabel">
+ <div class="formElement{if $errorField == 'languageCategoryID'} wcf-formError{/if}">
+ <div class="formFieldLabel"><!-- Todo: Def. List! -->
<label for="languageCategoryID">{lang}wcf.acp.language.category{/lang}</label>
</div>
<div class="formField">
{htmlOptions options=$languageCategories selected=$languageCategoryID}
</select>
{if $errorField == 'languageCategoryID'}
- <p class="innerError">
+ <p class="wcf-innerError">
{if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
</p>
{/if}
</div>
</div>
- <div class="formElement">
+ <div class="formElement"><!-- Todo: Def. List! -->
<div class="formField">
<label><input onclick="this.form.submit()" type="checkbox" name="customVariables" value="1" {if $customVariables == 1}checked="checked" {/if}/> {lang}wcf.acp.language.showCustomVariables{/lang}</label>
</div>
</fieldset>
{foreach from=$languageItems item=category}
- <div class="border content">
- <div class="container-1">
- <h3 class="subHeadline">{$category.category}</h3>
+ <div class="wcf-border wcf-content">
+ <div>
+ <h3 class="wcf-subHeadline">{$category.category}</h3>
{foreach from=$category.items key=$languageItem item=languageItemValue}
<a id="languageItem{@$languageItemIDs.$languageItem}"></a>
{if $additionalFields|isset}{@$additionalFields}{/if}
- <div class="formSubmit">
+ <div class="wcf-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}
{include file='header'}
-<header class="mainHeading">
+<header class="wcf-mainHeading">
<img src="{@RELATIVE_WCF_DIR}icon/export1.svg" alt="" />
<hgroup>
<h1>{lang}wcf.acp.language.export{/lang}</h1>
</header>
{if $errorField}
- <p class="error">{lang}wcf.global.form.error{/lang}</p>
+ <p class="wcf-error">{lang}wcf.global.form.error{/lang}</p>
{/if}
{if $success|isset}
- <p class="success">{lang}wcf.acp.language.add.success{/lang}</p>
+ <p class="wcf-success">{lang}wcf.acp.language.add.success{/lang}</p>
{/if}
-<div class="contentHeader">
+<div class="wcf-contentHeader">
<nav>
- <ul class="largeButtons">
- <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="" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
+ <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>
</nav>
</div>
<form enctype="multipart/form-data" method="post" action="{link controller='LanguageExport' id=$languageID}{/link}">
- <div class="border content">
+ <div class="wcf-border wcf-content">
<dl>
<dt><label for="languageID">{lang}wcf.user.language{/lang}</label></dt>
<dd>
</dl>
</div>
- <div class="formSubmit">
+ <div class="wcf-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}
//]]>
</script>
-<header class="mainHeading">
+<header class="wcf-mainHeading">
<img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" />
<hgroup>
<h1>{lang}wcf.acp.language.list{/lang}</h1>
</hgroup>
</header>
-<div class="contentHeader">
+<div class="wcf-contentHeader">
{pages print=true assign=pagesLinks controller='LanguageList' link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}
{if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}
<nav>
- <ul class="largeButtons">
- <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
+ <ul class="wcf-largeButtons">
+ <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
{event name='largeButtons'}
</ul>
</div>
{if $objects|count}
- <div class="border boxTitle">
+ <div class="wcf-border wcf-boxTitle">
<hgroup>
- <h1>{lang}wcf.acp.language.list{/lang} <span class="badge" title="{lang}wcf.acp.language.list.count{/lang}">{#$items}</span></h1>
+ <h1>{lang}wcf.acp.language.list{/lang} <span class="wcf-badge" title="{lang}wcf.acp.language.list.count{/lang}">{#$items}</span></h1>
</hgroup>
<table>
</table>
</div>
- <div class="contentFooter">
+ <div class="wcf-contentFooter">
{@$pagesLinks}
{if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}
<nav>
- <ul class="largeButtons">
- <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
+ <ul class="wcf-largeButtons">
+ <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
{event name='largeButtons'}
</ul>
{include file='header'}
-<header class="mainHeading">
+<header class="wcf-mainHeading">
<img src="{@RELATIVE_WCF_DIR}icon/{$action}1.svg" alt="" />
<hgroup>
<h1>{lang}wcf.acp.languageServer.{$action}{/lang}</h1>
</header>
{if $errorField}
- <p class="error">{lang}wcf.global.form.error{/lang}</p>
+ <p class="wcf-error">{lang}wcf.global.form.error{/lang}</p>
{/if}
{if $success|isset}
- <p class="success">{lang}wcf.acp.languageServer.{$action}.success{/lang}</p>
+ <p class="wcf-success">{lang}wcf.acp.languageServer.{$action}.success{/lang}</p>
{/if}
-<div class="contentHeader">
+<div class="wcf-contentHeader">
<nav>
- <ul class="largeButtons">
+ <ul class="wcf-largeButtons">
<li><a href="{link controller='LanguageServerList'}{/link}" title="{lang}wcf.acp.menu.link.package.server.view{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" /> <span>{lang}wcf.acp.menu.link.package.server.view{/lang}</span></a></li>
</ul>
</nav>
</div>
<form method="post" action="{if $action == 'add'}{link controller='LanguageServerAdd'}{/link}{else}{link controller='LanguageServerEdit' id=$languageServerID}{/link}{/if}">
- <div class="border content">
+ <div class="wcf-border wcf-content">
<fieldset>
<legend>{lang}wcf.acp.languageServer.data{/lang}</legend>
- <dl{if $errorField == 'server'} class="formError"{/if}>
+ <dl{if $errorField == 'server'} class="wcf-formError"{/if}>
<dt><label for="server">{lang}wcf.acp.languageServer.server{/lang}</label></dt>
<dd>
<input type="text" name="server" id="server" value="{$server}" class="long" />
{if $errorField == 'server'}
- <small class="innerError">
+ <small class="wcf-innerError">
{if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
{if $errorType == 'notValid'}{lang}wcf.acp.languageServer.server.error.notValid{/lang}{/if}
</small>
</fieldset>
</div>
- <div class="formSubmit">
+ <div class="wcf-formSubmit">
<input type="reset" value="{lang}wcf.global.button.reset{/lang}" accesskey="r" />
<input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
{@SID_INPUT_TAG}
//]]>
</script>
-<header class="mainHeading">
+<header class="wcf-mainHeading">
<img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" />
<hgroup>
<h1>{lang}wcf.acp.languageServer.list{/lang}</h1>
</hgroup>
</header>
-<div class="contentHeader">
+<div class="wcf-contentHeader">
{pages print=true assign=pagesLinks controller='LanguageServerList' link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}
{if $__wcf->getSession()->getPermission('admin.language.canAddServer')}
<nav>
- <ul class="largeButtons">
- <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
+ <ul class="wcf-largeButtons">
+ <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
{event name='largeButtons'}
</ul>
</div>
{if !$languageServers|count}
- <div class="border content">
- <div class="container-1">
+ <div class="wcf-border wcf-content">
+ <div>
<p>{lang}wcf.acp.languageServer.view.noneAvailable{/lang}</p>
</div>
</div>
{else}
- <div class="border boxTitle">
+ <div class="wcf-border wcf-boxTitle">
<hgroup>
<h1>{lang}wcf.acp.languageServer.list{/lang} <span class="badge" title="{lang}wcf.acp.languageServer.list.count{/lang}">{#$items}</span></h1>
</hgroup>
</table>
</div>
- <div class="contentFooter">
+ <div class="wcf-contentFooter">
{@$pagesLinks}
{if $__wcf->getSession()->getPermission('admin.language.canAddServer')}
<nav>
- <ul class="largeButtons">
- <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
+ <ul class="wcf-largeButtons">
+ <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="wcf-button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
{event name='largeButtons'}
</ul>