Website Summary Files Commits Branches @commit @diff @stats
path: root / views / archive / item.php
diff options
context:
space:
mode:
1 files changed, 7 insertions, 0 deletions
-rw-r--r--views/archive/item.php7
diff --git a/views/archive/item.php b/views/archive/item.php
index 467fb2c..25b1719 100644
--- a/views/archive/item.php
+++ b/views/archive/item.php
@@ -7,7 +7,14 @@
</div>
<div class="details">
<span>Visits: <?= $page->Visits ?></span>
+ <iframe id="printFrame" src="<?= '/archives/' . $page->WID . '/index.php' ?>" style="display:none;"></iframe>
<span class="float-right"><?= Database\User::fromDBuid($page->RequesterUID)->Username ?></span>
+ <form action="/list/export/index.php" method="GET">
+ <input type="hidden" name="wid" value="<?= $page->WID ?>">
+ <input type="hidden" name="title" value="<?= $page->Title ?>">
+ <input type="hidden" name="url" value="<?= $page->URL ?>">
+ <button>Export to PDF</button>
+ </form>
</div>
</section>
<section name="itemButton" hidden>