aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates')
-rw-r--r--app/view/templates/admin.php2
-rw-r--r--app/view/templates/read.php4
2 files changed, 4 insertions, 2 deletions
diff --git a/app/view/templates/admin.php b/app/view/templates/admin.php
index 54bbedd..d913186 100644
--- a/app/view/templates/admin.php
+++ b/app/view/templates/admin.php
@@ -42,7 +42,7 @@
<h2>Editing</h2>
- <label for="existnot">Tooltip hover internal link when page does not exist yet</label>
+ <label for="existnot">Text to show when a page does not exist yet</label>
<input type="text" name="existnot" id="existnot" value="<?= Config::existnot() ?>">
<label for="showeditmenu">Show editor menu in top right corner of pages</label>
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>