aboutsummaryrefslogtreecommitdiff
path: root/app/views/user
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/user
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/user')
-rw-r--r--app/views/user/details.phtml4
-rw-r--r--app/views/user/manage.phtml4
-rw-r--r--app/views/user/profile.phtml4
-rw-r--r--app/views/user/validateEmail.phtml4
4 files changed, 8 insertions, 8 deletions
diff --git a/app/views/user/details.phtml b/app/views/user/details.phtml
index e6271704c..6de1a6097 100644
--- a/app/views/user/details.phtml
+++ b/app/views/user/details.phtml
@@ -4,7 +4,7 @@
<?php $isAdmin = $this->details['is_admin']; ?>
<?php $enabled = $this->details['enabled']; ?>
-<div class="post">
+<main class="post">
<a href="<?= _url('user', 'manage'); ?>"><?= _t('admin.user.back_to_manage'); ?></a>
<h1><?= $this->username ?><?php if ($isAdmin) echo ' ― ', _t('admin.user.admin'); ?></h1>
@@ -84,4 +84,4 @@
<div>
</div>
</form>
-</div>
+</main>
diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtml
index 3da4cf299..ae66e4b2f 100644
--- a/app/views/user/manage.phtml
+++ b/app/views/user/manage.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>
@@ -108,4 +108,4 @@
</tbody>
</table>
</div>
-</div>
+</main>
diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml
index a7f38e69d..39b138c78 100644
--- a/app/views/user/profile.phtml
+++ b/app/views/user/profile.phtml
@@ -4,7 +4,7 @@
}
?>
-<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>
@@ -133,4 +133,4 @@
</div>
</form>
<?php } ?>
-</div>
+</main>
diff --git a/app/views/user/validateEmail.phtml b/app/views/user/validateEmail.phtml
index e525b1b6b..31c19f738 100644
--- a/app/views/user/validateEmail.phtml
+++ b/app/views/user/validateEmail.phtml
@@ -1,4 +1,4 @@
-<div class="post">
+<main class="post">
<p>
<?= _t('user.email.validation.need_to', FreshRSS_Context::$system_conf->title) ?>
</p>
@@ -19,4 +19,4 @@
<?= _t('user.email.validation.change_email', _url('user', 'profile')) ?>
</small>
</p>
-</div>
+</main>