<li id="userMenu" class="dropdown">
<a class="dropdownToggle framed" data-toggle="userMenu">{event name='userAvatar'} {lang}wcf.user.userNote{/lang}</a>
<ul class="dropdownMenu">
- <li><a href="../">FRONTEND</a></li>
- <li class="dropdownDivider"></li>
+ {if PACKAGE_ID > 1}
+ <li><a href="{@$__wcf->getPageMenu()->getLandingPage()->getLink()}">{lang}wcf.global.toLandingPage{/lang}</a></li>
+ <li class="dropdownDivider"></li>
+ {/if}
<li><a href="{link controller='Logout'}t={@SECURITY_TOKEN}{/link}" onclick="WCF.System.Confirmation.show('{lang}wcf.user.logout.sure{/lang}', $.proxy(function (action) { if (action == 'confirm') window.location.href = $(this).attr('href'); }, this)); return false;">{lang}wcf.user.logout{/lang}</a></li>
</ul>
</li>
}
$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));
}
/**
<item name="wcf.global.subject"><![CDATA[Betreff]]></item>
<item name="wcf.global.thousandsSeparator"><![CDATA[.]]></item>
<item name="wcf.global.title"><![CDATA[Titel]]></item>
+ <item name="wcf.global.toLandingPage"><![CDATA[Zur Seite]]></item>
<item name="wcf.global.preview"><![CDATA[Vorschau]]></item>
<item name="wcf.global.multiSelect"><![CDATA[Mehrfache Markierungen sind durch zusätzliches Drücken der Taste „Strg/Ctrl“ (Windows) oder „Befehl/Command“ (Mac OS) möglich.]]></item>
<item name="wcf.global.page.jumpTo"><![CDATA[Gehe zu Seite]]></item>
<item name="wcf.global.subject"><![CDATA[Subject]]></item>
<item name="wcf.global.thousandsSeparator"><![CDATA[,]]></item>
<item name="wcf.global.title"><![CDATA[Title]]></item>
+ <item name="wcf.global.toLandingPage"><![CDATA[To Front Page]]></item>
<item name="wcf.global.preview"><![CDATA[Preview]]></item>
<item name="wcf.global.multiSelect"><![CDATA[Multiple items can be selected by holding the “Ctrl/Shift” key (Windows) or “Command” (Mac OS) key and clicking on the desired items.]]></item>
<item name="wcf.global.page.jumpTo"><![CDATA[Go to Page]]></item>