From 7f4589b6d26883f8cc4a8068d3996aa5a34a30ee Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 24 Feb 2012 16:13:56 +0100 Subject: [PATCH] Improved update dialog Closes #445 --- .../files/lib/acp/form/PackageStartInstallForm.class.php | 5 ++++- wcfsetup/install/lang/de.xml | 2 +- wcfsetup/install/lang/en.xml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php b/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php index 016fabbb02..5fac5d04b8 100755 --- a/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php @@ -254,7 +254,10 @@ class PackageStartInstallForm extends ACPForm { */ public function show() { if ($this->action == 'install') WCF::getSession()->checkPermissions(array('admin.system.package.canInstallPackage')); - else WCF::getSession()->checkPermissions(array('admin.system.package.canUpdatePackage')); + else { + WCF::getSession()->checkPermissions(array('admin.system.package.canUpdatePackage')); + $this->activeMenuItem = 'wcf.acp.menu.link.package'; + } // check master password WCFACP::checkMasterPassword(); diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 67949b13cf..e674eccfdb 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -307,7 +307,7 @@ - + packageName}“ aktualisieren]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 2f464a3502..7e243e99c6 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -307,7 +307,7 @@ - + packageName}”]]> -- 2.20.1