summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-10-03 21:04:28 +0500
committerilotterytea <iltsu@alright.party>2025-10-03 21:04:28 +0500
commitb3711fbf9ce4b0c0a4f03483f9c6e8fe20baae39 (patch)
treed2841841c1f476bab93f51f92d4ab892aebdf1cf
parent68db89e75c4dac8414a9ea6c21ba713cca312326 (diff)
feat: disclaimer
-rw-r--r--lib/partials.php12
-rw-r--r--public/catalogue.php3
-rw-r--r--public/index.php1
3 files changed, 15 insertions, 1 deletions
diff --git a/lib/partials.php b/lib/partials.php
index f45229d..a25e9f9 100644
--- a/lib/partials.php
+++ b/lib/partials.php
@@ -169,4 +169,16 @@ function html_footer()
</p>
</footer>
<?php ;
+}
+
+function html_mini_footer()
+{
+ echo '' ?>
+ <footer class="column justify-center align-bottom gap-8 font-small mini-footer">
+ <p>
+ All trademarks and copyrights belong to their respective owners.
+ The uploader is responsible for any content shared here.
+ </p>
+ </footer>
+ <?php ;
} \ No newline at end of file
diff --git a/public/catalogue.php b/public/catalogue.php
index 3d24162..a580996 100644
--- a/public/catalogue.php
+++ b/public/catalogue.php
@@ -74,7 +74,7 @@ unset($f);
<main class="full-size">
<?php html_mini_navbar('Page ' . ($page + 1) . '/' . $max_pages, "Library of " . INSTANCE_NAME) ?>
- <div class="row gap-8">
+ <div class="grow row gap-8">
<!-- SIDE BAR -->
<div class="column gap-8">
<form action="/catalogue.php" method="get">
@@ -149,6 +149,7 @@ unset($f);
</div>
</div>
</div>
+ <?php html_mini_footer() ?>
</main>
</body>
diff --git a/public/index.php b/public/index.php
index 47ae798..afbb209 100644
--- a/public/index.php
+++ b/public/index.php
@@ -298,6 +298,7 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt');
</section>
</div>
<?php endif; ?>
+ <?php html_mini_footer(); ?>
<?php else: ?>
<?php html_big_navbar() ?>