servnest/pg-view/index.php
Miraty 337e7ab27e Add setting to disable registrations
A new services['auth'] setting is available.
2023-05-10 01:34:45 +02:00

17 lines
415 B
PHP

<nav>
<dl>
<?php
foreach (CONF['common']['services'] as $service => $status) {
if ($status === 'disabled')
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 } ?>
</dl>
</nav>