From 4bebfa04cf759d77c511541bdf30747c76a3b2e1 Mon Sep 17 00:00:00 2001
From: Syndamia
Date: Sun, 2 Feb 2025 10:54:23 +0200
Subject: feat(views/list): Fully implement list updating
---
views/list/index.php | 17 +++++++++++++++++
views/list/update/index.php | 46 +++++++++++++++++++++++++++++++++++++++++++++
views/list/update/meta.php | 4 ++++
3 files changed, 67 insertions(+)
create mode 100644 views/list/update/index.php
create mode 100644 views/list/update/meta.php
(limited to 'views/list')
diff --git a/views/list/index.php b/views/list/index.php
index 9b49268..4a84f78 100644
--- a/views/list/index.php
+++ b/views/list/index.php
@@ -18,6 +18,23 @@
= $author->Username ?>
= $list->Description ?>
+
+
+
AuthorUID);
+ $user = Database\Cookie::fromDB($TOKEN);
+ }
+ catch(Exception $e) {}
+?>
+
+UID === $author->UID): ?>
+
+Update list
+
+
+
+
+ No list with identifier = $_GET['lid'] ?> exists!
+
+
+ You're not the owner of "= $list->Name ?>", you have no permission to edit it!
+
+
diff --git a/views/list/update/meta.php b/views/list/update/meta.php
new file mode 100644
index 0000000..c3a9f3c
--- /dev/null
+++ b/views/list/update/meta.php
@@ -0,0 +1,4 @@
+