16c61749bSAndreas Gohr<nav class="nav-main"> 26c61749bSAndreas Gohr <?php /* main navigation, loaded from sidebar, fixed up by javascript */ 36c61749bSAndreas Gohr tpl_include_page($conf['sidebar'], 1, 1); 46c61749bSAndreas Gohr ?> 56c61749bSAndreas Gohr</nav> 66c61749bSAndreas Gohr 76c61749bSAndreas Gohr<nav class="nav-sitetools"> 8*06938c6dSAndreas Gohr <a class="nav" role="heading" aria-level="2"> 9fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/sitemap.svg') ?></span> 10fa1028adSAndreas Gohr <span class="lbl"><?php echo $lang['site_tools']; ?></span> 11*06938c6dSAndreas Gohr </a> 12373f4a8fSAndreas Gohr <div class="nav-panel level1"> 136c61749bSAndreas Gohr <ul> 146c61749bSAndreas Gohr <?php 156c61749bSAndreas Gohr tpl_toolsevent( 166c61749bSAndreas Gohr 'sitetools', 176c61749bSAndreas Gohr array( 186c61749bSAndreas Gohr 'recent' => tpl_action('recent', 1, 'li', 1), 196c61749bSAndreas Gohr 'media' => tpl_action('media', 1, 'li', 1), 206c61749bSAndreas Gohr 'index' => tpl_action('index', 1, 'li', 1), 216c61749bSAndreas Gohr ) 226c61749bSAndreas Gohr ); 236c61749bSAndreas Gohr ?> 246c61749bSAndreas Gohr </ul> 256c61749bSAndreas Gohr </div> 266c61749bSAndreas Gohr</nav> 276c61749bSAndreas Gohr 286c61749bSAndreas Gohr 296c61749bSAndreas Gohr<nav class="nav-usermenu"> 30*06938c6dSAndreas Gohr <a class="nav" role="heading" aria-level="2"> 31fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/account-settings.svg') ?></span> 32fa1028adSAndreas Gohr <span class="lbl"><?php echo $lang['user_tools']; ?></span> 33*06938c6dSAndreas Gohr </> 34373f4a8fSAndreas Gohr <div class="nav-panel level1"> 356c61749bSAndreas Gohr <ul> 366c61749bSAndreas Gohr <?php /* dokuwiki user tools */ 376c61749bSAndreas Gohr tpl_toolsevent( 386c61749bSAndreas Gohr 'usertools', 396c61749bSAndreas Gohr array( 406c61749bSAndreas Gohr 'login' => tpl_action('login', 1, 'li', 1), 41ef84665dSAndreas Gohr 'profile' => tpl_action('profile', 1, 'li', 1), 426c61749bSAndreas Gohr 'admin' => tpl_action('admin', 1, 'li', 1), 436c61749bSAndreas Gohr 'register' => tpl_action('register', 1, 'li', 1), 446c61749bSAndreas Gohr ) 456c61749bSAndreas Gohr ); 466c61749bSAndreas Gohr ?> 476c61749bSAndreas Gohr </ul> 486c61749bSAndreas Gohr </div> 496c61749bSAndreas Gohr</nav> 506c61749bSAndreas Gohr 516c61749bSAndreas Gohr 526c61749bSAndreas Gohr<?php if($conf['breadcrumbs']): ?> 53*06938c6dSAndreas Gohr <a class="nav" role="heading" aria-level="2"> 54fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/apple-safari.svg') ?></span> 55fa1028adSAndreas Gohr <span class="lbl"><?php echo tpl_getLang('head_menu_trace'); ?></span> 56*06938c6dSAndreas Gohr </a> 57373f4a8fSAndreas Gohr <div class="nav-panel level1"> 586c61749bSAndreas Gohr <ul> 596c61749bSAndreas Gohr <?php /* trace breadcrumbs as list */ 606c61749bSAndreas Gohr // FIXME move to helper class 616c61749bSAndreas Gohr $crumbs = breadcrumbs(); 626c61749bSAndreas Gohr $crumbs = array_reverse($crumbs, true); 636c61749bSAndreas Gohr foreach($crumbs as $id => $name) { 646c61749bSAndreas Gohr echo '<li>'; 6583e6372cSAndreas Gohr tpl_link(wl($id), hsc($name), 'title="' . $id . '"'); 666c61749bSAndreas Gohr echo '</li>'; 676c61749bSAndreas Gohr } 686c61749bSAndreas Gohr ?> 696c61749bSAndreas Gohr </ul> 706c61749bSAndreas Gohr </div> 716c61749bSAndreas Gohr<?php endif ?> 72