aboutsummaryrefslogtreecommitdiff
path: root/app/views/auth
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-12-03 00:57:32 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-03 00:57:32 +0100
commita54aa19dc7f8cd344cdfb199ee94c01e0b90becc (patch)
treebcbfa7efbefaa459accf71dafc02f210e965bc28 /app/views/auth
parent00dbde68fbaf7da68ccf191c33f2de88d3603aa8 (diff)
Fix: double main tags (#4014)
* replace div with main * include the slider into main * format source * add close icon for the extension slider * replace div with main * Update shortcut.phtml * fixed the nits
Diffstat (limited to 'app/views/auth')
-rw-r--r--app/views/auth/formLogin.phtml4
-rw-r--r--app/views/auth/index.phtml4
-rw-r--r--app/views/auth/register.phtml4
3 files changed, 6 insertions, 6 deletions
diff --git a/app/views/auth/formLogin.phtml b/app/views/auth/formLogin.phtml
index 05a73f39e..e61aaf922 100644
--- a/app/views/auth/formLogin.phtml
+++ b/app/views/auth/formLogin.phtml
@@ -1,4 +1,4 @@
-<div class="prompt">
+<main class="prompt">
<h1><?= _t('gen.auth.login') ?></h1>
<?php if (!max_registrations_reached()) { ?>
@@ -39,4 +39,4 @@
</form>
<p><a href="<?= _url('index', 'about') ?>"><?= _t('gen.freshrss.about') ?></a></p>
-</div>
+</main>
diff --git a/app/views/auth/index.phtml b/app/views/auth/index.phtml
index 0c7b0a816..9c9cd1eaa 100644
--- a/app/views/auth/index.phtml
+++ b/app/views/auth/index.phtml
@@ -1,6 +1,6 @@
<?php $this->partial('aside_configure'); ?>
-<div class="post">
+<main class="post">
<div class="link-back-wrapper">
<a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
</div>
@@ -77,4 +77,4 @@
</div>
</div>
</form>
-</div>
+</main>
diff --git a/app/views/auth/register.phtml b/app/views/auth/register.phtml
index 3300896e6..7eb2af12f 100644
--- a/app/views/auth/register.phtml
+++ b/app/views/auth/register.phtml
@@ -1,4 +1,4 @@
-<div class="prompt">
+<main class="prompt">
<h1><?= _t('gen.auth.registration') ?></h1>
<form method="post" action="<?= _url('user', 'create') ?>">
@@ -66,4 +66,4 @@
</form>
<p><a href="<?= _url('index', 'about') ?>"><?= _t('gen.freshrss.about') ?></a></p>
-</div>
+</main>