From fdd8b4b6874a2464929adc4943534e7dd6e50af0 Mon Sep 17 00:00:00 2001 From: Luzifr Date: Tue, 26 Jul 2011 02:56:39 +0200 Subject: [PATCH] More templates adapted. More HTML5, some semantical changes, old stuff removed, code-formatting and so on. Still not all correct! --- .../install/files/acp/templates/login.tpl | 5 +- .../files/acp/templates/masterPassword.tpl | 15 ++--- .../acp/templates/masterPasswordInit.tpl | 13 ++-- .../templates/packageInstallationConfirm.tpl | 17 +++-- .../packageInstallationStepPrepare.tpl | 13 ++-- .../packageUninstallationDependencies.tpl | 24 +++---- .../packageUninstallationStepPrepare.tpl | 13 ++-- .../files/acp/templates/packageUpdateAuth.tpl | 14 ++-- .../acp/templates/packageUpdateSearch.tpl | 1 - .../templates/packageUpdateSearchResult.tpl | 12 ++-- .../files/acp/templates/packageView.tpl | 20 +++--- .../files/acp/templates/permissionDenied.tpl | 2 +- .../files/acp/templates/setupHeader.tpl | 64 ++++++------------- .../files/acp/templates/setupWindowHeader.tpl | 32 +++++----- .../files/acp/templates/userAssignToGroup.tpl | 18 +++--- .../acp/templates/userEmailAddressExport.tpl | 15 +++-- .../files/acp/templates/userGroupAdd.tpl | 25 ++++---- .../files/acp/templates/userGroupList.tpl | 27 ++++---- .../files/acp/templates/userSearch.tpl | 1 - 19 files changed, 149 insertions(+), 182 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/login.tpl b/wcfsetup/install/files/acp/templates/login.tpl index a54cd9651f..5552e2c272 100644 --- a/wcfsetup/install/files/acp/templates/login.tpl +++ b/wcfsetup/install/files/acp/templates/login.tpl @@ -9,7 +9,7 @@ -

{@$pageTitle}

+

{@$pageTitle}


@@ -33,7 +33,6 @@

{/if} - @@ -58,4 +57,4 @@ -{include file='setupFooter'} \ No newline at end of file +{include file='setupFooter'} diff --git a/wcfsetup/install/files/acp/templates/masterPassword.tpl b/wcfsetup/install/files/acp/templates/masterPassword.tpl index 0a5232301e..f3cb76b2ba 100644 --- a/wcfsetup/install/files/acp/templates/masterPassword.tpl +++ b/wcfsetup/install/files/acp/templates/masterPassword.tpl @@ -1,12 +1,11 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.masterPassword.enter{/lang}

-
-
- +
+

{lang}wcf.acp.masterPassword.enter{/lang}

+
+ {if $errorField != ''}

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

@@ -46,8 +45,8 @@
- + {@SID_INPUT_TAG}
@@ -61,4 +60,4 @@ //]]> -{include file='footer'} \ No newline at end of file +{include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl b/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl index 9f0b33d1f1..f3127ea229 100644 --- a/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl +++ b/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl @@ -12,13 +12,12 @@ //]]> -
+
-
-

{lang}wcf.acp.masterPassword.init{/lang}

-
-
- +
+

{lang}wcf.acp.masterPassword.init{/lang}

+
+ {if $errorField != ''}

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

@@ -82,8 +81,8 @@
- + {@SID_INPUT_TAG}
diff --git a/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl b/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl index dcf3cdd9ce..6230bb86c9 100644 --- a/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl +++ b/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl @@ -8,13 +8,13 @@ //]]> -
+
-
-

{$archive->getPackageInfo('packageName')}

-

{$archive->getPackageInfo('packageDescription')}

-
-
+
+

{$archive->getPackageInfo('packageName')}

+

{$archive->getPackageInfo('packageDescription')}

+
+ {if $missingPackages > 0}

{lang}wcf.acp.package.install.error{/lang}

@@ -74,7 +74,7 @@ {if $updatableInstances|count > 0} -

{lang}wcf.acp.package.install.updatableInstances.warning{/lang}

+

{lang}wcf.acp.package.install.updatableInstances.warning{/lang}

