From 7d0865fdaba6a646c1104c6e0dc28d1661cc7db5 Mon Sep 17 00:00:00 2001 From: danpros Date: Sat, 27 Jan 2024 22:50:32 +0700 Subject: [PATCH] Cleanup --- system/admin/views/static-pages.html.php | 10 ++++++---- system/admin/views/static-subpages.html.php | 6 +++++- system/admin/views/user-draft.html.php | 4 ++-- system/includes/functions.php | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/system/admin/views/static-pages.html.php b/system/admin/views/static-pages.html.php index a2d129b..a825978 100644 --- a/system/admin/views/static-pages.html.php +++ b/system/admin/views/static-pages.html.php @@ -34,7 +34,9 @@ $(function() { - + + + Sub @@ -45,15 +47,15 @@ $(function() { slug);?> title;?> - description, '50');?>... - + views;?> + -

+
views;?>
diff --git a/system/admin/views/static-subpages.html.php b/system/admin/views/static-subpages.html.php index b912a61..fb1f956 100644 --- a/system/admin/views/static-subpages.html.php +++ b/system/admin/views/static-subpages.html.php @@ -46,6 +46,9 @@ $(function() { + + + @@ -54,7 +57,8 @@ $(function() { title ?> description;?> - + views;?> + diff --git a/system/admin/views/user-draft.html.php b/system/admin/views/user-draft.html.php index 3d74e91..87bd8fe 100644 --- a/system/admin/views/user-draft.html.php +++ b/system/admin/views/user-draft.html.php @@ -55,7 +55,7 @@ - + @@ -76,7 +76,7 @@
- + diff --git a/system/includes/functions.php b/system/includes/functions.php index 531a189..d571d83 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -136,7 +136,7 @@ function get_draft_subpages($static = null) if (isset($y[1])) { $z = $y[1]; } else { - $z = $x; + $z = $y[0]; } if ($z == $static) { return true;