diff --git a/config/config.ini.example b/config/config.ini.example index 13eba07..77233f1 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 fbe88a3..452b247 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 d58088e..68c1937 100644 --- a/system/admin/views/add-content.html.php +++ b/system/admin/views/add-content.html.php @@ -195,7 +195,7 @@ $( function() {

-
+
" style="width:100%;overflow:auto;">
diff --git a/system/admin/views/add-page.html.php b/system/admin/views/add-page.html.php index 0958857..3231c28 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 80ed94d..395fc30 100644 --- a/system/admin/views/config.html.php +++ b/system/admin/views/config.html.php @@ -168,6 +168,28 @@ Please install and enable the INTL extension to format the date format to your l + +
+ +
+
+
+ checked> + +
+
+ checked> + +
+
+
+
+ +
diff --git a/system/admin/views/edit-content.html.php b/system/admin/views/edit-content.html.php index 6e20882..f800796 100644 --- a/system/admin/views/edit-content.html.php +++ b/system/admin/views/edit-content.html.php @@ -245,7 +245,7 @@ $( function() {

-
+
" style="width:100%;overflow:auto;">
diff --git a/system/admin/views/edit-page.html.php b/system/admin/views/edit-page.html.php index a39e1c2..90e4bc0 100644 --- a/system/admin/views/edit-page.html.php +++ b/system/admin/views/edit-page.html.php @@ -168,7 +168,7 @@ $images = image_gallery(null, 1, 40);

-
+
" style="width:100%;overflow:auto;">
diff --git a/system/admin/views/layout.html.php b/system/admin/views/layout.html.php index 5219e8b..04aa926 100644 --- a/system/admin/views/layout.html.php +++ b/system/admin/views/layout.html.php @@ -28,12 +28,12 @@ if (isset($_GET['search'])) { header("Location: $url"); } ?> - +">
-
- +">