From b5c94e9e7e99b16cdc5994c489b570035de86b83 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 7 Apr 2016 18:55:38 +0200 Subject: [PATCH] Overhauled ACP templates --- .../files/acp/templates/acpSessionLog.tpl | 34 +++++---- .../files/acp/templates/acpSessionLogList.tpl | 45 +++++------ .../install/files/acp/templates/adAdd.tpl | 22 +++--- .../install/files/acp/templates/adList.tpl | 34 +++++---- .../files/acp/templates/applicationEdit.tpl | 22 +++--- .../acp/templates/applicationManagement.tpl | 26 +++---- .../files/acp/templates/attachmentList.tpl | 64 +++++++++------- .../install/files/acp/templates/bbcodeAdd.tpl | 22 +++--- .../files/acp/templates/bbcodeList.tpl | 34 +++++---- .../acp/templates/bbcodeMediaProviderAdd.tpl | 22 +++--- .../acp/templates/bbcodeMediaProviderList.tpl | 34 +++++---- .../install/files/acp/templates/boxAdd.tpl | 22 +++--- .../install/files/acp/templates/boxList.tpl | 40 ++++++---- .../install/files/acp/templates/cacheList.tpl | 62 +++++++++------ .../acp/templates/captchaQuestionAdd.tpl | 18 +++-- .../acp/templates/captchaQuestionList.tpl | 46 +++++++----- .../files/acp/templates/categoryAdd.tpl | 26 +++---- .../files/acp/templates/categoryList.tpl | 16 ++-- .../files/acp/templates/cronjobAdd.tpl | 22 +++--- .../files/acp/templates/cronjobList.tpl | 36 +++++---- .../files/acp/templates/cronjobLogList.tpl | 50 ++++++++----- .../files/acp/templates/dashboardList.tpl | 26 +++---- .../files/acp/templates/dashboardOption.tpl | 20 ++--- .../files/acp/templates/dataImport.tpl | 30 ++++---- .../files/acp/templates/exceptionLogView.tpl | 30 ++++---- .../install/files/acp/templates/labelAdd.tpl | 22 +++--- .../files/acp/templates/labelGroupAdd.tpl | 22 +++--- .../files/acp/templates/labelGroupList.tpl | 34 +++++---- .../install/files/acp/templates/labelList.tpl | 61 ++++++++------- .../files/acp/templates/languageAdd.tpl | 22 +++--- .../files/acp/templates/languageExport.tpl | 18 ++--- .../files/acp/templates/languageImport.tpl | 22 +++--- .../files/acp/templates/languageItemList.tpl | 42 +++++------ .../files/acp/templates/languageList.tpl | 36 +++++---- .../acp/templates/languageMultilingualism.tpl | 24 +++--- .../files/acp/templates/languageServerAdd.tpl | 22 +++--- .../acp/templates/languageServerList.tpl | 34 +++++---- .../install/files/acp/templates/mediaAdd.tpl | 22 +++--- .../install/files/acp/templates/mediaList.tpl | 59 ++++++++------- .../files/acp/templates/mediaManager.tpl | 8 +- .../install/files/acp/templates/menuAdd.tpl | 22 +++--- .../files/acp/templates/menuItemAdd.tpl | 22 +++--- .../files/acp/templates/menuItemList.tpl | 14 ++-- .../install/files/acp/templates/menuList.tpl | 36 +++++---- .../install/files/acp/templates/noticeAdd.tpl | 22 +++--- .../files/acp/templates/noticeList.tpl | 34 +++++---- .../templates/notificationPresetSettings.tpl | 26 +++---- .../install/files/acp/templates/option.tpl | 32 ++++---- .../install/files/acp/templates/package.tpl | 26 +++---- .../files/acp/templates/packageList.tpl | 46 ++++++------ .../acp/templates/packageStartInstall.tpl | 22 +++--- .../acp/templates/packageUpdateServerAdd.tpl | 22 +++--- .../acp/templates/packageUpdateServerList.tpl | 34 +++++---- .../install/files/acp/templates/pageAdd.tpl | 22 +++--- .../install/files/acp/templates/pageList.tpl | 52 +++++++------ .../acp/templates/paidSubscriptionAdd.tpl | 22 +++--- .../acp/templates/paidSubscriptionList.tpl | 36 +++++---- .../paidSubscriptionTransactionLog.tpl | 30 +++++--- .../paidSubscriptionTransactionLogList.tpl | 58 +++++++------- .../acp/templates/paidSubscriptionUserAdd.tpl | 24 +++--- .../templates/paidSubscriptionUserList.tpl | 38 +++++----- .../files/acp/templates/rebuildData.tpl | 34 ++++----- .../install/files/acp/templates/smileyAdd.tpl | 27 +++---- .../files/acp/templates/smileyList.tpl | 21 ++++-- .../install/files/acp/templates/styleAdd.tpl | 32 ++++---- .../files/acp/templates/styleExport.tpl | 18 ++--- .../files/acp/templates/styleImport.tpl | 22 +++--- .../install/files/acp/templates/styleList.tpl | 38 ++++++---- .../install/files/acp/templates/tagAdd.tpl | 22 +++--- .../install/files/acp/templates/tagList.tpl | 45 ++++++----- .../files/acp/templates/templateAdd.tpl | 26 +++---- .../files/acp/templates/templateDiff.tpl | 48 ++++++------ .../files/acp/templates/templateGroupAdd.tpl | 22 +++--- .../files/acp/templates/templateGroupList.tpl | 34 +++++---- .../files/acp/templates/templateList.tpl | 52 +++++++------ .../acp/templates/userActivityPointOption.tpl | 22 +++--- .../install/files/acp/templates/userAdd.tpl | 24 +++--- .../files/acp/templates/userAssignToGroup.tpl | 20 +++-- .../userAuthenticationFailureList.tpl | 38 +++++----- .../templates/userContentRevertChanges.tpl | 20 +++-- .../acp/templates/userEmailAddressExport.tpl | 20 +++-- .../files/acp/templates/userGroupAdd.tpl | 34 ++++----- .../acp/templates/userGroupAssignmentAdd.tpl | 22 +++--- .../acp/templates/userGroupAssignmentList.tpl | 34 +++++---- .../files/acp/templates/userGroupList.tpl | 36 +++++---- .../files/acp/templates/userGroupOption.tpl | 34 ++++----- .../install/files/acp/templates/userList.tpl | 75 ++++++++++++------- .../install/files/acp/templates/userMail.tpl | 18 ++--- .../install/files/acp/templates/userMerge.tpl | 22 +++--- .../files/acp/templates/userOptionAdd.tpl | 23 +++--- .../acp/templates/userOptionCategoryAdd.tpl | 23 +++--- .../acp/templates/userOptionCategoryList.tpl | 37 +++++---- .../files/acp/templates/userOptionList.tpl | 34 +++++---- .../acp/templates/userOptionSetDefaults.tpl | 24 +++--- .../files/acp/templates/userRankAdd.tpl | 22 +++--- .../files/acp/templates/userRankList.tpl | 35 +++++---- .../files/acp/templates/userSearch.tpl | 26 +++---- 97 files changed, 1616 insertions(+), 1359 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl index 0359572901..15bd11fb10 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl @@ -1,20 +1,24 @@ {include file='header' pageTitle='wcf.acp.sessionLog.access.list'}
-

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

