aboutsummaryrefslogtreecommitdiffstats
path: root/template/standard/html
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/standard/html
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/standard/html')
-rw-r--r--template/standard/html/main.php8
-rw-r--r--template/standard/html/page/main.php4
-rw-r--r--template/standard/html/post/main.php4
-rw-r--r--template/standard/html/user/main.php4
4 files changed, 10 insertions, 10 deletions
diff --git a/template/standard/html/main.php b/template/standard/html/main.php
index 12364e5..19eceec 100644
--- a/template/standard/html/main.php
+++ b/template/standard/html/main.php
@@ -52,13 +52,13 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']);
<title><?="{$HEAD_NAME} | {$BLOGMETA_NAME} {$BLOGMETA_DESC}"?></title>
</head>
<body>
- <section id="container">
+ <div id="container">
<header id="main-header">
- <section>
+ <div>
<a href="<?=Application::getURL()?>" title="<?="{$BLOGMETA_NAME} {$BLOGMETA_DESC}"?>">
<img id="main-logo" src="<?=Application::getTemplateURL('rsrc/logo.png')?>" alt="<?=$BLOGMETA_NAME?>" />
</a>
- </section>
+ </div>
<nav id="main-navi">
<label for="toogle-nav" id="toogle-nav-label" class="fa fa-bars"></label>
<input type="checkbox" id="toogle-nav" />
@@ -97,6 +97,6 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']);
<footer id="main-footer">
&copy; <?=$BLOGMETA_NAME?>
</footer>
- </section>
+ </div>
</body>
</html> \ No newline at end of file
diff --git a/template/standard/html/page/main.php b/template/standard/html/page/main.php
index cfe26fd..aa2a5a0 100644
--- a/template/standard/html/page/main.php
+++ b/template/standard/html/page/main.php
@@ -13,9 +13,9 @@ $time = "<time datetime=\"{$PAGE['ATTR']['TIME_INSERT']}\" title=\"".parseDateti
<h1><i class="fa fa-file-text-o"></i><?=escapeHTML($PAGE['ATTR']['NAME'])?></h1>
<p><?=$Language->text('page_main_heading_desc', [$user, $time])?></p>
-<section id="content" class="page">
+<div id="content" class="page">
<?=$PAGE['BODY']['HTML']()?>
-</section>
+</div>
<section id="site-navi">
diff --git a/template/standard/html/post/main.php b/template/standard/html/post/main.php
index 709e719..e91fa4e 100644
--- a/template/standard/html/post/main.php
+++ b/template/standard/html/post/main.php
@@ -13,9 +13,9 @@ $time = "<time datetime=\"{$POST['ATTR']['TIME_INSERT']}\" title=\"".parseDateti
<h1><i class="fa fa-newspaper-o"></i><?=escapeHTML($POST['ATTR']['NAME'])?></h1>
<p><?=$Language->text('post_main_heading_desc', [$user, $time])?></p>
-<section id="content" class="post">
+<div id="content" class="post">
<?=$POST['BODY']['HTML']()?>
-</section>
+</div>
<section id="site-navi">
diff --git a/template/standard/html/user/main.php b/template/standard/html/user/main.php
index 2a195a4..c72d53e 100644
--- a/template/standard/html/user/main.php
+++ b/template/standard/html/user/main.php
@@ -10,9 +10,9 @@
<h1><i class="fa fa-user"></i><?=escapeHTML($USER['ATTR']['FULLNAME'])?></h1>
<p><em><?=$Language->text('user_main_heading_desc', [escapeHTML($USER['ATTR']['USERNAME']), $COUNT['POST'], $COUNT['PAGE']])?></em></p>
-<section id="content" class="user">
+<div id="content" class="user">
<?=$USER['BODY']['HTML']()?>
-</section>
+</div>
<section id="site-navi">