From 382932708a8a93abd2ad4e222270d6000e2ced8c Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:46:17 +0000 Subject: [PATCH 1/7] Add files via upload --- system/admin/views/add-content.html.php | 2 +- system/admin/views/add-page.html.php | 2 +- system/admin/views/edit-content.html.php | 2 +- system/admin/views/edit-page.html.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/system/admin/views/add-content.html.php b/system/admin/views/add-content.html.php index d58088e4..68c19375 100644 --- a/system/admin/views/add-content.html.php +++ b/system/admin/views/add-content.html.php @@ -195,7 +195,7 @@ function extractLast( term ) {

-
+
" style="width:100%;overflow:auto;">
diff --git a/system/admin/views/add-page.html.php b/system/admin/views/add-page.html.php index 09588574..3231c289 100644 --- a/system/admin/views/add-page.html.php +++ b/system/admin/views/add-page.html.php @@ -58,7 +58,7 @@

-
+
" style="width:100%;overflow:auto;">
diff --git a/system/admin/views/edit-content.html.php b/system/admin/views/edit-content.html.php index 6e208820..f800796c 100644 --- a/system/admin/views/edit-content.html.php +++ b/system/admin/views/edit-content.html.php @@ -245,7 +245,7 @@ function extractLast( term ) {

-
+
" style="width:100%;overflow:auto;">
diff --git a/system/admin/views/edit-page.html.php b/system/admin/views/edit-page.html.php index a39e1c25..90e4bc0c 100644 --- a/system/admin/views/edit-page.html.php +++ b/system/admin/views/edit-page.html.php @@ -168,7 +168,7 @@

-
+
" style="width:100%;overflow:auto;">
From c35490eb183c976b8d6009e2ee2fe7f8377aa23f Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:55:12 +0000 Subject: [PATCH 2/7] Add files via upload --- lang/en_US.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/en_US.ini b/lang/en_US.ini index fbe88a37..452b2475 100644 --- a/lang/en_US.ini +++ b/lang/en_US.ini @@ -321,3 +321,4 @@ msg_error_field_req_feedurl = "You need to specify the feed url." rss_feeds_description_select = "RSS Description" rss_description_body = "Post Body" rss_description_meta = "Post Meta Description" +admin_theme = "Admin theme" \ No newline at end of file From 0f3a90ee1dcaa0e7d848cce686b73582b3946de0 Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:57:07 +0000 Subject: [PATCH 3/7] Add files via upload --- system/admin/views/config.html.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/system/admin/views/config.html.php b/system/admin/views/config.html.php index 80ed94db..395fc308 100644 --- a/system/admin/views/config.html.php +++ b/system/admin/views/config.html.php @@ -168,6 +168,28 @@ + +
+ +
+
+
+ checked> + +
+
+ checked> + +
+
+
+
+ +
From 66bbc3415f09994d7666afee9c9cb367fe5062fe Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:58:31 +0000 Subject: [PATCH 4/7] Add files via upload --- config/config.ini.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/config.ini.example b/config/config.ini.example index 13eba078..77233f1e 100644 --- a/config/config.ini.example +++ b/config/config.ini.example @@ -202,3 +202,6 @@ views.root = "themes/twentysixteen" ; Framework config. No need to edit. views.layout = "layout" + +; Admin theme: light or dark mode +admin.theme = "dark" \ No newline at end of file From b4e4b6536608a801fe3eba084cd4f84983ba4fa0 Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:59:25 +0000 Subject: [PATCH 5/7] Add files via upload --- system/configList.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/configList.json b/system/configList.json index a82cc076..9f1a1c16 100644 --- a/system/configList.json +++ b/system/configList.json @@ -93,5 +93,6 @@ "mfa.state", "show.version", "thumbnail.width", - "rss.description" + "rss.description", + "admin.theme" ] \ No newline at end of file From 62a77dc0377bd56d23a35abbb3f47d3cb1fd1e63 Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Tue, 15 Oct 2024 22:01:08 +0000 Subject: [PATCH 6/7] Add files via upload --- system/admin/views/layout.html.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/admin/views/layout.html.php b/system/admin/views/layout.html.php index 5219e8b1..04aa9269 100644 --- a/system/admin/views/layout.html.php +++ b/system/admin/views/layout.html.php @@ -28,12 +28,12 @@ header("Location: $url"); } ?> - +">
-
- +">