Remove $showTools, because it is set to true
Since the config-option for hide-tools no longer exists, this variable has become superflous.
This commit is contained in:
parent
e302d67fb6
commit
270380eb00
2 changed files with 17 additions and 18 deletions
|
@ -1,24 +1,23 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('DOKU_INC')) die();
|
if (!defined('DOKU_INC')) {
|
||||||
|
die();
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if ($showTools): ?>
|
|
||||||
<nav id="dokuwiki__pagetools">
|
|
||||||
<div class="tools">
|
|
||||||
|
|
||||||
<?php include('nav-status.php');?>
|
<nav id="dokuwiki__pagetools">
|
||||||
<ul>
|
<div class="tools">
|
||||||
<?php
|
|
||||||
$data = dokuwiki\template\sprintdoc\tpl::assemblePageTools();
|
|
||||||
|
|
||||||
foreach ($data['items'] as $k => $html) {
|
<?php include('nav-status.php'); ?>
|
||||||
echo $html;
|
<ul>
|
||||||
}
|
<?php
|
||||||
|
$data = dokuwiki\template\sprintdoc\tpl::assemblePageTools();
|
||||||
|
|
||||||
|
foreach ($data['items'] as $k => $html) {
|
||||||
|
echo $html;
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
?>
|
</ul>
|
||||||
</ul>
|
</div>
|
||||||
</div>
|
</nav>
|
||||||
</nav>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('DOKU_INC')) die();
|
if (!defined('DOKU_INC')) die();
|
||||||
|
|
||||||
if ($conf['useacl'] && $showTools): ?>
|
if ($conf['useacl']): ?>
|
||||||
|
|
||||||
<nav id="dokuwiki__usertools" class="nav-usertools <?php echo $navClass?>">
|
<nav id="dokuwiki__usertools" class="nav-usertools <?php echo $navClass?>">
|
||||||
<h6 class="sr-only" role="heading" aria-level="2"><?php echo $lang['user_tools']; ?></h6>
|
<h6 class="sr-only" role="heading" aria-level="2"><?php echo $lang['user_tools']; ?></h6>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue