<nav id="footerNavigation" class="footerNavigation">
<ul>
- <li id="toTopLink" class="toTopLink"><a href="#top" title="{lang}wcf.global.scrollUp{/lang}" class="balloonTooltip"><img src="{@RELATIVE_WCF_DIR}icon/toTop.svg" alt="" /> <span class="invisible">{lang}wcf.global.scrollUp{/lang}</span></a></li>
+ <li id="toTopLink" class="toTopLink"><a href="#top" title="{lang}wcf.global.scrollUp{/lang}" class="balloonTooltip"><img src="{icon size='S'}toTop{/icon}" alt="" /> <span class="invisible">{lang}wcf.global.scrollUp{/lang}</span></a></li>
{if $__wcf->getPageMenu()->getMenuItems('footer')|count > 0}
- <li id="toTopLink" class="toTopLink"><a href="#top" title="{lang}wcf.global.scrollUp{/lang}" class="balloonTooltip"><img src="{@RELATIVE_WCF_DIR}icon/toTop.svg" alt="" /> <span class="invisible">{lang}wcf.global.scrollUp{/lang}</span></a></li>
{foreach from=$__wcf->getPageMenu()->getMenuItems('footer') item=menuItem}
<li><a href="{$menuItem->menuItemLink}">{$menuItem->menuItem} ({#$menuItem->getProcessor()->getNotifications()})</a></li>
{/foreach}
{event name='stylesheetImport'}
</style>
+<noscript>
+ <style type="text/css">
+ .javascriptOnly {
+ display: none !important;
+ }
+ </style>
+</noscript>
+
<script type="text/javascript">
//<![CDATA[
$(function() {
<nav class="headerNavigation">
<div>
<ul>
+ <li id="toBottomLink" class="toBottomLink"><a href="#bottom" title="{lang}wcf.global.scrollDown{/lang}" class="balloonTooltip"><img src="{icon size='S'}toBottom{/icon}" alt="" /> <span class="invisible">{lang}wcf.global.scrollDown{/lang}</span></a></li>
{event name='headerNavigation'}
- <li id="toBottomLink" class="toBottomLink"><a href="#bottom" title="{lang}wcf.global.scrollDown{/lang}" class="balloonTooltip"><img src="{@RELATIVE_WCF_DIR}icon/toBottom.svg" alt="" /> <span class="invisible">{lang}wcf.global.scrollDown{/lang}</span></a></li>
</ul>
</div>
</nav>
// read data
$this->readData();
+ // try to guess template name
+ if (empty($this->templateName)) {
+ $classParts = explode('\\', get_class($this));
+ $className = preg_replace('~(Form|Page)$~', '', array_pop($classParts));
+ $this->templateName = lcfirst($className);
+ }
+
// assign variables
$this->assignVariables();
EventHandler::getInstance()->fireAction($this, 'show');
if ($this->useTemplate) {
- // try to guess template name
- if (empty($this->templateName)) {
- $classParts = explode('\\', get_class($this));
- $className = preg_replace('~(Form|Page)$~', '', array_pop($classParts));
- $this->templateName = lcfirst($className);
- }
-
// show template
WCF::getTPL()->display($this->templateName);
}