aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorGeorgi Nikolov <ggeorgi60@gmail.com>2025-01-26 20:28:22 +0200
committerGeorgi Nikolov <ggeorgi60@gmail.com>2025-01-26 20:28:22 +0200
commit9121554ce064629dc7aef74434b65ee10756a8a7 (patch)
tree9ff596abcead2cffea6b889edfc70398d8354bd0 /views
parent5b61a18f1bab2cf17f849b64129efa9726848262 (diff)
downloadnowayforward_human-9121554ce064629dc7aef74434b65ee10756a8a7.tar
nowayforward_human-9121554ce064629dc7aef74434b65ee10756a8a7.tar.gz
nowayforward_human-9121554ce064629dc7aef74434b65ee10756a8a7.zip
Added a navbar on top of the archived pages
Diffstat (limited to 'views')
-rw-r--r--views/archive/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/archive/index.php b/views/archive/index.php
index 7d41890..500238a 100644
--- a/views/archive/index.php
+++ b/views/archive/index.php
@@ -12,7 +12,7 @@
?>
<?php if ($page !== null): ?>
- <iframe src="<?= "/archives/{$page->WID}" ?>" scrolling="no"></iframe>
+ <iframe src="<?= "/archives/{$page->WID}/index.php" ?>" scrolling="no"></iframe>
<form action="#" method="POST">
<input type="hidden" name="page_url" value="<?= $url ?>">
@@ -32,7 +32,7 @@
<section>
<div>
<img src="<?= '/archives/' . $page->FaviconPath ?>" class="favicon">
- <a href="<?= '/archives/' . $page->WID ?>"><?= $page->URL ?></a>
+ <a href="<?= '/archives/' . $page->WID . '/index.php' ?>"><?= $page->URL ?></a>
<span class="float-right"><?= $page->Date ?></span>
</div>
<div class="details">