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"> 10fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/sitemap.svg') ?></span> 11fa1028adSAndreas 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"> 32fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/account-settings.svg') ?></span> 33fa1028adSAndreas Gohr <span class="lbl"><?php echo $lang['user_tools']; ?></span> 34fa1028adSAndreas 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), 42*ef84665dSAndreas Gohr 'profile' => tpl_action('profile', 1, 'li', 1), 436c61749bSAndreas Gohr 'admin' => tpl_action('admin', 1, 'li', 1), 446c61749bSAndreas Gohr 'register' => tpl_action('register', 1, 'li', 1), 456c61749bSAndreas Gohr ) 466c61749bSAndreas Gohr ); 476c61749bSAndreas Gohr ?> 486c61749bSAndreas Gohr </ul> 496c61749bSAndreas Gohr </div> 506c61749bSAndreas Gohr</nav> 516c61749bSAndreas Gohr 526c61749bSAndreas Gohr 536c61749bSAndreas Gohr<?php if($conf['breadcrumbs']): ?> 546c61749bSAndreas Gohr <nav class="nav-trace"> 556c61749bSAndreas Gohr <h6 role="heading" aria-level="2"> 56fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/apple-safari.svg') ?></span> 57fa1028adSAndreas Gohr <span class="lbl"><?php echo tpl_getLang('head_menu_trace'); ?></span> 58fa1028adSAndreas Gohr </h6> 59373f4a8fSAndreas Gohr <div class="nav-panel level1"> 606c61749bSAndreas Gohr <ul> 616c61749bSAndreas Gohr <?php /* trace breadcrumbs as list */ 626c61749bSAndreas Gohr // FIXME move to helper class 636c61749bSAndreas Gohr $crumbs = breadcrumbs(); 646c61749bSAndreas Gohr $crumbs = array_reverse($crumbs, true); 656c61749bSAndreas Gohr foreach($crumbs as $id => $name) { 666c61749bSAndreas Gohr echo '<li>'; 6783e6372cSAndreas Gohr tpl_link(wl($id), hsc($name), 'title="' . $id . '"'); 686c61749bSAndreas Gohr echo '</li>'; 696c61749bSAndreas Gohr } 706c61749bSAndreas Gohr ?> 716c61749bSAndreas Gohr </ul> 726c61749bSAndreas Gohr </div> 736c61749bSAndreas Gohr </nav> 746c61749bSAndreas Gohr<?php endif ?> 75