From: Matthias Schmidt Date: Thu, 1 Mar 2012 18:26:38 +0000 (+0100) Subject: Corrects lang vars/menu item during package installation X-Git-Tag: 2.0.0_Beta_1~1283^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e0b1331c8cb29cf788a31c992555399f9b299b5;p=GitHub%2FWoltLab%2FWCF.git Corrects lang vars/menu item during package installation --- diff --git a/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl b/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl index 27dfb1df8d..852312fea8 100644 --- a/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl +++ b/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl @@ -42,33 +42,33 @@ {/if}
- {lang}wcf.acp.package.view.properties{/lang} + {lang}wcf.acp.package.information.properties{/lang}
-
{lang}wcf.acp.package.view.identifier{/lang}
+
{lang}wcf.acp.package.identifier{/lang}
{$archive->getPackageInfo('name')}
-
{lang}wcf.acp.package.install.version{/lang}
+
{lang}wcf.acp.package.version{/lang}
{$archive->getPackageInfo('version')}
-
{lang}wcf.acp.package.view.date{/lang}
+
{lang}wcf.acp.package.date{/lang}
{@$archive->getPackageInfo('date')|date}
{if $archive->getPackageInfo('packageURL') != ''}
-
{lang}wcf.acp.package.view.url{/lang}
+
{lang}wcf.acp.package.url{/lang}
{$archive->getPackageInfo('packageURL')}
{/if}
-
{lang}wcf.acp.package.view.author{/lang}
-
{if $archive->getPackageInfo('authorURL')}{$archive->getPackageInfo('author')}{else}{$archive->getPackageInfo('author')}{/if}
+
{lang}wcf.acp.package.author{/lang}
+
{if $archive->getAuthorInfo('authorURL')}{$archive->getAuthorInfo('author')}{else}{$archive->getAuthorInfo('author')}{/if}
{event name='propertyFields'} @@ -106,14 +106,14 @@ {if $requiredPackages|count > 0}
-

{lang}wcf.acp.package.view.requiredPackages{/lang} {#$requiredPackages|count}

+

{lang}wcf.acp.package.dependencies.required{/lang} {#$requiredPackages|count}

- - + + diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php index e92e785f7b..106bbc0250 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php @@ -630,7 +630,7 @@ class PackageInstallationDispatcher { $updatableInstances = $this->getArchive()->getUpdatableInstances(); } - ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.package'); + ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.package.install'); WCF::getTPL()->assign(array( 'archive' => $this->getArchive(), 'requiredPackages' => $requirements,
{lang}wcf.acp.package.list.name{/lang}{lang}wcf.acp.package.list.version{/lang}{lang}wcf.acp.package.name{/lang}{lang}wcf.acp.package.version{/lang}