summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/partials.php26
1 files changed, 5 insertions, 21 deletions
diff --git a/lib/partials.php b/lib/partials.php
index 64b12bd..6e1a182 100644
--- a/lib/partials.php
+++ b/lib/partials.php
@@ -115,27 +115,11 @@ function html_footer()
</ul>
</div>
<?php endif; ?>
- <?php if (!empty(INSTANCE_DONATIONS) && is_array(INSTANCE_DONATIONS)): ?>
- <div class="row gap-8">
- <details>
- <summary>Donate</summary>
-
- <table class="vertical">
- <?php foreach (INSTANCE_DONATIONS as $k => $v): ?>
- <tr>
- <th><?= $k ?></th>
- <td><?= $v ?></td>
- </tr>
- <?php endforeach; ?>
- </table>
- </details>
- </div>
- <?php elseif (!empty(INSTANCE_DONATIONS) && is_string(INSTANCE_DONATIONS)): ?>
- <p><a href="<?= INSTANCE_DONATIONS ?>">[Donate]</a></p>
- <?php endif; ?>
- <?php if (!empty(INSTANCE_TOR)): ?>
- <p><a href="<?= INSTANCE_TOR ?>">[Tor]</a></p>
- <?php endif; ?>
+ <div class="row gap-8">
+ <?php foreach (INSTANCE_FOOTER_LINKS as $title => $link): ?>
+ <p><a href="<?= $link ?>"><?= $title ?></a></p>
+ <?php endforeach; ?>
+ </div>
<p>Serving <?= $file_count ?> files and <?= $file_size ?> of active content</p>
</footer>
<?php ;