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 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 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/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> + +
+
+
+
+ +
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;">
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"); } ?> - +">
-
- +">