From: Alexander Ebert Date: Tue, 27 Mar 2012 13:57:22 +0000 (+0200) Subject: Reworked templates, added LESS-based stylesheets X-Git-Tag: 2.0.0_Beta_1~616^2~27 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2541fd1ee1f28fec0361ac847ce1ccd6aeef3ea5;p=GitHub%2FWoltLab%2FWCF.git Reworked templates, added LESS-based stylesheets --- diff --git a/acptemplates/languageAdd.tpl b/acptemplates/languageAdd.tpl index e1be33c76e..b0d45b808f 100644 --- a/acptemplates/languageAdd.tpl +++ b/acptemplates/languageAdd.tpl @@ -9,31 +9,31 @@ //]]> -
- -
+
+ +

{lang}wcf.acp.language.add{/lang}

{if $errorField} -

{lang}wcf.global.form.error{/lang}

+

{lang}wcf.global.form.error{/lang}

{/if} {if $success|isset} -

{lang}wcf.global.form.add.success{/lang}

+

{lang}wcf.global.form.add.success{/lang}

{/if} -
+
-
+
@@ -52,12 +52,12 @@
{lang}wcf.acp.language.import.source{/lang} - +
{if $errorField == 'languageFile'} - + {if $errorType == 'empty'} {lang}wcf.global.error.empty{/lang} {else} @@ -69,12 +69,12 @@
- +
{if $errorField == 'languageUpload'} - + {lang}wcf.acp.language.import.error{/lang} {$errorType} {/if} @@ -85,12 +85,12 @@
{lang}wcf.acp.language.add.new{/lang} - +
{if $errorField == 'languageCode'} - + {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} {if $errorType == 'notUnique'}{lang}wcf.acp.language.add.languageCode.error.notUnique{/lang}{/if} @@ -99,7 +99,7 @@
- +
{if $errorField == 'sourceLanguageID'} - + {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} {/if} @@ -119,10 +119,8 @@ {if $additionalFields|isset}{@$additionalFields}{/if}
-
- +
- {@SID_INPUT_TAG}
diff --git a/acptemplates/languageList.tpl b/acptemplates/languageList.tpl index 64270f2411..debb3c67a2 100644 --- a/acptemplates/languageList.tpl +++ b/acptemplates/languageList.tpl @@ -28,20 +28,20 @@ //]]> -
- -
+
+ +

{lang}wcf.acp.language.list{/lang}

-
+
{pages print=true assign=pagesLinks controller='LanguageList' link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} {if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}
{if $objects|count} -
+
-

{lang}wcf.acp.language.list{/lang} {#$items}

+

{lang}wcf.acp.language.list{/lang} {#$items}

- +
@@ -71,34 +71,34 @@ @@ -118,13 +118,13 @@
{lang}wcf.global.objectID{/lang}{if $sortField == 'languageID'} {/if}
{if $__wcf->getSession()->getPermission('admin.language.canEditLanguage')} - + {else} - + {/if} {if $__wcf->getSession()->getPermission('admin.language.canEditLanguage')} {if !$language->isDefault} - + {else} - + {/if} {else} - + {/if} {if $__wcf->getSession()->getPermission('admin.language.canEditLanguage')} - + {else} - + {/if} {if $__wcf->getSession()->getPermission('admin.language.canDeleteLanguage')} {if !$language->isDefault} - + {else} - + {/if} {else} - + {/if} {@$language->languageID}
-