aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/archive/item.php2
-rw-r--r--views/global/router.php1
-rw-r--r--views/list/add/index.php (renamed from views/list/update/index.php)0
-rw-r--r--views/list/add/meta.php (renamed from views/list/update/meta.php)0
4 files changed, 2 insertions, 1 deletions
diff --git a/views/archive/item.php b/views/archive/item.php
index f1d1f33..e6b9cf0 100644
--- a/views/archive/item.php
+++ b/views/archive/item.php
@@ -11,7 +11,7 @@
</div>
</section>
<section name="itemButton" hidden>
- <form action="/list/update" method="GET">
+ <form action="/list/add" method="GET">
<input type="hidden" name="wid" value="<?= $page->WID ?>">
<button>
<!-- Tabler icons https://tabler.io/icons -->
diff --git a/views/global/router.php b/views/global/router.php
index 527ad68..ea3799f 100644
--- a/views/global/router.php
+++ b/views/global/router.php
@@ -29,6 +29,7 @@ function route_view() {
switch ($root . $subroot) {
case '/list/update': return '/list/update';
case '/list/new': return '/list/new';
+ case '/list/add': return '/list/add';
}
switch ($root) {
diff --git a/views/list/update/index.php b/views/list/add/index.php
index 5366110..5366110 100644
--- a/views/list/update/index.php
+++ b/views/list/add/index.php
diff --git a/views/list/update/meta.php b/views/list/add/meta.php
index 96fd169..96fd169 100644
--- a/views/list/update/meta.php
+++ b/views/list/add/meta.php