Lines Matching defs:nav
24 protected $nav = '';
100 $nav = $INPUT->str('nav');
101 if($nav) {
102 set_doku_pref('nav', $nav);
103 $this->nav = $INPUT->str('nav');
105 $this->nav = get_doku_pref('nav', 'sidebar');
125 $header .= '<li class="' . ($this->nav === 'sidebar' ? 'active' : '') . '">' .
126 '<a href="' . wl($ID, ['nav' => 'sidebar']) . '">'.tpl_getLang('nav_sidebar').'</a></li>';
127 $header .= '<li class="' . ($this->nav === 'sitemap' ? 'active' : '') . '">' .
128 '<a href="' . wl($ID, ['nav' => 'sitemap']) . '">'.tpl_getLang('nav_sitemap').'</a></li>';
133 if ($this->nav === 'sitemap') {
135 $nav = '<nav class="nav-sitemapnavi" id="plugin__sitemapnavi">';
136 $nav .= $this->plugins['sitemapnavi']->getSiteMap(':');
137 $nav .= '</nav>';
140 $nav = '<nav class="nav-main">';
143 $nav .= '<script type="application/javascript">
144 document.getElementsByClassName("nav-main")[0].style.visibility = "hidden";
147 $nav .= $this->getInclude('navtop');
148 $nav .= tpl_include_page($conf['sidebar'], false, true);
149 $nav .= $this->getInclude('navbottom');
150 $nav .= '</nav>';
153 return $header . $nav;