Tries to fix ACP menu again
authorMatthias Schmidt <gravatronics@live.com>
Mon, 31 Dec 2012 13:47:31 +0000 (14:47 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 31 Dec 2012 13:47:31 +0000 (14:47 +0100)
commit2a47c3c1882df041b076648ce47a3000677178c8
tree6dc365facc981d503b07a931ae966c5003319034
parentc8e7113a316a82e55b8423f73116a433fcb2e857
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.
wcfsetup/install/files/acp/templates/header.tpl
wcfsetup/install/files/lib/data/acp/menu/item/ACPMenuItem.class.php
wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php