
This is still fully compatible with the current stable Frusterick Manners, however these old method calls should be removed after the release of Greebo.
27 lines
643 B
PHP
Executable file
27 lines
643 B
PHP
Executable file
<?php
|
|
if (!defined('DOKU_INC')) {
|
|
die();
|
|
}
|
|
?>
|
|
|
|
|
|
<nav id="dokuwiki__pagetools">
|
|
<div class="tools">
|
|
|
|
<?php include('nav-status.php'); ?>
|
|
<ul>
|
|
<?php
|
|
if (file_exists(DOKU_INC . '/inc/Menu/PageMenu.php')) {
|
|
echo (new \dokuwiki\Menu\PageMenu())->getListItems();
|
|
} else {
|
|
//Pre-Greebo Backwards compatibility
|
|
$data = dokuwiki\template\sprintdoc\tpl::assemblePageTools();
|
|
|
|
foreach ($data['items'] as $k => $html) {
|
|
echo $html;
|
|
}
|
|
}
|
|
?>
|
|
</ul>
|
|
</div>
|
|
</nav>
|