From: Alexander Ebert Date: Sat, 18 May 2013 21:37:39 +0000 (+0200) Subject: Fixed frontend link in ACP menu X-Git-Tag: 2.0.0_Beta_1~158^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d4b5ae82df3395ad2b622e81598f535fb3a2d107;p=GitHub%2FWoltLab%2FWCF.git Fixed frontend link in ACP menu --- diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index b9dd0e7c53..b7409c7c61 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -119,8 +119,10 @@ diff --git a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItem.class.php b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItem.class.php index e3b4470ba5..ec4b6fdf6d 100644 --- a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItem.class.php +++ b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItem.class.php @@ -66,7 +66,7 @@ class PageMenuItem extends ProcessibleDatabaseObject implements ITreeMenuItem { } $this->parseController(); - return LinkHandler::getInstance()->getLink($this->controller, array('application' => $this->application), WCF::getLanguage()->get($this->menuItemLink)); + return LinkHandler::getInstance()->getLink($this->controller, array('application' => $this->application, 'forceFrontend' => true), WCF::getLanguage()->get($this->menuItemLink)); } /** diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index e8f9dd5e2f..5b83e959c8 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -1080,6 +1080,7 @@ + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 3a0e8f0a19..7d5fa43ac9 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -1080,6 +1080,7 @@ +