17 lines
474 B
PHP
17 lines
474 B
PHP
<nav>
|
|
<dl>
|
|
<?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 } ?>
|
|
</dl>
|
|
</nav>
|