servnest/pg-view/index.php

18 lines
474 B
PHP
Raw Normal View History

2022-08-11 14:39:31 +00:00
<nav>
<dl>
2023-03-09 00:35:30 +00:00
<?php
foreach (array_merge(['auth' => 'enabled'], CONF['common']['services']) as $service => $status) {
if ($status !== 'enabled' AND $status !== 'error')
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>