1<?php global $conf, $lang, $ACT, $INFO ?> 2 3<div id="pagefooter"> 4 5<?php if ($ACT == "show") { ?> 6 <div class="" style="display:flex"> 7 <a id="btn-prevpage" class="btn invisible"><i class="fas fa-arrow-circle-left"></i> <?php echo tpl_getlang("btn_previous"); ?></a> 8 <a id="btn-nextpage" class="btn invisible" style="margin-left:auto"><?php echo tpl_getlang("btn_next"); ?> <i class="fas fa-arrow-circle-right"></i></a> 9 </div> 10 11 <hr> 12 13 <?php tpl_includeFile('pagefooter.html') ?> 14 15<?php } ?> 16 17<?php if (tpl_getConf("showtoolboxalways_enable") || isset($INFO["userinfo"])) { ?> 18 <nav class="tools" aria-label="<?php echo $lang['tools'] ?>"> 19 <div style="display:flex"> 20 <div id="dokuwiki__sitetools"> 21 <h3><?php echo $lang['site_tools'] ?></h3> 22 <ul> 23 <?php echo (new \dokuwiki\Menu\SiteMenu())->getListItems('action ', false); ?> 24 </ul> 25 </div> 26 27 <div id="dokuwiki__pagetools"> 28 <h3><?php echo $lang['page_tools'] ?></h3> 29 <ul> 30 <?php echo (new \dokuwiki\Menu\PageMenu())->getListItems('action ', false); ?> 31 </ul> 32 </div> 33 34 <?php if ($conf['useacl']): ?> 35 <div id="dokuwiki__usertools"> 36 <h3><?php echo $lang['user_tools'] ?></h3> 37 <ul> 38 <?php 39 if (!empty($_SERVER['REMOTE_USER'])) { 40 echo '<li class="user">'; 41 tpl_userinfo(); 42 echo '</li>'; 43 } 44 ?> 45 <?php echo (new \dokuwiki\Menu\UserMenu())->getListItems('action ', false); ?> 46 </ul> 47 </div> 48 <?php endif ?> 49 </div> 50 <div class="doc"><?php tpl_pageinfo() ?></div> 51 </nav> 52<?php } ?> 53</div> 54