summaryrefslogtreecommitdiffstats
path: root/template/admin
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-09-02 15:37:19 +0200
committerThomas Lange <code@nerdmind.de>2017-09-02 15:37:19 +0200
commit4addfb603e88642674003469c147eb8d5debbd96 (patch)
treeabae2ac6055699228dac09b7555a8cd91fb53aa1 /template/admin
parentc503f83d169fe15e10e2d97fd4ece9cdc884e436 (diff)
downloadblog-4addfb603e88642674003469c147eb8d5debbd96.tar.gz
blog-4addfb603e88642674003469c147eb8d5debbd96.tar.xz
blog-4addfb603e88642674003469c147eb8d5debbd96.zip
Multiple <section> elements were replaced by simple <div> elements. If a container element is only used for the CSS and has no semantic meaning, then a <section> element is definitely wrong for this purpose.
Diffstat (limited to 'template/admin')
-rw-r--r--template/admin/html/main.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/template/admin/html/main.php b/template/admin/html/main.php
index fafc8d0..572ce4f 100644
--- a/template/admin/html/main.php
+++ b/template/admin/html/main.php
@@ -10,14 +10,14 @@
</head>
<body>
<header id="main-header">
- <section class="header-line">
+ <div class="header-line">
<div class="header-content">
<a href="<?=Application::getAdminURL()?>"><img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration" /></a>
<div id="header-text">Administration</div>
<div id="header-desc">PHP7 blogging application by <span>Nerdmind</span>!</div>
</div>
- </section>
- <section class="header-line">
+ </div>
+ <div class="header-line">
<div class="header-content">
<nav id="main-navi">
<?php if(Application::isAuthenticated()): ?>
@@ -38,9 +38,9 @@
<?php endif; ?>
</nav>
</div>
- </section>
+ </div>
</header>
- <section id="main-content">
+ <div id="main-content">
<main>
<?=$HTML?>
</main>
@@ -51,6 +51,6 @@
<li><i class="fa fa-bug"></i><a href="mailto:Thomas Lange <code@nerdmind.de>">Bugreport</a></li>
</ul>
</footer>
- </section>
+ </div>
</body>
</html> \ No newline at end of file