From b60313d5214bc9f53b6b8716027247cf08c14d3c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 21 Feb 2012 20:17:55 +0100 Subject: [PATCH] Added language variables and missing button --- .../files/acp/templates/packageList.tpl | 2 +- .../acp/templates/packageStartInstall.tpl | 14 +++--- .../files/acp/templates/packageView.tpl | 46 +++++++++---------- wcfsetup/install/lang/de.xml | 32 +++++++++++++ wcfsetup/install/lang/en.xml | 32 +++++++++++++ 5 files changed, 94 insertions(+), 32 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/packageList.tpl b/wcfsetup/install/files/acp/templates/packageList.tpl index cbb3aa3cce..38321763fa 100644 --- a/wcfsetup/install/files/acp/templates/packageList.tpl +++ b/wcfsetup/install/files/acp/templates/packageList.tpl @@ -56,7 +56,7 @@
{$package->package}
-
{lang}wcf.acp.package.installedVersion{/lang}
+
{lang}wcf.acp.package.version{/lang}
{$package->packageVersion}
diff --git a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl index ad785f0068..32846cac57 100644 --- a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl +++ b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl @@ -32,10 +32,10 @@
- {lang}wcf.acp.package.startInstall.source{/lang} + {lang}wcf.acp.package.source{/lang} -
+
{if $errorField == 'uploadPackage'} @@ -46,24 +46,24 @@ {* todo: use language variable (-> else) *}
{$phpRequirements|print_r}
{else} - {lang}wcf.acp.package.startInstall.error.{@$errorType}{/lang} + {lang}wcf.acp.package.error.{@$errorType}{/lang} {/if} {/if} - {lang}wcf.acp.package.startInstall.source.upload.description{/lang} + {lang}wcf.acp.package.source.upload.description{/lang}
-
+
{if $errorField == 'downloadPackage'} - {lang}wcf.acp.package.startInstall.error.{@$errorType}{/lang} + {lang}wcf.acp.package.error.{@$errorType}{/lang} {/if} - {lang}wcf.acp.package.startInstall.source.download.description{/lang} + {lang}wcf.acp.package.source.download.description{/lang}
diff --git a/wcfsetup/install/files/acp/templates/packageView.tpl b/wcfsetup/install/files/acp/templates/packageView.tpl index 3742e209c7..d10e4ee765 100644 --- a/wcfsetup/install/files/acp/templates/packageView.tpl +++ b/wcfsetup/install/files/acp/templates/packageView.tpl @@ -20,7 +20,7 @@ @@ -232,28 +232,26 @@ {/if} {/foreach} -{hascontent} - -{/hascontent} + {include file='footer'} diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 556ae51827..9417383b4b 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -267,10 +267,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 3341dd6004..fa1ed57de7 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -267,10 +267,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.20.1