diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-12-22 04:58:54 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-12-22 04:58:54 +0100 |
commit | 920610490ea8c0e7ed4d8711eb5c7fc885239457 (patch) | |
tree | 1ee709a3662dacc3a5151305c6b0854d641cefba /app/class/w.article.php | |
parent | 08edd92a2135d486603687b181979854b60a3bcc (diff) | |
download | wcms-920610490ea8c0e7ed4d8711eb5c7fc885239457.tar.gz wcms-920610490ea8c0e7ed4d8711eb5c7fc885239457.zip |
login level session separate by basepath
Diffstat (limited to 'app/class/w.article.php')
-rw-r--r-- | app/class/w.article.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/app/class/w.article.php b/app/class/w.article.php deleted file mode 100644 index 6c504f8..0000000 --- a/app/class/w.article.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php - -if ($app->exist($_GET['id'])) { - - $art = $app->get($_GET['id']); - - if (isset($_GET['edit']) and $_GET['edit'] == 1 and $app->session() >= $app::EDITOR) { - echo '<main class=edit>'; - $aff->edit($art, $app, $app->getlister(['id', 'title']), $config->fontsize(), $app->getlistermedia($app::MEDIA_DIR, 'image')); - $aff->aside($app); - echo '</main>'; - } else { - echo '<main class="lecture">'; - - - $art->autotaglistupdate($app->taglist($app->getlister(['id', 'title', 'description', 'tag']), $art->autotaglist())); - - - $aff->lecture($art, $app); - echo '</main>'; - - } -} else { - echo '<span class="alert">This article does not exist yet</span>'; - - if ($app->session() >= $app::EDITOR) { - echo '<form action="?id=' . $_GET['id'] . '&edit=1" method="post"><input type="hidden" name="action" value="new"><input type="submit" value="Create"></form>'; - } - -} - -?>
\ No newline at end of file |