This commit is contained in:
Frieder Schrempf 2024-11-21 17:22:25 +00:00 committed by GitHub
commit b3310f2be3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 0 deletions

View file

@ -56,6 +56,32 @@ echo \dokuwiki\template\sprintdoc\Template::getInstance()->getNavigation();
</div>
</nav>
<?php
/** @var helper_plugin_aclinfo $plugin_aclinfo */
$plugin_aclinfo = plugin_load('helper', 'aclinfo');
$aclinfo = array();
if($plugin_aclinfo) $aclinfo = $plugin_aclinfo->getACLInfo($ID);
if($aclinfo):
?>
<nav class="nav-aclinfo">
<div class="nav"><a href="#sidebar-menu-aclinfo" role="heading" aria-level="2">
<span class="ico"><?php echo inlineSVG(__DIR__ . '/../img/key.svg') ?></span>
<span class="lbl"><?php echo tpl_getLang('head_menu_aclinfo'); ?></span>
</a></div>
<div class="nav-panel level1 plugin_aclinfo">
<ul id="sidebar-menu-aclinfo">
<?php
foreach($aclinfo as $entry) {
echo '<li>';
echo $plugin_aclinfo->getACLInfoString($entry);
echo '</li>';
}
?>
</ul>
</div>
</nav>
<?php endif; ?>
<?php
/** @var helper_plugin_starred $plugin_starred */
$plugin_starred = plugin_load('helper', 'starred');