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 86c61749bSAndreas Gohr<nav class="nav-sitetools"> 96c61749bSAndreas Gohr <h6 role="heading" aria-level="2"> 10*fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/sitemap.svg') ?></span> 11*fa1028adSAndreas Gohr <span class="lbl"><?php echo $lang['site_tools']; ?></span> 126c61749bSAndreas Gohr </h6> 13373f4a8fSAndreas Gohr <div class="nav-panel level1"> 146c61749bSAndreas Gohr <ul> 156c61749bSAndreas Gohr <?php 166c61749bSAndreas Gohr tpl_toolsevent( 176c61749bSAndreas Gohr 'sitetools', 186c61749bSAndreas Gohr array( 196c61749bSAndreas Gohr 'recent' => tpl_action('recent', 1, 'li', 1), 206c61749bSAndreas Gohr 'media' => tpl_action('media', 1, 'li', 1), 216c61749bSAndreas Gohr 'index' => tpl_action('index', 1, 'li', 1), 226c61749bSAndreas Gohr ) 236c61749bSAndreas Gohr ); 246c61749bSAndreas Gohr ?> 256c61749bSAndreas Gohr </ul> 266c61749bSAndreas Gohr </div> 276c61749bSAndreas Gohr</nav> 286c61749bSAndreas Gohr 296c61749bSAndreas Gohr 306c61749bSAndreas Gohr<nav class="nav-usermenu"> 316c61749bSAndreas Gohr <h6 role="heading" aria-level="2"> 32*fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/account-settings.svg') ?></span> 33*fa1028adSAndreas Gohr <span class="lbl"><?php echo $lang['user_tools']; ?></span> 34*fa1028adSAndreas Gohr </h6> 35373f4a8fSAndreas Gohr <div class="nav-panel level1"> 366c61749bSAndreas Gohr <ul> 376c61749bSAndreas Gohr <?php /* dokuwiki user tools */ 386c61749bSAndreas Gohr tpl_toolsevent( 396c61749bSAndreas Gohr 'usertools', 406c61749bSAndreas Gohr array( 416c61749bSAndreas Gohr 'login' => tpl_action('login', 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']): ?> 536c61749bSAndreas Gohr <nav class="nav-trace"> 546c61749bSAndreas Gohr <h6 role="heading" aria-level="2"> 55*fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/apple-safari.svg') ?></span> 56*fa1028adSAndreas Gohr <span class="lbl"><?php echo tpl_getLang('head_menu_trace'); ?></span> 57*fa1028adSAndreas Gohr </h6> 58373f4a8fSAndreas Gohr <div class="nav-panel level1"> 596c61749bSAndreas Gohr <ul> 606c61749bSAndreas Gohr <?php /* trace breadcrumbs as list */ 616c61749bSAndreas Gohr // FIXME move to helper class 626c61749bSAndreas Gohr $crumbs = breadcrumbs(); 636c61749bSAndreas Gohr $crumbs = array_reverse($crumbs, true); 646c61749bSAndreas Gohr foreach($crumbs as $id => $name) { 656c61749bSAndreas Gohr echo '<li>'; 6683e6372cSAndreas Gohr tpl_link(wl($id), hsc($name), 'title="' . $id . '"'); 676c61749bSAndreas Gohr echo '</li>'; 686c61749bSAndreas Gohr } 696c61749bSAndreas Gohr ?> 706c61749bSAndreas Gohr </ul> 716c61749bSAndreas Gohr </div> 726c61749bSAndreas Gohr </nav> 736c61749bSAndreas Gohr<?php endif ?> 74