From ab0285b0aa05574ae864bef590ffd6ea36f0c50a Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 21 Jul 2021 22:42:04 +0200 Subject: [PATCH] Add HTML5 tags (#3651) * use HTML5 tags #3643 added some HTML5 tags: header, main, nav *
into
as dicussed in the PR. Todo: check side effects (f.e. threepaneview extension) * fixed whitespace with tabs * fixed more whitespaces with tabs it was not my fault, but I fixed it * added empty lines as wished * Update app/views/index/global.phtml Co-authored-by: Alexandre Alapetite * Update app/views/index/global.phtml * Update app/views/index/global.phtml * Update app/views/index/global.phtml * Update app/views/index/global.phtml * Update app/views/index/global.phtml * Update app/views/index/global.phtml Co-authored-by: Alexandre Alapetite Co-authored-by: Frans de Jonge --- app/layout/aside_feed.phtml | 4 ++-- app/layout/header.phtml | 8 ++++---- app/layout/nav_entries.phtml | 12 +++++++----- app/layout/nav_menu.phtml | 4 ++-- app/views/index/global.phtml | 4 ++-- app/views/index/normal.phtml | 8 ++++---- app/views/index/reader.phtml | 8 ++++---- 7 files changed, 25 insertions(+), 23 deletions(-) diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml index c3f066601..51f138e79 100644 --- a/app/layout/aside_feed.phtml +++ b/app/layout/aside_feed.phtml @@ -10,7 +10,7 @@ $state_filter = FreshRSS_Context::$user_conf->show_fav_unread ? '&state=3' : ''; ?> -
+
+
diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 7603cf2e5..cf7e4d20e 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -12,7 +12,7 @@ if (FreshRSS_Auth::accessNeedsAction()) { } ?> -
+
-
+
+
-
+ diff --git a/app/layout/nav_entries.phtml b/app/layout/nav_entries.phtml index cbc514737..55e1743dc 100644 --- a/app/layout/nav_entries.phtml +++ b/app/layout/nav_entries.phtml @@ -1,5 +1,7 @@ - \ No newline at end of file + diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index 0724abc16..874a4273a 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -2,7 +2,7 @@ $actual_view = Minz_Request::actionName(); ?> - + diff --git a/app/views/index/global.phtml b/app/views/index/global.phtml index e286d0946..4323e3849 100644 --- a/app/views/index/global.phtml +++ b/app/views/index/global.phtml @@ -9,7 +9,7 @@ } ?> -
+
-
+
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index 3077d79f2..418c44111 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -14,7 +14,7 @@ $content_width = FreshRSS_Context::$user_conf->content_width; $today = @strtotime('today'); ?> -
+
0): call_user_func($this->callbackBeforePagination, $this, $nbEntries, $lastEntry); $this->renderHelper('pagination'); -?>
-
+



-
+ 0 && FreshRSS_Context::$user_conf->show_nav_buttons) $this->partial('nav_entries'); ?> diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml index 0b1288ae6..8183a67e7 100644 --- a/app/views/index/reader.phtml +++ b/app/views/index/reader.phtml @@ -7,8 +7,8 @@ call_user_func($this->callbackBeforeEntries, $this); $lazyload = FreshRSS_Context::$user_conf->lazyload; $content_width = FreshRSS_Context::$user_conf->content_width; ?> +
-
content_width; if ($nbEntries > 0): call_user_func($this->callbackBeforePagination, $this, $nbEntries, $lastEntry); $this->renderHelper('pagination'); -?>
-
+



-
+