aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/alert.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-10-18 15:50:34 +0200
committervincent-peugnet <v.peugnet@free.fr>2019-10-18 15:50:34 +0200
commit0968351067f99e8afc882d4237902642e608e6f5 (patch)
tree202d554dcc6135a88c11bee78660c53a47df2931 /app/view/templates/alert.php
parent917a3971302791d9df67c047c4e663c9fb04f0c4 (diff)
downloadwcms-0968351067f99e8afc882d4237902642e608e6f5.tar.gz
wcms-0968351067f99e8afc882d4237902642e608e6f5.zip
Big naming Clean-up Art -> Page
Diffstat (limited to 'app/view/templates/alert.php')
-rw-r--r--app/view/templates/alert.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/view/templates/alert.php b/app/view/templates/alert.php
index 24f77ed..c4a54b1 100644
--- a/app/view/templates/alert.php
+++ b/app/view/templates/alert.php
@@ -35,14 +35,14 @@ $this->stop();
$form = '<p>
<form action="' . $this->url('log') .'" method="post">
<input type="password" name="pass" id="loginpass" placeholder="password">
- <input type="hidden" name="route" value="artread/">
- <input type="hidden" name="id" value="' . $art->id() . '">
+ <input type="hidden" name="route" value="pageread/">
+ <input type="hidden" name="id" value="' . $page->id() . '">
<input type="submit" name="log" value="login" id="button">
</form>
</p>';
- if(!$artexist) {
+ if(!$pageexist) {
if(!empty(Config::existnot())) {
echo '<h2>' . Config::existnot() . '</h2>';
}
@@ -53,7 +53,7 @@ $this->stop();
- switch ($art->secure()) {
+ switch ($page->secure()) {
case 1:
if(!empty(Config::private())) {
echo '<h2>' . Config::private() . '</h2>';
@@ -78,11 +78,11 @@ $this->stop();
if ($canedit) {
?>
- <p><a href="<?= $this->uart('artadd', $art->id()) ?>">⭐ Create</a></p>
+ <p><a href="<?= $this->upage('pageadd', $page->id()) ?>">⭐ Create</a></p>
<?php
} elseif(!empty(Config::alertlink())) {
?>
- <p><a href="<?= $this->uart('artread/', Config::alertlink()) ?>"><?= empty(Config::alertlinktext()) ? Config::alertlink() : Config::alertlinktext() ?></a></p>
+ <p><a href="<?= $this->upage('pageread/', Config::alertlink()) ?>"><?= empty(Config::alertlinktext()) ? Config::alertlink() : Config::alertlinktext() ?></a></p>
<?php
}