-
- -
- {pages print=true assign=pagesLinks controller='ACPSessionLog' id=$sessionLogID link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} +
+

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

+
-
+ + +{hascontent} +
+ {content}{pages print=true assign=pagesLinks controller='ACPSessionLog' id=$sessionLogID link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}{/content} +
+{/hascontent} {hascontent}
@@ -51,17 +55,21 @@
-
- {@$pagesLinks} +
+ {hascontent} +
+ {content}{@$pagesLinks}{/content} +
+ {/hascontent} -
+ {/hascontent} {include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl index 949c714703..8360eb786c 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl @@ -1,22 +1,23 @@ {include file='header' pageTitle='wcf.acp.sessionLog.list'}
-

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

-
- -
- {pages print=true assign=pagesLinks controller="ACPSessionLogList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} +
+

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

+
{hascontent} - - {/hascontent} -
+ + + +{hascontent} +
+ {content}{pages print=true assign=pagesLinks controller="ACPSessionLogList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}{/content} +
+{/hascontent} {if $objects|count}
@@ -53,19 +54,21 @@
-
- {@$pagesLinks} +
+ {hascontent} +
+ {content}{@$pagesLinks}{/content} +
+ {/hascontent} {hascontent} -
+ {/if} {include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/adAdd.tpl b/wcfsetup/install/files/acp/templates/adAdd.tpl index 4db797474b..dfe55c0d47 100644 --- a/wcfsetup/install/files/acp/templates/adAdd.tpl +++ b/wcfsetup/install/files/acp/templates/adAdd.tpl @@ -11,7 +11,17 @@
-

{lang}wcf.acp.ad.{$action}{/lang}

+
+

{lang}wcf.acp.ad.{$action}{/lang}

+
+ +
{include file='formError'} @@ -20,16 +30,6 @@

{lang}wcf.global.success.{$action}{/lang}

{/if} -
- -
-
diff --git a/wcfsetup/install/files/acp/templates/adList.tpl b/wcfsetup/install/files/acp/templates/adList.tpl index a7d576889c..e79ba6c112 100644 --- a/wcfsetup/install/files/acp/templates/adList.tpl +++ b/wcfsetup/install/files/acp/templates/adList.tpl @@ -11,20 +11,24 @@
-

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

-
- -
- {pages print=true assign=pagesLinks controller="AdList" link="pageNo=%d"} +
+

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

+
-
+ + +{hascontent} +
+ {content}{pages print=true assign=pagesLinks controller="AdList" link="pageNo=%d"}{/content} +
+{/hascontent} {if $objects|count}
@@ -51,17 +55,21 @@
-
- {@$pagesLinks} +
+ {hascontent} +
+ {content}{@$pagesLinks}{/content} +
+ {/hascontent} -
+ {else}

{lang}wcf.global.noItems{/lang}

{/if} diff --git a/wcfsetup/install/files/acp/templates/applicationEdit.tpl b/wcfsetup/install/files/acp/templates/applicationEdit.tpl index 8825dec073..5f56f6a64f 100644 --- a/wcfsetup/install/files/acp/templates/applicationEdit.tpl +++ b/wcfsetup/install/files/acp/templates/applicationEdit.tpl @@ -1,7 +1,17 @@ {include file='header' pageTitle='wcf.acp.application.edit'}
-

{lang}wcf.acp.application.edit.title{/lang}

+
+

{lang}wcf.acp.application.edit.title{/lang}

+
+ +
{include file='formError'} @@ -10,16 +20,6 @@

{lang}wcf.global.success.edit{/lang}

{/if} -
- -
-

{lang}wcf.acp.application.domain{/lang}

diff --git a/wcfsetup/install/files/acp/templates/applicationManagement.tpl b/wcfsetup/install/files/acp/templates/applicationManagement.tpl index 922341b925..ea86d3f838 100644 --- a/wcfsetup/install/files/acp/templates/applicationManagement.tpl +++ b/wcfsetup/install/files/acp/templates/applicationManagement.tpl @@ -1,20 +1,18 @@ {include file='header' pageTitle='wcf.acp.application.list'}
-

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

-
- -
+
+

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

+
+ {hascontent} -
+
@@ -47,16 +45,14 @@
-
+
{hascontent} -
+ {include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/attachmentList.tpl b/wcfsetup/install/files/acp/templates/attachmentList.tpl index 150a19e503..576c952126 100644 --- a/wcfsetup/install/files/acp/templates/attachmentList.tpl +++ b/wcfsetup/install/files/acp/templates/attachmentList.tpl @@ -12,8 +12,18 @@
-

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

-

{lang}wcf.acp.attachment.stats{/lang}

+
+

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

+

{lang}wcf.acp.attachment.stats{/lang}

+
+ + {hascontent} + + {/hascontent}
{include file='formError'} @@ -57,24 +67,18 @@ -
- {assign var='linkParameters' value=''} - {if $username}{capture append=linkParameters}&username={@$username|rawurlencode}{/capture}{/if} - {if $filename}{capture append=linkParameters}&filename={@$filename|rawurlencode}{/capture}{/if} - {if $fileType}{capture append=linkParameters}&fileType={@$fileType|rawurlencode}{/capture}{/if} - - {pages print=true assign=pagesLinks controller="AttachmentList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder$linkParameters"} - - {hascontent} - - {/hascontent} -
+{hascontent} +
+ {content} + {assign var='linkParameters' value=''} + {if $username}{capture append=linkParameters}&username={@$username|rawurlencode}{/capture}{/if} + {if $filename}{capture append=linkParameters}&filename={@$filename|rawurlencode}{/capture}{/if} + {if $fileType}{capture append=linkParameters}&fileType={@$fileType|rawurlencode}{/capture}{/if} + + {pages print=true assign=pagesLinks controller="AttachmentList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder$linkParameters"} + {/content} +
+{/hascontent} {if $objects|count}
@@ -130,19 +134,21 @@
-
- {@$pagesLinks} +
+ {hascontent} +
+ {content}{@$pagesLinks}{/content} +
+ {/hascontent} {hascontent} -
+ {else}

{lang}wcf.global.noItems{/lang}

{/if} diff --git a/wcfsetup/install/files/acp/templates/bbcodeAdd.tpl b/wcfsetup/install/files/acp/templates/bbcodeAdd.tpl index 7ffbe33e70..99bc608606 100644 --- a/wcfsetup/install/files/acp/templates/bbcodeAdd.tpl +++ b/wcfsetup/install/files/acp/templates/bbcodeAdd.tpl @@ -73,7 +73,17 @@
-

{lang}wcf.acp.bbcode.{$action}{/lang}

+
+

{lang}wcf.acp.bbcode.{$action}{/lang}

+
+ +
{if $action == 'add'} @@ -86,16 +96,6 @@

{lang}wcf.global.success.{$action}{/lang}

{/if} -
- -
-
diff --git a/wcfsetup/install/files/acp/templates/bbcodeList.tpl b/wcfsetup/install/files/acp/templates/bbcodeList.tpl index 3e43e0c775..24d39b6aaa 100644 --- a/wcfsetup/install/files/acp/templates/bbcodeList.tpl +++ b/wcfsetup/install/files/acp/templates/bbcodeList.tpl @@ -10,20 +10,24 @@
-

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

-
- -
- {pages print=true assign=pagesLinks controller="BBCodeList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} +
+

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

+
-
+ + +{hascontent} +
+ {content}{pages print=true assign=pagesLinks controller="BBCodeList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}{/content} +
+{/hascontent} {if $objects|count}
@@ -63,17 +67,21 @@
-
- {@$pagesLinks} +
+ {hascontent} +
+ {content}{@$pagesLinks}{/content} +
+ {/hascontent} -
+ {else}

{lang}wcf.global.noItems{/lang}

{/if} diff --git a/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl b/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl index f5837ebf29..3bf309f34f 100644 --- a/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl +++ b/wcfsetup/install/files/acp/templates/bbcodeMediaProviderAdd.tpl @@ -1,7 +1,17 @@ {include file='header' pageTitle='wcf.acp.bbcode.mediaProvider.'|concat:$action}
-

{lang}wcf.acp.bbcode.mediaProvider.{$action}{/lang}

+
+

{lang}wcf.acp.bbcode.mediaProvider.{$action}{/lang}

+
+ +
{include file='formError'} @@ -10,16 +20,6 @@

{lang}wcf.global.success.{$action}{/lang}

{/if} -
- -
-
diff --git a/wcfsetup/install/files/acp/templates/bbcodeMediaProviderList.tpl b/wcfsetup/install/files/acp/templates/bbcodeMediaProviderList.tpl index 2ce97ce76d..c45f66d13b 100644 --- a/wcfsetup/install/files/acp/templates/bbcodeMediaProviderList.tpl +++ b/wcfsetup/install/files/acp/templates/bbcodeMediaProviderList.tpl @@ -9,20 +9,24 @@
-

{lang}wcf.acp.bbcode.mediaProvider.list{/lang}

-
- -
- {pages print=true assign=pagesLinks controller="BBCodeMediaProviderList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} +
+

{lang}wcf.acp.bbcode.mediaProvider.list{/lang}

+
-
+ + +{hascontent} +
+ {content}{pages print=true assign=pagesLinks controller="BBCodeMediaProviderList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}{/content} +
+{/hascontent} {if $objects|count}
@@ -55,17 +59,21 @@
-
- {@$pagesLinks} +
+ {else}

{lang}wcf.global.noItems{/lang}

{/if} diff --git a/wcfsetup/install/files/acp/templates/boxAdd.tpl b/wcfsetup/install/files/acp/templates/boxAdd.tpl index 358b94ffbd..75578026fd 100644 --- a/wcfsetup/install/files/acp/templates/boxAdd.tpl +++ b/wcfsetup/install/files/acp/templates/boxAdd.tpl @@ -16,7 +16,17 @@ {/if}
-

{if $action == 'add'}{if $isMultilingual}{lang}wcf.acp.box.addMultilingual{/lang}{else}{lang}wcf.acp.box.add{/lang}{/if}{else}{lang}wcf.acp.box.edit{/lang}{/if}

+
+

{if $action == 'add'}{if $isMultilingual}{lang}wcf.acp.box.addMultilingual{/lang}{else}{lang}wcf.acp.box.add{/lang}{/if}{else}{lang}wcf.acp.box.edit{/lang}{/if}

+
+ +
{include file='formError'} @@ -25,16 +35,6 @@

{lang}wcf.global.success.{$action}{/lang}

{/if} -
- -
-

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

diff --git a/wcfsetup/install/files/acp/templates/boxList.tpl b/wcfsetup/install/files/acp/templates/boxList.tpl index dad2a7aa43..bd1a000887 100644 --- a/wcfsetup/install/files/acp/templates/boxList.tpl +++ b/wcfsetup/install/files/acp/templates/boxList.tpl @@ -9,21 +9,25 @@
-

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

-
- -
- {pages print=true assign=pagesLinks controller="BoxList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} +
+

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

+
-
+ + +{hascontent} +
+ {content}{pages print=true assign=pagesLinks controller="BoxList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}{/content} +
+{/hascontent} {if $objects|count}
@@ -64,18 +68,22 @@
-
- {@$pagesLinks} - -
+ {else}

{lang}wcf.global.noItems{/lang}

{/if} diff --git a/wcfsetup/install/files/acp/templates/cacheList.tpl b/wcfsetup/install/files/acp/templates/cacheList.tpl index ff9f6f44ad..1ce523cf41 100644 --- a/wcfsetup/install/files/acp/templates/cacheList.tpl +++ b/wcfsetup/install/files/acp/templates/cacheList.tpl @@ -9,7 +9,23 @@
-

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

+
+

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

+
+ + {hascontent} + + {/hascontent}
@@ -41,18 +57,6 @@ {event name='dataFields'}
-
- -
- {foreach from=$caches key='cacheType' item='cacheTypeCaches'} {foreach from=$cacheTypeCaches key='cache' item='files'} {counter name=cacheIndex assign=cacheIndex print=false start=0} @@ -98,16 +102,26 @@ {/foreach} {/foreach} -
- -
+
+ {hascontent} +
+ {content}{@$pagesLinks}{/content} +
+ {/hascontent} + + {hascontent} + + {/hascontent} +
{include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl b/wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl index a593c4ac29..a45194a976 100644 --- a/wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl +++ b/wcfsetup/install/files/acp/templates/captchaQuestionAdd.tpl @@ -10,16 +10,18 @@

{lang}wcf.global.success.{$action}{/lang}

{/if} -
- +
+
+ +
diff --git a/wcfsetup/install/files/acp/templates/captchaQuestionList.tpl b/wcfsetup/install/files/acp/templates/captchaQuestionList.tpl index 602b47d80b..13ac8ceca9 100644 --- a/wcfsetup/install/files/acp/templates/captchaQuestionList.tpl +++ b/wcfsetup/install/files/acp/templates/captchaQuestionList.tpl @@ -1,9 +1,5 @@ {include file='header' pageTitle='wcf.acp.captcha.question.list'} -
-

{lang}wcf.acp.captcha.question.list{/lang}

-
- -
- {pages print=true assign=pagesLinks controller="CaptchaQuestionList" link="pageNo=%d"} +
+
+

{lang}wcf.acp.captcha.question.list{/lang}

+
-
+ + +{hascontent} +
+ {content}{pages print=true assign=pagesLinks controller="CaptchaQuestionList" link="pageNo=%d"}{/content} +
+{/hascontent} {hascontent}
@@ -74,17 +78,21 @@

{lang}wcf.global.noItems{/lang}

{/hascontent} -
- {@$pagesLinks} +
+ {include file='footer'} \ No newline at end of file diff --git a/wcfsetup/install/files/acp/templates/categoryAdd.tpl b/wcfsetup/install/files/acp/templates/categoryAdd.tpl index 4aca0482ba..c041e1f64c 100644 --- a/wcfsetup/install/files/acp/templates/categoryAdd.tpl +++ b/wcfsetup/install/files/acp/templates/categoryAdd.tpl @@ -16,18 +16,12 @@ {/if}
-

{@$objectType->getProcessor()->getLanguageVariable($action)}

-
- -{include file='formError'} - -{if $success|isset} -

{lang}wcf.global.success.{@$action}{/lang}

-{/if} - -
+
+

{@$objectType->getProcessor()->getLanguageVariable($action)}

+
+ {hascontent} -
+ + +{include file='formError'} + +{if $success|isset} +

{lang}wcf.global.success.{@$action}{/lang}

+{/if} {event name='beforeSections'} diff --git a/wcfsetup/install/files/acp/templates/categoryList.tpl b/wcfsetup/install/files/acp/templates/categoryList.tpl index 94f4e92233..3dee7d174e 100644 --- a/wcfsetup/install/files/acp/templates/categoryList.tpl +++ b/wcfsetup/install/files/acp/templates/categoryList.tpl @@ -67,24 +67,24 @@ {/if}
-

{@$objectType->getProcessor()->getLanguageVariable('list')}

-
- -
+
+

{@$objectType->getProcessor()->getLanguageVariable('list')}

+
+ {hascontent} -
+ {hascontent}
diff --git a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl index f4e3fa3536..2b9b923e84 100644 --- a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl @@ -1,7 +1,17 @@ {include file='header' pageTitle='wcf.acp.cronjob.'|concat:$action}
-

{lang}wcf.acp.cronjob.{$action}{/lang}

+
+

{lang}wcf.acp.cronjob.{$action}{/lang}

+
+ +
{include file='formError'} @@ -12,16 +22,6 @@

{lang}wcf.global.success.{$action}{/lang}

{/if} -
- -
-
diff --git a/wcfsetup/install/files/acp/templates/cronjobList.tpl b/wcfsetup/install/files/acp/templates/cronjobList.tpl index 3bda083ea7..7e0f49d7e0 100644 --- a/wcfsetup/install/files/acp/templates/cronjobList.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobList.tpl @@ -12,21 +12,25 @@
-

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

-

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

-
- -
- {pages print=true assign=pagesLinks controller="CronjobList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} +
+

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

+

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

+
-
+ + +{hascontent} +
+ {content}{pages print=true assign=pagesLinks controller="CronjobList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}{/content} +
+{/hascontent} {hascontent}
@@ -106,16 +110,20 @@

{lang}wcf.global.noItems{/lang}

{/hascontent} -
- {@$pagesLinks} +
+ {hascontent} +
+ {content}{@$pagesLinks}{/content} +
+ {/hascontent} -
+ {include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/cronjobLogList.tpl b/wcfsetup/install/files/acp/templates/cronjobLogList.tpl index e6d6abeea3..797a72f48d 100644 --- a/wcfsetup/install/files/acp/templates/cronjobLogList.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobLogList.tpl @@ -14,26 +14,30 @@
-

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

-
- -
- {pages print=true assign=pagesLinks controller="CronjobLogList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} +
+

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

+
{hascontent} -
+ + +{hascontent} +
+ {content}{pages print=true assign=pagesLinks controller="CronjobLogList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}{/content} +
+{/hascontent} {hascontent}
@@ -76,17 +80,27 @@
-
- {@$pagesLinks} +
+ {hascontent} + + {/hascontent} + {hascontentelse}

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

{/hascontent} diff --git a/wcfsetup/install/files/acp/templates/dashboardList.tpl b/wcfsetup/install/files/acp/templates/dashboardList.tpl index d393156c0b..9f67b0ba8f 100644 --- a/wcfsetup/install/files/acp/templates/dashboardList.tpl +++ b/wcfsetup/install/files/acp/templates/dashboardList.tpl @@ -1,20 +1,18 @@ {include file='header' pageTitle='wcf.acp.dashboard.list'}
-

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

-
- -
+
+

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

+
+ {hascontent} -
+
@@ -45,16 +43,14 @@
-
+
{hascontent} -
+ {include file='footer'} \ No newline at end of file diff --git a/wcfsetup/install/files/acp/templates/dashboardOption.tpl b/wcfsetup/install/files/acp/templates/dashboardOption.tpl index 699ab7e18c..e8b692a33a 100644 --- a/wcfsetup/install/files/acp/templates/dashboardOption.tpl +++ b/wcfsetup/install/files/acp/templates/dashboardOption.tpl @@ -9,21 +9,21 @@
-

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

-

{lang}wcf.dashboard.objectType.{$objectType->objectType}{/lang}

-
- -

{lang}wcf.acp.dashboard.box.sort{/lang}

- -
-
+ + +

{lang}wcf.acp.dashboard.box.sort{/lang}