@@ -131,10 +131,9 @@
- {if $missingPackages == 0 && $excludingPackages|count == 0 && $excludedPackages|count == 0} {/if}
-{include file='footer'} \ No newline at end of file +{include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/packageInstallationStepPrepare.tpl b/wcfsetup/install/files/acp/templates/packageInstallationStepPrepare.tpl index a6eedf13db..50ee8e33c5 100644 --- a/wcfsetup/install/files/acp/templates/packageInstallationStepPrepare.tpl +++ b/wcfsetup/install/files/acp/templates/packageInstallationStepPrepare.tpl @@ -1,13 +1,12 @@
-
+
-
-

Paket »{$queue->packageName}« wird installiert …

-

Aktueller Schritt: {lang}wcf.package.installation.step.prepare{/lang}

+
+

Paket »{$queue->packageName}« wird installiert …

+

Aktueller Schritt: {lang}wcf.package.installation.step.prepare{/lang}

0%

-
-
- + + -{include file='footer'} \ No newline at end of file +{include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/packageUninstallationStepPrepare.tpl b/wcfsetup/install/files/acp/templates/packageUninstallationStepPrepare.tpl index 9ce2068083..485cd97c8d 100644 --- a/wcfsetup/install/files/acp/templates/packageUninstallationStepPrepare.tpl +++ b/wcfsetup/install/files/acp/templates/packageUninstallationStepPrepare.tpl @@ -1,13 +1,12 @@
-
+
-
-

Paket »{$queue->packageName}« wird deinstalliert …

-

Aktueller Schritt: {lang}wcf.package.uninstallation.step.prepare{/lang}

+
+

Paket »{$queue->packageName}« wird deinstalliert …

+

Aktueller Schritt: {lang}wcf.package.uninstallation.step.prepare{/lang}

0%

-
-
- + + - {/if} {include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl b/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl index 08ac297693..65019a9a35 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl @@ -1,12 +1,12 @@ {include file='header'} -
+
-
-

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

-
-
+
+

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

+
+
{pages print=true assign=pagesLinks link="index.php?page=PackageUpdateSearchResult&searchID=$searchID&pageNo=%d&sortField=$sortField&sortOrder=$sortOrder&packageID="|concat:SID_ARG_2ND_NOT_ENCODED} @@ -104,8 +104,8 @@ {/foreach}
- + {@SID_INPUT_TAG} diff --git a/wcfsetup/install/files/acp/templates/packageView.tpl b/wcfsetup/install/files/acp/templates/packageView.tpl index 4095598f0e..603f669982 100644 --- a/wcfsetup/install/files/acp/templates/packageView.tpl +++ b/wcfsetup/install/files/acp/templates/packageView.tpl @@ -133,7 +133,7 @@ {if $package.additionalButtons|isset}{@$package.additionalButtons}{/if} - {@$package.packageID} +

{@$package.packageID}

{if $package.standalone} @@ -143,10 +143,10 @@ {/if} - {$package.packageName}{if $package.instanceNo > 1 && $package.instanceName == ''} (#{#$package.instanceNo}){/if} - {if $package.authorURL}{$package.author}{else}{$package.author}{/if} - {$package.packageVersion} - {@$package.packageDate|date} +

{$package.packageName}{if $package.instanceNo > 1 && $package.instanceName == ''} (#{#$package.instanceNo}){/if}

+ {if $package.authorURL}

{$package.author}{else}{$package.author}

{/if} +

{$package.packageVersion}

+

{@$package.packageDate|date}

{if $package.additionalColumns|isset}{@$package.additionalColumns}{/if} @@ -202,7 +202,7 @@ {if $package.additionalButtons|isset}{@$package.additionalButtons}{/if} - {@$package.packageID} +

{@$package.packageID}

{if $package.standalone} @@ -212,10 +212,10 @@ {/if} - {$package.packageName}{if $package.instanceNo > 1 && $package.instanceName == ''} (#{#$package.instanceNo}){/if} - {if $package.authorURL}{$package.author}{else}{$package.author}{/if} - {$package.packageVersion} - {@$package.packageDate|date} +

{$package.packageName}{if $package.instanceNo > 1 && $package.instanceName == ''} (#{#$package.instanceNo}){/if}

+ {if $package.authorURL}

{$package.author}{else}{$package.author}

{/if} +

{$package.packageVersion}

+

{@$package.packageDate|date}

{if $package.additionalColumns|isset}{@$package.additionalColumns}{/if} diff --git a/wcfsetup/install/files/acp/templates/permissionDenied.tpl b/wcfsetup/install/files/acp/templates/permissionDenied.tpl index 868bf62d5b..206fd66077 100644 --- a/wcfsetup/install/files/acp/templates/permissionDenied.tpl +++ b/wcfsetup/install/files/acp/templates/permissionDenied.tpl @@ -8,7 +8,7 @@ -

{@$pageTitle}

+

{@$pageTitle}


diff --git a/wcfsetup/install/files/acp/templates/setupHeader.tpl b/wcfsetup/install/files/acp/templates/setupHeader.tpl index 4dcd9d7e91..95838514f7 100644 --- a/wcfsetup/install/files/acp/templates/setupHeader.tpl +++ b/wcfsetup/install/files/acp/templates/setupHeader.tpl @@ -1,45 +1,23 @@ - - + - - {@$pageTitle} - {lang}wcf.global.pageTitle{/lang} - - - - - - - - - - - - - -
+ + {@$pageTitle} - {lang}wcf.global.pageTitle{/lang} + + + + + + + + + + +
diff --git a/wcfsetup/install/files/acp/templates/setupWindowHeader.tpl b/wcfsetup/install/files/acp/templates/setupWindowHeader.tpl index f1f75753b2..5751867c7d 100644 --- a/wcfsetup/install/files/acp/templates/setupWindowHeader.tpl +++ b/wcfsetup/install/files/acp/templates/setupWindowHeader.tpl @@ -1,19 +1,19 @@ - - + - - - - - - + } + //]]> + + + -
+
diff --git a/wcfsetup/install/files/acp/templates/userAssignToGroup.tpl b/wcfsetup/install/files/acp/templates/userAssignToGroup.tpl index cd262bd655..7c135934b4 100644 --- a/wcfsetup/install/files/acp/templates/userAssignToGroup.tpl +++ b/wcfsetup/install/files/acp/templates/userAssignToGroup.tpl @@ -1,11 +1,11 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.user.assignToGroup{/lang}

-
-
+
+

{lang}wcf.acp.user.assignToGroup{/lang}

+
+ {if $errorField}

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

@@ -30,9 +30,7 @@
{htmlCheckboxes options=$groups name=groupIDs selected=$groupIDs} {if $errorField == 'groupIDs'} -

- {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} -

+

{if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}

{/if}
@@ -41,11 +39,11 @@
- + {@SID_INPUT_TAG}
-{include file='footer'} \ No newline at end of file +{include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/userEmailAddressExport.tpl b/wcfsetup/install/files/acp/templates/userEmailAddressExport.tpl index e34b5385b1..cae8fe617f 100644 --- a/wcfsetup/install/files/acp/templates/userEmailAddressExport.tpl +++ b/wcfsetup/install/files/acp/templates/userEmailAddressExport.tpl @@ -1,4 +1,5 @@ {include file='header'} + -
+
-
-

{lang}wcf.acp.user.exportEmailAddress{/lang}

-
-
+
+

{lang}wcf.acp.user.exportEmailAddress{/lang}

+
+
@@ -80,11 +81,11 @@
- + {@SID_INPUT_TAG}
-{include file='footer'} \ No newline at end of file +{include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl index 80fa26939f..97b19635e0 100644 --- a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl @@ -1,4 +1,5 @@ {include file='header'} + -
+
-
-

{lang}wcf.acp.group.{@$action}{/lang}

-
-
+
+

{lang}wcf.acp.group.{@$action}{/lang}

+
+ {if $errorField}

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

@@ -27,13 +28,14 @@ {/if}
-
+
+
+
@@ -47,9 +49,7 @@
{if $errorType.groupName|isset} -

- {if $errorType.groupName == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} -

+

{if $errorType.groupName == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}

{/if}
-
-- 2.20.1