From: Matthias Schmidt Date: Fri, 4 Jan 2019 16:53:13 +0000 (+0100) Subject: Change ACP edit forms' active menu item to list menu item X-Git-Tag: 5.2.0_Alpha_1~380 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f02cfd96f78c719bc0a676fce95b8f775ec07036;p=GitHub%2FWoltLab%2FWCF.git Change ACP edit forms' active menu item to list menu item … and do the same for some non-edit forms, too. See #2816 --- diff --git a/wcfsetup/install/files/lib/acp/form/AdEditForm.class.php b/wcfsetup/install/files/lib/acp/form/AdEditForm.class.php index 9a8028c280..ddd4335a7b 100644 --- a/wcfsetup/install/files/lib/acp/form/AdEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/AdEditForm.class.php @@ -19,7 +19,7 @@ class AdEditForm extends AdAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.ad'; + public $activeMenuItem = 'wcf.acp.menu.link.ad.list'; /** * id of the edited ad diff --git a/wcfsetup/install/files/lib/acp/form/ApplicationEditForm.class.php b/wcfsetup/install/files/lib/acp/form/ApplicationEditForm.class.php index f314fc52e5..9870340a69 100644 --- a/wcfsetup/install/files/lib/acp/form/ApplicationEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/ApplicationEditForm.class.php @@ -29,7 +29,7 @@ class ApplicationEditForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.package'; + public $activeMenuItem = 'wcf.acp.menu.link.application.management'; /** * viewable application object diff --git a/wcfsetup/install/files/lib/acp/form/BBCodeEditForm.class.php b/wcfsetup/install/files/lib/acp/form/BBCodeEditForm.class.php index e4abff3b1e..b0e5fda2d0 100644 --- a/wcfsetup/install/files/lib/acp/form/BBCodeEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/BBCodeEditForm.class.php @@ -21,7 +21,7 @@ class BBCodeEditForm extends BBCodeAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.bbcode'; + public $activeMenuItem = 'wcf.acp.menu.link.bbcode.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/BBCodeMediaProviderEditForm.class.php b/wcfsetup/install/files/lib/acp/form/BBCodeMediaProviderEditForm.class.php index b105cad9e0..2115522ba2 100644 --- a/wcfsetup/install/files/lib/acp/form/BBCodeMediaProviderEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/BBCodeMediaProviderEditForm.class.php @@ -18,7 +18,7 @@ class BBCodeMediaProviderEditForm extends BBCodeMediaProviderAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.bbcode'; + public $activeMenuItem = 'wcf.acp.menu.link.bbcode.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php b/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php index fd9186a83e..5ad3544847 100644 --- a/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php @@ -19,7 +19,7 @@ class CaptchaQuestionEditForm extends CaptchaQuestionAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.other'; + public $activeMenuItem = 'wcf.acp.menu.link.captcha.question.list'; /** * edited captcha question diff --git a/wcfsetup/install/files/lib/acp/form/CronjobEditForm.class.php b/wcfsetup/install/files/lib/acp/form/CronjobEditForm.class.php index 6248bc9b42..942859adca 100755 --- a/wcfsetup/install/files/lib/acp/form/CronjobEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/CronjobEditForm.class.php @@ -19,7 +19,7 @@ class CronjobEditForm extends CronjobAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.maintenance'; + public $activeMenuItem = 'wcf.acp.menu.link.cronjob.list'; /** * cronjob id diff --git a/wcfsetup/install/files/lib/acp/form/LabelEditForm.class.php b/wcfsetup/install/files/lib/acp/form/LabelEditForm.class.php index 06529bdf8a..d11297f8d3 100644 --- a/wcfsetup/install/files/lib/acp/form/LabelEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/LabelEditForm.class.php @@ -20,7 +20,7 @@ class LabelEditForm extends LabelAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.label'; + public $activeMenuItem = 'wcf.acp.menu.link.label.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/LabelGroupEditForm.class.php b/wcfsetup/install/files/lib/acp/form/LabelGroupEditForm.class.php index 4354108787..f74ea9362a 100644 --- a/wcfsetup/install/files/lib/acp/form/LabelGroupEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/LabelGroupEditForm.class.php @@ -20,7 +20,7 @@ class LabelGroupEditForm extends LabelGroupAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.label'; + public $activeMenuItem = 'wcf.acp.menu.link.label.group.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/LanguageAddForm.class.php b/wcfsetup/install/files/lib/acp/form/LanguageAddForm.class.php index 1f03d33269..23ce09b1a0 100644 --- a/wcfsetup/install/files/lib/acp/form/LanguageAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/LanguageAddForm.class.php @@ -20,7 +20,7 @@ class LanguageAddForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.language'; + public $activeMenuItem = 'wcf.acp.menu.link.language.list'; /** * country code diff --git a/wcfsetup/install/files/lib/acp/form/LanguageExportForm.class.php b/wcfsetup/install/files/lib/acp/form/LanguageExportForm.class.php index 6b2a5ec29a..b298f3b160 100644 --- a/wcfsetup/install/files/lib/acp/form/LanguageExportForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/LanguageExportForm.class.php @@ -21,7 +21,7 @@ class LanguageExportForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.language'; + public $activeMenuItem = 'wcf.acp.menu.link.language.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/NoticeEditForm.class.php b/wcfsetup/install/files/lib/acp/form/NoticeEditForm.class.php index 9b09fe2a35..01c19442b9 100644 --- a/wcfsetup/install/files/lib/acp/form/NoticeEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/NoticeEditForm.class.php @@ -21,7 +21,7 @@ class NoticeEditForm extends NoticeAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.notice'; + public $activeMenuItem = 'wcf.acp.menu.link.notice.list'; /** * edited notice object diff --git a/wcfsetup/install/files/lib/acp/form/PackageUpdateServerEditForm.class.php b/wcfsetup/install/files/lib/acp/form/PackageUpdateServerEditForm.class.php index 4192071f73..68ecb76e60 100755 --- a/wcfsetup/install/files/lib/acp/form/PackageUpdateServerEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PackageUpdateServerEditForm.class.php @@ -15,6 +15,11 @@ use wcf\system\WCF; * @package WoltLabSuite\Core\Acp\Form */ class PackageUpdateServerEditForm extends PackageUpdateServerAddForm { + /** + * @inheritDoc + */ + public $activeMenuItem = 'wcf.acp.menu.link.package.server.list'; + /** * update server id * @var integer diff --git a/wcfsetup/install/files/lib/acp/form/PaidSubscriptionEditForm.class.php b/wcfsetup/install/files/lib/acp/form/PaidSubscriptionEditForm.class.php index 100a961747..ffa43a9692 100644 --- a/wcfsetup/install/files/lib/acp/form/PaidSubscriptionEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PaidSubscriptionEditForm.class.php @@ -17,6 +17,11 @@ use wcf\system\WCF; * @package WoltLabSuite\Core\Acp\Form */ class PaidSubscriptionEditForm extends PaidSubscriptionAddForm { + /** + * @inheritDoc + */ + public $activeMenuItem = 'wcf.acp.menu.link.paidSubscription.list'; + /** * id of the edited subscription * @var integer diff --git a/wcfsetup/install/files/lib/acp/form/PaidSubscriptionUserAddForm.class.php b/wcfsetup/install/files/lib/acp/form/PaidSubscriptionUserAddForm.class.php index 48ae234398..11f76c5c14 100644 --- a/wcfsetup/install/files/lib/acp/form/PaidSubscriptionUserAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PaidSubscriptionUserAddForm.class.php @@ -23,7 +23,7 @@ class PaidSubscriptionUserAddForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.paidSubscription'; + public $activeMenuItem = 'wcf.acp.menu.link.paidSubscription.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/ReactionTypeEditForm.class.php b/wcfsetup/install/files/lib/acp/form/ReactionTypeEditForm.class.php index c4eb369ed5..374b200882 100644 --- a/wcfsetup/install/files/lib/acp/form/ReactionTypeEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/ReactionTypeEditForm.class.php @@ -13,6 +13,11 @@ use wcf\system\exception\IllegalLinkException; * @since 3.2 */ class ReactionTypeEditForm extends ReactionTypeAddForm { + /** + * @inheritDoc + */ + public $activeMenuItem = 'wcf.acp.menu.link.reactionType.list'; + /** * @inheritDoc */ diff --git a/wcfsetup/install/files/lib/acp/form/SitemapEditForm.class.php b/wcfsetup/install/files/lib/acp/form/SitemapEditForm.class.php index 674d11596c..4c3d47f64d 100755 --- a/wcfsetup/install/files/lib/acp/form/SitemapEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/SitemapEditForm.class.php @@ -26,7 +26,7 @@ class SitemapEditForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.maintenance'; + public $activeMenuItem = 'wcf.acp.menu.link.maintenance.sitemap'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/SmileyEditForm.class.php b/wcfsetup/install/files/lib/acp/form/SmileyEditForm.class.php index 2410439157..3a7f47b70d 100644 --- a/wcfsetup/install/files/lib/acp/form/SmileyEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/SmileyEditForm.class.php @@ -19,7 +19,7 @@ class SmileyEditForm extends SmileyAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.smiley'; + public $activeMenuItem = 'wcf.acp.menu.link.smiley.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php b/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php index c52b89d722..29aaf91063 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php @@ -20,7 +20,7 @@ class StyleEditForm extends StyleAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.style'; + public $activeMenuItem = 'wcf.acp.menu.link.style.list'; /** * style object diff --git a/wcfsetup/install/files/lib/acp/form/StyleExportForm.class.php b/wcfsetup/install/files/lib/acp/form/StyleExportForm.class.php index e44cdb50d9..51e7bd904f 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleExportForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleExportForm.class.php @@ -18,7 +18,7 @@ class StyleExportForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.style'; + public $activeMenuItem = 'wcf.acp.menu.link.style.list'; /** * true, if style has custom images diff --git a/wcfsetup/install/files/lib/acp/form/TagEditForm.class.php b/wcfsetup/install/files/lib/acp/form/TagEditForm.class.php index aba51b718d..3ee4406807 100644 --- a/wcfsetup/install/files/lib/acp/form/TagEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TagEditForm.class.php @@ -20,7 +20,7 @@ class TagEditForm extends TagAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.tag'; + public $activeMenuItem = 'wcf.acp.menu.link.tag.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/TemplateEditForm.class.php b/wcfsetup/install/files/lib/acp/form/TemplateEditForm.class.php index b65369a5b4..42175d8a55 100644 --- a/wcfsetup/install/files/lib/acp/form/TemplateEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TemplateEditForm.class.php @@ -18,7 +18,7 @@ class TemplateEditForm extends TemplateAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.template'; + public $activeMenuItem = 'wcf.acp.menu.link.template.list'; /** * template id diff --git a/wcfsetup/install/files/lib/acp/form/TemplateGroupEditForm.class.php b/wcfsetup/install/files/lib/acp/form/TemplateGroupEditForm.class.php index b8efa0218a..0594b798c8 100644 --- a/wcfsetup/install/files/lib/acp/form/TemplateGroupEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TemplateGroupEditForm.class.php @@ -19,7 +19,7 @@ class TemplateGroupEditForm extends TemplateGroupAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.template'; + public $activeMenuItem = 'wcf.acp.menu.link.template.group.list'; /** * template group id diff --git a/wcfsetup/install/files/lib/acp/form/TrophyCategoryEditForm.class.php b/wcfsetup/install/files/lib/acp/form/TrophyCategoryEditForm.class.php index 1c8687abfd..0ba407897e 100644 --- a/wcfsetup/install/files/lib/acp/form/TrophyCategoryEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TrophyCategoryEditForm.class.php @@ -14,7 +14,7 @@ class TrophyCategoryEditForm extends AbstractCategoryEditForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.trophy'; + public $activeMenuItem = 'wcf.acp.menu.link.trophy.category.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/TrophyEditForm.class.php b/wcfsetup/install/files/lib/acp/form/TrophyEditForm.class.php index 55a456ed5a..047fc0ccf0 100644 --- a/wcfsetup/install/files/lib/acp/form/TrophyEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TrophyEditForm.class.php @@ -25,7 +25,7 @@ class TrophyEditForm extends TrophyAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.trophy'; + public $activeMenuItem = 'wcf.acp.menu.link.trophy.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/UserAssignToGroupForm.class.php b/wcfsetup/install/files/lib/acp/form/UserAssignToGroupForm.class.php index ba87e72acb..2ad002d3a1 100755 --- a/wcfsetup/install/files/lib/acp/form/UserAssignToGroupForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserAssignToGroupForm.class.php @@ -32,7 +32,7 @@ class UserAssignToGroupForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.user.management'; + public $activeMenuItem = 'wcf.acp.menu.link.user.list'; /** * ids of the relevant users diff --git a/wcfsetup/install/files/lib/acp/form/UserContentRevertChangesForm.class.php b/wcfsetup/install/files/lib/acp/form/UserContentRevertChangesForm.class.php index 6548e0da02..c3f7db8591 100644 --- a/wcfsetup/install/files/lib/acp/form/UserContentRevertChangesForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserContentRevertChangesForm.class.php @@ -30,7 +30,7 @@ class UserContentRevertChangesForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.user.management'; + public $activeMenuItem = 'wcf.acp.menu.link.user.list'; /** * ids of the relevant users diff --git a/wcfsetup/install/files/lib/acp/form/UserEditForm.class.php b/wcfsetup/install/files/lib/acp/form/UserEditForm.class.php index c6ea0be490..98de7b174f 100755 --- a/wcfsetup/install/files/lib/acp/form/UserEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserEditForm.class.php @@ -30,7 +30,7 @@ class UserEditForm extends UserAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.user.management'; + public $activeMenuItem = 'wcf.acp.menu.link.user.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/UserEmailAddressExportForm.class.php b/wcfsetup/install/files/lib/acp/form/UserEmailAddressExportForm.class.php index db0a9942c0..3da43192e9 100755 --- a/wcfsetup/install/files/lib/acp/form/UserEmailAddressExportForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserEmailAddressExportForm.class.php @@ -21,7 +21,7 @@ class UserEmailAddressExportForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.user.management'; + public $activeMenuItem = 'wcf.acp.menu.link.user.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/UserGroupAssignmentEditForm.class.php b/wcfsetup/install/files/lib/acp/form/UserGroupAssignmentEditForm.class.php index 97121cd6d9..873f0d65df 100644 --- a/wcfsetup/install/files/lib/acp/form/UserGroupAssignmentEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserGroupAssignmentEditForm.class.php @@ -16,6 +16,11 @@ use wcf\system\WCF; * @package WoltLabSuite\Core\Acp\Form */ class UserGroupAssignmentEditForm extends UserGroupAssignmentAddForm { + /** + * @inheritDoc + */ + public $activeMenuItem = 'wcf.acp.menu.link.group.assignment'; + /** * edited automatic user group assignment * @var UserGroupAssignment diff --git a/wcfsetup/install/files/lib/acp/form/UserGroupEditForm.class.php b/wcfsetup/install/files/lib/acp/form/UserGroupEditForm.class.php index 092486daea..79f81dc5a6 100755 --- a/wcfsetup/install/files/lib/acp/form/UserGroupEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserGroupEditForm.class.php @@ -21,7 +21,7 @@ class UserGroupEditForm extends UserGroupAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.group'; + public $activeMenuItem = 'wcf.acp.menu.link.group.list'; /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/acp/form/UserMailForm.class.php b/wcfsetup/install/files/lib/acp/form/UserMailForm.class.php index ad6333d55a..04bc1c71b3 100755 --- a/wcfsetup/install/files/lib/acp/form/UserMailForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserMailForm.class.php @@ -94,7 +94,7 @@ class UserMailForm extends AbstractForm { if (isset($_GET['id'])) $this->userID = intval($_GET['id']); - $this->activeMenuItem = ($this->action == 'all' ? 'wcf.acp.menu.link.user.mail' : ($this->action == 'group' ? 'wcf.acp.menu.link.group.mail' : 'wcf.acp.menu.link.user.management')); + $this->activeMenuItem = ($this->action == 'all' ? 'wcf.acp.menu.link.user.mail' : ($this->action == 'group' ? 'wcf.acp.menu.link.group.mail' : 'wcf.acp.menu.link.user.list')); } /** diff --git a/wcfsetup/install/files/lib/acp/form/UserMergeForm.class.php b/wcfsetup/install/files/lib/acp/form/UserMergeForm.class.php index cc9487ee2b..d6d587bede 100644 --- a/wcfsetup/install/files/lib/acp/form/UserMergeForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserMergeForm.class.php @@ -28,7 +28,7 @@ class UserMergeForm extends AbstractForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.user.management'; + public $activeMenuItem = 'wcf.acp.menu.link.user.list'; /** * ids of the relevant users diff --git a/wcfsetup/install/files/lib/acp/form/UserOptionCategoryEditForm.class.php b/wcfsetup/install/files/lib/acp/form/UserOptionCategoryEditForm.class.php index a6ed3f33e8..1a3b07d980 100644 --- a/wcfsetup/install/files/lib/acp/form/UserOptionCategoryEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserOptionCategoryEditForm.class.php @@ -19,7 +19,7 @@ class UserOptionCategoryEditForm extends UserOptionCategoryAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.user.option'; + public $activeMenuItem = 'wcf.acp.menu.link.user.option.category.list'; /** * category id diff --git a/wcfsetup/install/files/lib/acp/form/UserOptionEditForm.class.php b/wcfsetup/install/files/lib/acp/form/UserOptionEditForm.class.php index ff58f132b1..566803a63b 100644 --- a/wcfsetup/install/files/lib/acp/form/UserOptionEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserOptionEditForm.class.php @@ -19,7 +19,7 @@ class UserOptionEditForm extends UserOptionAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.user.option'; + public $activeMenuItem = 'wcf.acp.menu.link.user.option.list'; /** * user option id diff --git a/wcfsetup/install/files/lib/acp/form/UserRankEditForm.class.php b/wcfsetup/install/files/lib/acp/form/UserRankEditForm.class.php index c6f35c4215..2a973ac5de 100644 --- a/wcfsetup/install/files/lib/acp/form/UserRankEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserRankEditForm.class.php @@ -19,7 +19,7 @@ class UserRankEditForm extends UserRankAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.user.rank'; + public $activeMenuItem = 'wcf.acp.menu.link.user.rank.list'; /** * rank id diff --git a/wcfsetup/install/files/lib/acp/form/UserTrophyEditForm.class.php b/wcfsetup/install/files/lib/acp/form/UserTrophyEditForm.class.php index 71217f8293..5f86f918d2 100644 --- a/wcfsetup/install/files/lib/acp/form/UserTrophyEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserTrophyEditForm.class.php @@ -19,7 +19,7 @@ class UserTrophyEditForm extends UserTrophyAddForm { /** * @inheritDoc */ - public $activeMenuItem = 'wcf.acp.menu.link.trophy'; + public $activeMenuItem = 'wcf.acp.menu.link.userTrophy.list'; /** * @inheritDoc