aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/read.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-04 15:47:37 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-04 15:47:37 +0100
commitdd14929505e3fd0bc1710ed757b501d3ec1f6ca1 (patch)
treed1e1f94c74eae04bd325d30e35beefce099cfdbd /app/view/templates/read.php
parent13acdbd444b0ae26e83ab8cf62d60a7f59268545 (diff)
downloadwcms-dd14929505e3fd0bc1710ed757b501d3ec1f6ca1.tar.gz
wcms-dd14929505e3fd0bc1710ed757b501d3ec1f6ca1.zip
new template system
Diffstat (limited to 'app/view/templates/read.php')
-rw-r--r--app/view/templates/read.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/view/templates/read.php b/app/view/templates/read.php
index 4e18cb3..42fba7b 100644
--- a/app/view/templates/read.php
+++ b/app/view/templates/read.php
@@ -51,7 +51,9 @@ $this->stop();
}
} else {
- echo '<h1>' . $alertnotexist . '</h1>';
+ if(!empty(Config::existnot())) {
+ echo '<h1>' . Config::existnot() . '</h1>';
+ }
if ($user->iseditor()) {
?>
<a href="<?= $this->uart('artadd', $art->id()) ?>">⭐ Create</a>