xref: /template/readthedokus/tpl_parts/tpl_pagefooter.html (revision 8dab89dff7d7a27dcacf1cfbfe1a3805b0791127)
1<?php global $conf, $lang, $ACT, $INFO ?>
2
3<div id="pagefooter">
4<?php if ($ACT == "show") { ?>
5	<div class="" style="display:flex">
6		<a id="btn-prevpage" class="btn"><i class="fas fa-arrow-circle-left"></i> Previous</a>
7		<a id="btn-nextpage" class="btn" style="margin-left:auto">Next <i class="fas fa-arrow-circle-right"></i></a>
8	</div>
9	<hr>
10	<p>© Copyright 2010-2021, Read the Docs, Inc & contributors. Revision c49fac97.</p>
11	Built with Sphinx using a theme provided by Read the Docs.
12<?php } ?>
13
14<?php if ($INFO["userinfo"]) { ?>
15	<nav class="tools" aria-label="<?php echo $lang['tools'] ?>">
16		<div style="display:flex">
17			<div id="dokuwiki__sitetools">
18				<h3><?php echo $lang['site_tools'] ?></h3>
19				<ul>
20					<?php echo (new \dokuwiki\Menu\SiteMenu())->getListItems('action ', false); ?>
21				</ul>
22			</div>
23
24			<div id="dokuwiki__pagetools">
25				<h3><?php echo $lang['page_tools'] ?></h3>
26				<ul>
27					<?php echo (new \dokuwiki\Menu\PageMenu())->getListItems('action ', false); ?>
28				</ul>
29			</div>
30
31			<?php if ($conf['useacl']): ?>
32				<div id="dokuwiki__usertools">
33					<h3><?php echo $lang['user_tools'] ?></h3>
34					<ul>
35						<?php
36							if (!empty($_SERVER['REMOTE_USER'])) {
37								echo '<li class="user">';
38								tpl_userinfo();
39								echo '</li>';
40							}
41						?>
42						<?php echo (new \dokuwiki\Menu\UserMenu())->getListItems('action ', false); ?>
43					</ul>
44				</div>
45			<?php endif ?>
46		</div>
47		<div class="doc"><?php tpl_pageinfo() ?></div>
48	</nav>
49<?php } ?>
50</div>
51