aboutsummaryrefslogtreecommitdiff
path: root/public/w/article.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/w/article.php')
-rw-r--r--public/w/article.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/public/w/article.php b/public/w/article.php
index e5cfff7..307caa4 100644
--- a/public/w/article.php
+++ b/public/w/article.php
@@ -6,12 +6,17 @@ if ($app->exist($_GET['id'])) {
if (isset($_GET['edit']) and $_GET['edit'] == 1 and $app->session() >= $app::EDITOR) {
echo '<section class=edit>';
- $aff->edit($art, $app, $app->getlister(['id', 'titre']));
- $aff->copy($art, $app->getlister(['id', 'titre']));
+ $aff->edit($art, $app, $app->getlister(['id', 'titre']), $config->fontsize(), $app->getlistermedia($app::MEDIA_DIR, 'image'));
+ //$aff->copy($art, $app->getlister(['id', 'titre']));
$aff->aside($app);
echo '</section>';
} else {
echo '<section class="lecture">';
+
+
+ $art->autotaglistupdate($app->taglist($app->getlister(['id', 'titre', 'intro', 'tag']), $art->autotaglist()));
+
+
$aff->lecture($art, $app);
echo '</section>';