aboutsummaryrefslogtreecommitdiff
path: root/app/class/w.article.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-13 00:43:47 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-13 00:43:47 +0100
commitfbe5d2beb2bcc7035edc19eb0343f0ee662ba5af (patch)
treef66188b95d3ad1dc0cbdaa99334acddb8d9b84a0 /app/class/w.article.php
parent0842a9b17c0b25e2f1f5eca9f15e79cfb293b4a1 (diff)
downloadwcms-fbe5d2beb2bcc7035edc19eb0343f0ee662ba5af.tar.gz
wcms-fbe5d2beb2bcc7035edc19eb0343f0ee662ba5af.zip
templateoptions
Diffstat (limited to 'app/class/w.article.php')
-rw-r--r--app/class/w.article.php8
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 {