aboutsummaryrefslogtreecommitdiff
path: root/app/layout/header.phtml
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-07-21 22:42:04 +0200
committerGravatar GitHub <noreply@github.com> 2021-07-21 22:42:04 +0200
commitab0285b0aa05574ae864bef590ffd6ea36f0c50a (patch)
tree88292a7ba37615a07ebde443d8c69cc75144978d /app/layout/header.phtml
parent3c945bee7bc1853ea4bf38b1b04259a465bf08d2 (diff)
Add HTML5 tags (#3651)
* use HTML5 tags #3643 added some HTML5 tags: header, main, nav * <main> into <div> 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 <alexandre@alapetite.fr> * 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 <alexandre@alapetite.fr> Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Diffstat (limited to 'app/layout/header.phtml')
-rw-r--r--app/layout/header.phtml8
1 files changed, 4 insertions, 4 deletions
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()) {
}
?>
-<div class="header">
+<header class="header">
<div class="item title">
<h1>
<a href="<?= _url('index', 'index') ?>">
@@ -51,7 +51,7 @@ if (FreshRSS_Auth::accessNeedsAction()) {
</div>
<?php if (FreshRSS_Auth::hasAccess()) { ?>
- <div class="item configure">
+ <nav class="item configure">
<div class="dropdown">
<div id="dropdown-configure" class="dropdown-target"></div>
<a class="btn dropdown-toggle" href="#dropdown-configure"><?= _i('configure') ?></a>
@@ -96,10 +96,10 @@ if (FreshRSS_Auth::accessNeedsAction()) {
<?php endif; ?>
</ul>
</div>
- </div>
+ </nav>
<?php } elseif (FreshRSS_Auth::accessNeedsAction()) { ?>
<div class="item configure">
<?= _i('login') ?><a class="signin" href="<?= _url('auth', 'login') ?>"><?= _t('gen.auth.login') ?></a>
</div>
<?php } ?>
-</div>
+</header>