aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/read.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-11 22:04:49 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-11 22:04:49 +0100
commita64af357ff41a61f5248e2052274315b390e979c (patch)
treef08323727b1b2a1fc86f8290777cf847f9604334 /app/view/templates/read.php
parentcea923a1e82a7e8ce696418c3a5a0f7703871101 (diff)
downloadwcms-a64af357ff41a61f5248e2052274315b390e979c.tar.gz
wcms-a64af357ff41a61f5248e2052274315b390e979c.zip
clean
Diffstat (limited to 'app/view/templates/read.php')
-rw-r--r--app/view/templates/read.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/view/templates/read.php b/app/view/templates/read.php
index 35b1e7d..1911cf6 100644
--- a/app/view/templates/read.php
+++ b/app/view/templates/read.php
@@ -53,8 +53,10 @@ $this->stop();
} else {
echo '<h1>' . $alertnotexist . '</h1>';
if ($cancreate) {
- $this->insert('readcreate', ['id' => $art->id()]);
- }
+ ?>
+ <a href="<?= $this->uart('artadd', $art->id()) ?>">⭐ Create</a>
+ <?php
+ }
}