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*b92c574dSJana Deutschländer <div class="nav"><a href="#sidebar-site-tools" 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> 119e264cdcSAndreas Gohr </a></div> 12373f4a8fSAndreas Gohr <div class="nav-panel level1"> 13*b92c574dSJana Deutschländer <ul id="sidebar-site-tools"> 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*b92c574dSJana Deutschländer <div class="nav"><a href="#sidebar-user-tools" 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> 339e264cdcSAndreas Gohr </a></div> 34373f4a8fSAndreas Gohr <div class="nav-panel level1"> 35*b92c574dSJana Deutschländer <ul id="sidebar-user-tools"> 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 511fc95e4dSAndreas Gohr<?php 521fc95e4dSAndreas Gohr/** @var helper_plugin_starred $plugin_starred */ 531fc95e4dSAndreas Gohr$plugin_starred = plugin_load('helper', 'starred'); 541fc95e4dSAndreas Gohr$stars = array(); 551fc95e4dSAndreas Gohrif($plugin_starred) $stars = $plugin_starred->loadStars(); 561fc95e4dSAndreas Gohrif($stars): 571fc95e4dSAndreas Gohr ?> 581fc95e4dSAndreas Gohr <nav class="nav-starred"> 59*b92c574dSJana Deutschländer <div class="nav"><a href="#sidebar-menu-starred" role="heading" aria-level="2"> 601fc95e4dSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/star-circle.svg') ?></span> 611fc95e4dSAndreas Gohr <span class="lbl"><?php echo tpl_getLang('head_menu_starred'); ?></span> 629e264cdcSAndreas Gohr </a></div> 631fc95e4dSAndreas Gohr <div class="nav-panel level1 plugin_starred"> 64*b92c574dSJana Deutschländer <ul id="sidebar-menu-starred"> 651fc95e4dSAndreas Gohr <?php 661fc95e4dSAndreas Gohr foreach($stars as $pid => $time) { 671fc95e4dSAndreas Gohr echo '<li>'; 681fc95e4dSAndreas Gohr echo $plugin_starred->starHtml($ID, $pid); 691fc95e4dSAndreas Gohr echo ' '; 701fc95e4dSAndreas Gohr echo html_wikilink(":$pid"); 711fc95e4dSAndreas Gohr echo '</li>'; 721fc95e4dSAndreas Gohr } 731fc95e4dSAndreas Gohr ?> 741fc95e4dSAndreas Gohr </ul> 751fc95e4dSAndreas Gohr </div> 761fc95e4dSAndreas Gohr </nav> 771fc95e4dSAndreas Gohr<?php endif; ?> 781fc95e4dSAndreas Gohr 791fc95e4dSAndreas Gohr 806c61749bSAndreas Gohr 816c61749bSAndreas Gohr<?php if($conf['breadcrumbs']): ?> 824055de39SAndreas Gohr <nav class="nav-trace"> 83*b92c574dSJana Deutschländer <div class="nav"><a href="#sidebar-menu_trace" role="heading" aria-level="2"> 84fa1028adSAndreas Gohr <span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/apple-safari.svg') ?></span> 85fa1028adSAndreas Gohr <span class="lbl"><?php echo tpl_getLang('head_menu_trace'); ?></span> 869e264cdcSAndreas Gohr </a></div> 87373f4a8fSAndreas Gohr <div class="nav-panel level1"> 88*b92c574dSJana Deutschländer <ul id="sidebar-menu_trace"> 896c61749bSAndreas Gohr <?php /* trace breadcrumbs as list */ 906c61749bSAndreas Gohr // FIXME move to helper class 916c61749bSAndreas Gohr $crumbs = breadcrumbs(); 926c61749bSAndreas Gohr $crumbs = array_reverse($crumbs, true); 936c61749bSAndreas Gohr foreach($crumbs as $id => $name) { 946c61749bSAndreas Gohr echo '<li>'; 9583e6372cSAndreas Gohr tpl_link(wl($id), hsc($name), 'title="' . $id . '"'); 966c61749bSAndreas Gohr echo '</li>'; 976c61749bSAndreas Gohr } 986c61749bSAndreas Gohr ?> 996c61749bSAndreas Gohr </ul> 1006c61749bSAndreas Gohr </div> 1014055de39SAndreas Gohr </nav> 1026c61749bSAndreas Gohr<?php endif ?> 103