1<?php 2/* disable breadcrumb on login and denied pages */ 3if(($ACT!="login") && ($ACT!="denied")){ 4 ?><div class="before-content"><?php 5 /* BREADCRUMBS */ 6 if($conf['breadcrumbs']){?> 7 <div class="breadcrumbs"> 8 <?php tpl_breadcrumbs() ;?> 9 </div> 10 <?php } 11 if($conf['youarehere']){?> 12 <div class="youarehere"> 13 <?php tpl_youarehere() ;?> 14 </div> 15 <?php } 16 17 ?> 18 <div id="dokuwiki__right_before"> 19 <?php 20 // TRANSLATION SWITCHER 21 $translation = plugin_load('helper','translation'); 22 if ($translation){ 23 echo '<div class="translation-switcher">' . $translation->showTranslations() . '</div>'; 24 } 25 // PAGE TOOLS 26 ?> 27 <div id="dokuwiki__pagetools"> 28 <strong><?php echo inlineSVG(KIWIKI_IMAGES_PATH . 'preferences.svg') ?></strong> 29 <ul> 30 <!-- SITE TOOLS --> 31 <li id="sitemenu"> 32 <?php 33 $items = (new \dokuwiki\Menu\SiteMenu())->getItems(); 34 foreach($items as $item) { 35 echo '<a href="'.$item->getLink().'" title="'.$item->getTitle().'">' 36 .'<span class="icon">'.inlineSVG($item->getSvg()).'</span>' 37 . '<span class="a11y">'.$item->getLabel().'</span>' 38 . '</a>'; 39 } 40 ?> 41 </li> 42 <!-- PAGE TOOLS --> 43 <?php echo (new \dokuwiki\Menu\KiwikiPageMenu())->getListItems('action ', false); ?> 44 </ul> 45 </div> 46 </div> 47 </div> 48<?php } ?> 49