3 <amp-sidebar id="sidebar" layout="nodisplay">
4 <button on="tap:sidebar.close">{lang}wcf.global.button.close{/lang}</button>
6 <h3>{lang}wcf.menu.page.navigation{/lang}</h3>
8 {foreach from=$__wcf->getBoxHandler()->getBoxByIdentifier('com.woltlab.wcf.MainMenu')->getMenu()->getMenuItemNodeList() item=menuItemNode}
9 {if $menuItemNode->getDepth() == 1 || $menuItemNode->getParentNode()->isActiveNode()}
11 <a href="{$menuItemNode->getURL()}">{$menuItemNode->getTitle()}</a>
13 {if $menuItemNode->hasChildren() && $menuItemNode->isActiveNode()}<ol>{else}</li>{/if}
15 {if !$menuItemNode->hasChildren() && $menuItemNode->isLastSibling()}
16 {@"</ol></li>"|str_repeat:$menuItemNode->getOpenParentNodes()}
21 {if $__wcf->getBoxHandler()->getBoxByIdentifier('com.woltlab.wcf.FooterMenu')}
23 {foreach from=$__wcf->getBoxHandler()->getBoxByIdentifier('com.woltlab.wcf.FooterMenu')->getMenu()->getMenuItemNodeList() item=menuItemNode}
24 <li><a href="{$menuItemNode->getURL()}">{$menuItemNode->getTitle()}</a></li>
28 <h3>{lang}wcf.menu.page.location{/lang}</h3>
29 <ol class="breadcrumbs">
30 {assign var=__breadcrumbsDepth value=0}
31 {foreach from=$__wcf->getBreadcrumbs() item=$breadcrumb}
32 <li><a href="{$breadcrumb->getURL()}">{$breadcrumb->getLabel()}</a></li>
33 {assign var=__breadcrumbsDepth value=$__breadcrumbsDepth + 1}
38 {if MODULE_COOKIE_POLICY_PAGE && !$__wcf->user->userID}
39 <amp-user-notification layout="nodisplay" id="cookie-policy-notice">
40 {lang}wcf.page.cookiePolicy.info{/lang}
41 <button on="tap:cookie-policy-notice.dismiss">{lang}wcf.global.button.close{/lang}</button>
42 </amp-user-notification>
45 <footer class="footer">
46 <div class="copyright">{lang}wcf.page.copyright{/lang}</div>