From 67b20c49ec4e5efb4526fc64ef679dfb6dd41e30 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 4 Oct 2018 05:10:51 +0200 Subject: 2.8 auto-tag-update + help + tabs --- public/w/article.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'public/w/article.php') 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 '
'; - $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 '
'; } else { echo '
'; + + + $art->autotaglistupdate($app->taglist($app->getlister(['id', 'titre', 'intro', 'tag']), $art->autotaglist())); + + $aff->lecture($art, $app); echo '
'; -- cgit v1.2.3