From 2a47c3c1882df041b076648ce47a3000677178c8 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 31 Dec 2012 14:47:31 +0100 Subject: [PATCH] Tries to fix ACP menu again Those top option category links are trying really hard to make one's life miserable. Previously, the session ID of the active user was cached in the top option category links, which will break them in other sessions/for other users. Now, since these links are different and included in the core, `ACPMenuItem` is allowed to know that there are such "special" links and this it can handle them by building the link with the id of the option category which is cached with them as a "special" value. --- .../install/files/acp/templates/header.tpl | 6 +++--- .../data/acp/menu/item/ACPMenuItem.class.php | 21 ++++++++++++++----- .../builder/ACPMenuCacheBuilder.class.php | 6 ++---- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index 7195abf09e..6c3eab09a4 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -180,17 +180,17 @@