diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-12-13 00:43:47 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-12-13 00:43:47 +0100 |
commit | fbe5d2beb2bcc7035edc19eb0343f0ee662ba5af (patch) | |
tree | f66188b95d3ad1dc0cbdaa99334acddb8d9b84a0 /app/class/w.article.php | |
parent | 0842a9b17c0b25e2f1f5eca9f15e79cfb293b4a1 (diff) | |
download | wcms-fbe5d2beb2bcc7035edc19eb0343f0ee662ba5af.tar.gz wcms-fbe5d2beb2bcc7035edc19eb0343f0ee662ba5af.zip |
templateoptions
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 { |