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 28 </div> 29 <?php 30 // PAGE TOOLS 31 if($ACT == 'show'){?> 32 <div id="dokuwiki__pagetools" role="button" aria-label="<?php echo tpl_getLang('page-tools') ?>"> 33 <strong><?php echo inlineSVG(KIWIKI_IMAGES_PATH . 'preferences.svg') ?></strong> 34 <ul> 35 <!-- SITE TOOLS --> 36 <li id="sitemenu"> 37 <?php 38 $items = (new \dokuwiki\Menu\SiteMenu())->getItems(); 39 foreach($items as $item) { 40 echo '<a href="'.$item->getLink().'" title="'.$item->getTitle().'">' 41 .'<span class="icon">'.inlineSVG($item->getSvg()).'</span>' 42 . '<span class="a11y">'.$item->getLabel().'</span>' 43 . '</a>'; 44 } 45 ?> 46 </li> 47 <!-- PAGE TOOLS --> 48 <?php echo (new \dokuwiki\Menu\KiwikiPageMenu())->getListItems('action ', false); ?> 49 </ul> 50 </div> 51 <?php } ?> 52 </div> 53<?php } ?> 54