From 53c035918a4f34b826728e06d9b77e4bcb440517 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 23 Jan 2024 20:22:35 +0100 Subject: Remove trailing slash on void elements The trailing slash on void elements (self-closing tags) doesn't have any effect, isn't required by HTML5 and it is recommended to not use it. --- theme/admin/html/auth.php | 8 ++++---- theme/admin/html/category/form.php | 18 +++++++++--------- theme/admin/html/category/item.php | 2 +- theme/admin/html/database.php | 4 ++-- theme/admin/html/main.php | 10 +++++----- theme/admin/html/migration.php | 12 ++++++------ theme/admin/html/page/form.php | 18 +++++++++--------- theme/admin/html/page/item.php | 2 +- theme/admin/html/page/search.php | 4 ++-- theme/admin/html/post/form.php | 18 +++++++++--------- theme/admin/html/post/item.php | 2 +- theme/admin/html/post/search.php | 4 ++-- theme/admin/html/user/form.php | 24 ++++++++++++------------ theme/admin/html/user/item.php | 2 +- theme/default/html/main.php | 28 ++++++++++++++-------------- theme/default/html/search/main.php | 4 ++-- theme/default/html/search/result.php | 4 ++-- 17 files changed, 82 insertions(+), 82 deletions(-) (limited to 'theme') diff --git a/theme/admin/html/auth.php b/theme/admin/html/auth.php index efc402e..89bd224 100644 --- a/theme/admin/html/auth.php +++ b/theme/admin/html/auth.php @@ -13,26 +13,26 @@
- +
- +
- +
- +
diff --git a/theme/admin/html/category/form.php b/theme/admin/html/category/form.php index b358233..46f056e 100644 --- a/theme/admin/html/category/form.php +++ b/theme/admin/html/category/form.php @@ -25,7 +25,7 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $
- +
@@ -33,14 +33,14 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $ text('label_name')?>
- +
- +
- +
- +
@@ -92,7 +92,7 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $
- +
@@ -102,11 +102,11 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $
- + - + - +
diff --git a/theme/admin/html/category/item.php b/theme/admin/html/category/item.php index ea98c02..dacabdc 100644 --- a/theme/admin/html/category/item.php +++ b/theme/admin/html/category/item.php @@ -21,7 +21,7 @@
- +

diff --git a/theme/admin/html/database.php b/theme/admin/html/database.php index 1ba7adc..e0ca09b 100644 --- a/theme/admin/html/database.php +++ b/theme/admin/html/database.php @@ -13,7 +13,7 @@
- +
@@ -26,7 +26,7 @@
- +
diff --git a/theme/admin/html/main.php b/theme/admin/html/main.php index 82dd407..2035b47 100644 --- a/theme/admin/html/main.php +++ b/theme/admin/html/main.php @@ -16,10 +16,10 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright'; - - - - " /> + + + + "> <?=escapeHTML($NAME)?> | Administration @@ -28,7 +28,7 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright';
- +
diff --git a/theme/admin/html/migration.php b/theme/admin/html/migration.php index 082b95b..921b006 100644 --- a/theme/admin/html/migration.php +++ b/theme/admin/html/migration.php @@ -2,17 +2,17 @@ - - - - " /> + + + + "> <?=$Language->text('maintenance_mode')?>
- +
text('maintenance_mode')?>
@@ -45,7 +45,7 @@ $codebase_schema = $MIGRATION['SCHEMA_VERSION']['CODEBASE']; - + diff --git a/theme/admin/html/page/form.php b/theme/admin/html/page/form.php index f4655da..afcb8aa 100644 --- a/theme/admin/html/page/form.php +++ b/theme/admin/html/page/form.php @@ -9,7 +9,7 @@
- +
@@ -17,14 +17,14 @@ text('label_name')?>
- +
- +
- +
- +
@@ -78,7 +78,7 @@
- +
@@ -88,11 +88,11 @@
- + - + - +
diff --git a/theme/admin/html/page/item.php b/theme/admin/html/page/item.php index 6e394bb..3cbcf79 100644 --- a/theme/admin/html/page/item.php +++ b/theme/admin/html/page/item.php @@ -17,7 +17,7 @@
- +

diff --git a/theme/admin/html/page/search.php b/theme/admin/html/page/search.php index 7d53e3a..0fc110f 100644 --- a/theme/admin/html/page/search.php +++ b/theme/admin/html/page/search.php @@ -18,11 +18,11 @@ text('search')?>
- +
- +
diff --git a/theme/admin/html/post/form.php b/theme/admin/html/post/form.php index d2a22eb..8ad514a 100644 --- a/theme/admin/html/post/form.php +++ b/theme/admin/html/post/form.php @@ -24,7 +24,7 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
- +
@@ -32,14 +32,14 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') { text('label_name')?>
- +
- +
- +
- +
@@ -103,7 +103,7 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
- +
@@ -113,11 +113,11 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
- + - + - +
diff --git a/theme/admin/html/post/item.php b/theme/admin/html/post/item.php index e4b2bec..14f2813 100644 --- a/theme/admin/html/post/item.php +++ b/theme/admin/html/post/item.php @@ -23,7 +23,7 @@
- +

diff --git a/theme/admin/html/post/search.php b/theme/admin/html/post/search.php index dff8dfb..0a0d959 100644 --- a/theme/admin/html/post/search.php +++ b/theme/admin/html/post/search.php @@ -33,7 +33,7 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') { text('search')?>
- +
- +
diff --git a/theme/admin/html/user/form.php b/theme/admin/html/user/form.php index 2806598..7d033f1 100644 --- a/theme/admin/html/user/form.php +++ b/theme/admin/html/user/form.php @@ -9,7 +9,7 @@
- +
@@ -17,49 +17,49 @@ text('label_fullname')?>
- +
- +
- +
- +
- +
- +
- +
@@ -87,7 +87,7 @@
- +
@@ -97,11 +97,11 @@
- + - + - +
diff --git a/theme/admin/html/user/item.php b/theme/admin/html/user/item.php index 3a9ecb6..bb8c48a 100644 --- a/theme/admin/html/user/item.php +++ b/theme/admin/html/user/item.php @@ -21,7 +21,7 @@
- +

diff --git a/theme/default/html/main.php b/theme/default/html/main.php index 18d5d40..46dcc84 100644 --- a/theme/default/html/main.php +++ b/theme/default/html/main.php @@ -18,31 +18,31 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']); - - - + + + - + - + - - - + + + - + - - - + + + @@ -53,12 +53,12 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']);
"> - +