servnest/pg-view/index.php

22 lines
595 B
PHP
Raw Permalink Normal View History

2023-07-17 19:15:18 +00:00
<?php declare(strict_types=1); ?>
2022-08-11 14:39:31 +00:00
<nav>
2023-05-18 21:18:43 +00:00
<p>
<span aria-hidden="true">➡️ </span><em><a href="<?= CONF['common']['about_url'] ?>"><?= _('About this installation') ?></a></em>
</p>
2022-08-11 14:39:31 +00:00
<dl>
2023-03-09 00:35:30 +00:00
<?php
foreach (CONF['common']['services'] as $service => $status) {
if ($status === 'disabled')
2023-03-09 00:35:30 +00:00
continue;
?>
<?= ($status === 'error') ? '<s>' : '' ?>
<dt><a class="<?= $service ?>" href="<?= $service ?>/"><?= PAGES[$service]['index']['title'] ?></a></dt>
<dd>
<?= PAGES[$service]['index']['description'] ?>
</dd>
<?= ($status === 'error') ? '</s>' : '' ?>
<?php } ?>
2022-08-11 14:39:31 +00:00
</dl>
</nav>