debug show or hide sidebar in edit mode

This commit is contained in:
Jana Deutschländer 2017-01-04 16:04:15 +01:00
commit 605f78d818
3 changed files with 13 additions and 4 deletions

View file

@ -1,5 +1,6 @@
<?php
if (!defined('DOKU_INC')) die();
if ($showSidebar):
echo "<nav class=\"nav-main\">";
echo "<h6 class=\"sr-only\" role=\"heading\" aria-level=\"2\">".tpl_getLang('head_menu_main')."</h6>";
@ -8,3 +9,4 @@
echo PHP_EOL;
echo "</nav>";
endif ?>