Website Summary Files Commits Branches @commit @diff @stats
path: root / views / archive / item_show.php
diff options
context:
space:
mode:
Commitc4f387d21147b91e708345fc6f7405fb1a2b6271 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-01 10:18:06 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-01 10:28:22 +0200
Filesed7ced6b63636dfa01870d595b83c32a47c4bd67 /views/archive/item_show.php
nowayforward_human-c4f387d21147b91e708345fc6f7405fb1a2b6271.tar
nowayforward_human-c4f387d21147b91e708345fc6f7405fb1a2b6271.tar.gz
nowayforward_human-c4f387d21147b91e708345fc6f7405fb1a2b6271.zip
Parentfaabc462d3080cac67687f450135a078731fb3d1 (diff)
feat: Move single archive item code to a separate file
1 files changed, 8 insertions, 0 deletions
-rw-r--r--views/archive/item_show.php8
diff --git a/views/archive/item_show.php b/views/archive/item_show.php
new file mode 100644
index 0000000..1a31f4b
--- /dev/null
+++ b/views/archive/item_show.php
@@ -0,0 +1,8 @@
+<script type="text/javascript">
+ function showButtons() {
+ for (buttonset of document.getElementsByName('itemButton')) {
+ buttonset.hidden = false;
+ }
+ }
+ authenticated(showButtons);
+</script>