From ee83a476548e1c7081cee924692de2433e89477c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 21 Aug 2011 12:39:17 +0200 Subject: [PATCH] Fixing active status for acp-menu items - CronjobListPage - PackageListPage - UpdateServerListPage - UserGroupListPage --- wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php | 2 +- wcfsetup/install/files/lib/acp/page/PackageListPage.class.php | 2 +- .../install/files/lib/acp/page/UpdateServerListPage.class.php | 2 +- wcfsetup/install/files/lib/acp/page/UserGroupListPage.class.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php b/wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php index fedb95ddb4..307129ffc0 100755 --- a/wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php @@ -67,7 +67,7 @@ class CronjobListPage extends SortablePage { */ public function show() { // set active menu item. - ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.cronjobs.view'); + ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.cronjobs.list'); parent::show(); } diff --git a/wcfsetup/install/files/lib/acp/page/PackageListPage.class.php b/wcfsetup/install/files/lib/acp/page/PackageListPage.class.php index 39062d4393..e0463ab0b2 100755 --- a/wcfsetup/install/files/lib/acp/page/PackageListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/PackageListPage.class.php @@ -74,7 +74,7 @@ class PackageListPage extends SortablePage { */ public function show() { // enable menu item - ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.package.view'); + ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.package.list'); parent::show(); } diff --git a/wcfsetup/install/files/lib/acp/page/UpdateServerListPage.class.php b/wcfsetup/install/files/lib/acp/page/UpdateServerListPage.class.php index f2f76e8e35..250b5b45a3 100755 --- a/wcfsetup/install/files/lib/acp/page/UpdateServerListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/UpdateServerListPage.class.php @@ -81,7 +81,7 @@ class UpdateServerListPage extends SortablePage { */ public function show() { // enable menu item - ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.package.server.view'); + ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.package.server.list'); parent::show(); } diff --git a/wcfsetup/install/files/lib/acp/page/UserGroupListPage.class.php b/wcfsetup/install/files/lib/acp/page/UserGroupListPage.class.php index 128f69751c..d91b79d9d2 100755 --- a/wcfsetup/install/files/lib/acp/page/UserGroupListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/UserGroupListPage.class.php @@ -93,7 +93,7 @@ class UserGroupListPage extends SortablePage { */ public function show() { // enable menu item - ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.group.view'); + ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.group.list'); parent::show(); } -- 2.20.1