From faabc462d3080cac67687f450135a078731fb3d1 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 1 Feb 2025 10:02:14 +0200 Subject: feat: Rework models methods to be more object-oriented where applicable --- views/archive/index.php | 2 +- views/home/index.php | 2 +- views/list/update/index.php | 4 +--- views/profile/index.php | 4 ++-- 4 files changed, 5 insertions(+), 7 deletions(-) (limited to 'views') diff --git a/views/archive/index.php b/views/archive/index.php index 085a033..846f910 100644 --- a/views/archive/index.php +++ b/views/archive/index.php @@ -24,7 +24,7 @@

Archives by date:

- URL) as $page): ?> + allArchives() as $page): ?>
diff --git a/views/home/index.php b/views/home/index.php index abc872b..e14e23a 100644 --- a/views/home/index.php +++ b/views/home/index.php @@ -11,7 +11,7 @@

Most popular archives

- +
URL ?> diff --git a/views/list/update/index.php b/views/list/update/index.php index 6fa91e1..b3737f0 100644 --- a/views/list/update/index.php +++ b/views/list/update/index.php @@ -4,12 +4,10 @@ UID); } catch (Exception $e) {} ?> @@ -22,7 +20,7 @@
diff --git a/views/profile/index.php b/views/profile/index.php index dad2070..0a10e4a 100644 --- a/views/profile/index.php +++ b/views/profile/index.php @@ -18,7 +18,7 @@

Archives

Lists

- UID) as $page): ?> + archives() as $page): ?>
@@ -51,7 +51,7 @@