diff options
Diffstat (limited to 'app/class/w.article.php')
-rw-r--r-- | app/class/w.article.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/class/w.article.php b/app/class/w.article.php index 2476353..6c504f8 100644 --- a/app/class/w.article.php +++ b/app/class/w.article.php @@ -5,19 +5,19 @@ if ($app->exist($_GET['id'])) { $art = $app->get($_GET['id']); if (isset($_GET['edit']) and $_GET['edit'] == 1 and $app->session() >= $app::EDITOR) { - echo '<section class=edit>'; + echo '<main class=edit>'; $aff->edit($art, $app, $app->getlister(['id', 'title']), $config->fontsize(), $app->getlistermedia($app::MEDIA_DIR, 'image')); $aff->aside($app); - echo '</section>'; + echo '</main>'; } else { - echo '<section class="lecture">'; + echo '<main class="lecture">'; $art->autotaglistupdate($app->taglist($app->getlister(['id', 'title', 'description', 'tag']), $art->autotaglist())); $aff->lecture($art, $app); - echo '</section>'; + echo '</main>'; } } else { |