From b5c1c549098fcf657adf125c6b68cde28e7ce0ba Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 2 Jun 2013 20:39:01 +0200 Subject: [PATCH] Small optimization --- .../install/files/acp/templates/styleAdd.tpl | 32 +++++++++++-------- wcfsetup/install/lang/de.xml | 2 -- wcfsetup/install/lang/en.xml | 2 -- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index 1b9ade9891..c942d38179 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -498,28 +498,32 @@ {* advanced *}
-

{lang}wcf.acp.style.advanced.syntax{/lang}

-
{lang}wcf.acp.style.advanced.individualLess{/lang} - - {lang}wcf.acp.style.advanced.individualLess.description{/lang} +
+
+ + {lang}wcf.acp.style.advanced.individualLess.description{/lang} +
+
{lang}wcf.acp.style.advanced.overrideLess{/lang} -

{lang}wcf.acp.style.advanced.overrideLess.warning{/lang}

- - - {if $errorField == 'overrideLess'} - - {lang}wcf.acp.style.advanced.overrideLess.error{/lang} - {implode from=$errorType item=error}{lang}wcf.acp.style.advanced.overrideLess.error.{$error.error}{/lang}{/implode} - - {/if} - {lang}wcf.acp.style.advanced.overrideLess.description{/lang} +
+
+ + {if $errorField == 'overrideLess'} + + {lang}wcf.acp.style.advanced.overrideLess.error{/lang} + {implode from=$errorType item=error}{lang}wcf.acp.style.advanced.overrideLess.error.{$error.error}{/lang}{/implode} + + {/if} + {lang}wcf.acp.style.advanced.overrideLess.description{/lang} +
+
{event name='syntaxFieldsets'} diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index ead196cde8..42fb6a0e89 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -966,8 +966,6 @@ - - getPath()}acp/dereferrer.php?url=http://www.lesscss.org">LESS verwenden. Bitte beachten Sie, dass der Stil nicht erzeugt werden kann, wenn der LESS-Code ungültig ist.]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 3d89841405..9a6c209ef4 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -965,8 +965,6 @@ Examples for medium ID detection: - - getPath()}acp/dereferrer.php?url=http://www.lesscss.org">LESS. Please be aware that the style cannot be created if the LESS-code is flawed.]]> -- 2.20.1