From b9e74fb8fc9cf2989039d79b38e143f81e6f141f Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 1 Nov 2024 12:48:47 +0100 Subject: [PATCH] many little HTML refactors using Super HTML linter to check output HTML of W on the main views + also fix some indentations issues in homemenu --- app/class/Modelmedia.php | 2 +- app/fn/fn.php | 2 +- app/view/templates/connect.php | 1 - app/view/templates/edittopbar.php | 2 +- app/view/templates/homebookmark.php | 2 +- app/view/templates/homemenu.php | 344 ++++++++++++++-------------- app/view/templates/homeopt.php | 2 +- 7 files changed, 178 insertions(+), 177 deletions(-) diff --git a/app/class/Modelmedia.php b/app/class/Modelmedia.php index 28271208..ea8840d4 100644 --- a/app/class/Modelmedia.php +++ b/app/class/Modelmedia.php @@ -540,7 +540,7 @@ public static function treecount( ) { $selected = $path . '/' === $currentdir; if ($selected) { - $folder = '├─ ' . $dirname . ''; + $folder = '├─ ' . $dirname . ''; } else { $folder = '├─ ' . $dirname; } diff --git a/app/fn/fn.php b/app/fn/fn.php index 1a161643..6da83724 100644 --- a/app/fn/fn.php +++ b/app/fn/fn.php @@ -132,7 +132,7 @@ function basictree(array $dirlist, string $dirname, int $deepness, string $path, { if ($path === $currentdir) { - $folder = '├─ ' . $dirname . ''; + $folder = '├─ ' . $dirname . ''; $checked = 'checked'; } else { $folder = '├─ ' . $dirname; diff --git a/app/view/templates/connect.php b/app/view/templates/connect.php index 1e465270..2536d39d 100644 --- a/app/view/templates/connect.php +++ b/app/view/templates/connect.php @@ -13,7 +13,6 @@ -
diff --git a/app/view/templates/edittopbar.php b/app/view/templates/edittopbar.php index 83705f86..33d024ea 100644 --- a/app/view/templates/edittopbar.php +++ b/app/view/templates/edittopbar.php @@ -57,7 +57,7 @@ save workspace
-
+ diff --git a/app/view/templates/homebookmark.php b/app/view/templates/homebookmark.php index 8170008c..23fc0940 100644 --- a/app/view/templates/homebookmark.php +++ b/app/view/templates/homebookmark.php @@ -22,8 +22,8 @@ class="bookmark" +

-

Personal

diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php index 061640e5..1b08f9fb 100644 --- a/app/view/templates/homemenu.php +++ b/app/view/templates/homemenu.php @@ -338,205 +338,207 @@ - - -
-
- - - -
diff --git a/app/view/templates/homeopt.php b/app/view/templates/homeopt.php index 9dacbf1a..a148185d 100644 --- a/app/view/templates/homeopt.php +++ b/app/view/templates/homeopt.php @@ -86,7 +86,7 @@ taglist() as $tagfilter => $count) : ?>

-