From: Marcel Werk Date: Mon, 16 Apr 2012 16:40:54 +0000 (+0200) Subject: Redesigned forms (fieldsets), attachments, headlines, code box X-Git-Tag: 2.0.0_Beta_1~1154 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=daa737bfc6537302acc74363e4149e7ca7dade76;p=GitHub%2FWoltLab%2FWCF.git Redesigned forms (fieldsets), attachments, headlines, code box Fixed some minor style issues --- diff --git a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl index 89e7bc2252..f901a8d62f 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl @@ -1,7 +1,6 @@ {include file='header'} -
- +

{lang}wcf.acp.sessionLog.access.list{/lang}

@@ -14,7 +13,7 @@ {hascontent}
-

{lang}wcf.acp.sessionLog.access.list{/lang} {#$items}

+

{lang}wcf.acp.sessionLog.access.list{/lang} {#$items}

@@ -24,7 +23,7 @@ - + diff --git a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl index f7069949f7..82f6fa149f 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl @@ -1,7 +1,6 @@ {include file='header'} -
- +

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

@@ -14,7 +13,7 @@ {hascontent}
-

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

+

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

{lang}wcf.user.ipAddress{/lang}{if $sortField == 'ipAddress'} {/if} {lang}wcf.acp.sessionLog.time{/lang}{if $sortField == 'time'} {/if} {lang}wcf.acp.sessionLog.packageName{/lang}{if $sortField == 'packageName'} {/if}{lang}wcf.acp.sessionLog.className{/lang}{if $sortField == 'className'} {/if}

{lang}wcf.acp.sessionLog.className{/lang}{if $sortField == 'className'} {/if} {lang}wcf.acp.sessionLog.requestURI{/lang}{if $sortField == 'requestURI'} {/if} {lang}wcf.acp.sessionLog.requestMethod{/lang}{if $sortField == 'requestMethod'} {/if}
diff --git a/wcfsetup/install/files/acp/templates/cacheList.tpl b/wcfsetup/install/files/acp/templates/cacheList.tpl index 25b0b9bfba..7015f9cf6b 100644 --- a/wcfsetup/install/files/acp/templates/cacheList.tpl +++ b/wcfsetup/install/files/acp/templates/cacheList.tpl @@ -12,8 +12,7 @@ //]]> -
- +

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

@@ -23,31 +22,33 @@

{lang}wcf.acp.cache.clear.success{/lang}

{/if} -
- {lang}wcf.acp.cache.data{/lang} - -
-
{lang}wcf.acp.cache.data.source{/lang}
-
{$cacheData.source}
-
- {if $cacheData.version} +
+
+ {lang}wcf.acp.cache.data{/lang} +
-
{lang}wcf.acp.cache.data.version{/lang}
-
{$cacheData.version}
+
{lang}wcf.acp.cache.data.source{/lang}
+
{$cacheData.source}
- {/if} - {if $cacheData.size}
-
{lang}wcf.acp.cache.data.size{/lang}
-
{@$cacheData.size|filesize}
-
{/if} - {if $cacheData.files}
-
{lang}wcf.acp.cache.data.files{/lang}
-
{#$cacheData.files}
-
{/if} + {if $cacheData.version} +
+
{lang}wcf.acp.cache.data.version{/lang}
+
{$cacheData.version}
+
+ {/if} + {if $cacheData.size}
+
{lang}wcf.acp.cache.data.size{/lang}
+
{@$cacheData.size|filesize}
+
{/if} + {if $cacheData.files}
+
{lang}wcf.acp.cache.data.files{/lang}
+
{#$cacheData.files}
+
{/if} + + {event name='dataFields'} +
+
- {event name='dataFields'} -
-
diff --git a/wcfsetup/install/files/acp/templates/cronjobLogList.tpl b/wcfsetup/install/files/acp/templates/cronjobLogList.tpl index 31e6c2525b..aeb8583adb 100644 --- a/wcfsetup/install/files/acp/templates/cronjobLogList.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobLogList.tpl @@ -1,7 +1,6 @@ {include file='header'} -
- +

{lang}wcf.acp.cronjob.log{/lang}

{lang}wcf.acp.cronjob.subtitle{/lang}

diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index 8a9641d892..7f83b9e95f 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -82,7 +82,6 @@ new WCF.Date.Time(); new WCF.Effect.SmoothScroll(); new WCF.Effect.BalloonTooltip(); - $('').appendTo('.wcf-innerError'); $('#sidebarContent').wcfSidebar(); @@ -103,14 +102,20 @@ @@ -156,7 +161,7 @@ -
+
{hascontent} diff --git a/wcfsetup/install/files/acp/templates/login.tpl b/wcfsetup/install/files/acp/templates/login.tpl index fa2e06e7f8..ad684445ac 100644 --- a/wcfsetup/install/files/acp/templates/login.tpl +++ b/wcfsetup/install/files/acp/templates/login.tpl @@ -14,58 +14,58 @@ //]]> -
- +

{@$pageTitle}

{if $errorField} -

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

+

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

{/if}
-
- {lang}wcf.user.login.data{/lang} +
+
+ {lang}wcf.user.login.data{/lang} + + +
+
+ {if $errorField == 'username'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.user.username.error.{@$errorType}{/lang} + {/if} + + {/if} +
+ + + +
+
+ {if $errorField == 'password'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.user.password.error.{@$errorType}{/lang} + {/if} + + {/if} +
+ + + {event name='dataFields'} +
- -
-
- {if $errorField == 'username'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.user.username.error.{@$errorType}{/lang} - {/if} - - {/if} -
- - - -
-
- {if $errorField == 'password'} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang}wcf.user.password.error.{@$errorType}{/lang} - {/if} - - {/if} -
- - - {event name='dataFields'} -
- - {event name='fieldsets'} + {event name='fieldsets'} +
-
diff --git a/wcfsetup/install/files/acp/templates/option.tpl b/wcfsetup/install/files/acp/templates/option.tpl index 1d091fb8bd..c9e5b24f36 100644 --- a/wcfsetup/install/files/acp/templates/option.tpl +++ b/wcfsetup/install/files/acp/templates/option.tpl @@ -9,8 +9,7 @@ //]]> -
- +

{lang}wcf.acp.option.category.{$category->categoryName}{/lang}

{hascontent}

{content}{lang __optional=true}wcf.acp.option.category.{$category->categoryName}.description{/lang}{/content}

{/hascontent} @@ -37,11 +36,6 @@ {foreach from=$optionTree item=categoryLevel1}
-
diff --git a/wcfsetup/install/files/acp/templates/optionImport.tpl b/wcfsetup/install/files/acp/templates/optionImport.tpl index a0838a4089..4b4f0308a0 100644 --- a/wcfsetup/install/files/acp/templates/optionImport.tpl +++ b/wcfsetup/install/files/acp/templates/optionImport.tpl @@ -1,13 +1,12 @@ {include file='header'} -
- +

{lang}wcf.acp.option.import{/lang}

-{if $errorField != ''} +{if $errorField}

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

{/if} @@ -16,7 +15,7 @@ {/if}
-
+
{lang}wcf.acp.option.import{/lang} @@ -44,19 +43,17 @@
-
-
- +

{lang}wcf.acp.option.export{/lang}

-
+
{lang}wcf.acp.option.export{/lang} diff --git a/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl b/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl index dd81555a2d..ae508cafcc 100644 --- a/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl +++ b/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl @@ -22,8 +22,7 @@
-
- +

{lang}wcf.acp.packageUpdate{/lang}

{if $availableUpdates|count} diff --git a/wcfsetup/install/files/acp/templates/packageList.tpl b/wcfsetup/install/files/acp/templates/packageList.tpl index be78aa0aee..3fb05cbde4 100644 --- a/wcfsetup/install/files/acp/templates/packageList.tpl +++ b/wcfsetup/install/files/acp/templates/packageList.tpl @@ -22,8 +22,7 @@ //]]> -
- +

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

@@ -38,10 +37,6 @@