diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-10-18 15:50:34 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-10-18 15:50:34 +0200 |
commit | 0968351067f99e8afc882d4237902642e608e6f5 (patch) | |
tree | 202d554dcc6135a88c11bee78660c53a47df2931 /app/view/templates/alert.php | |
parent | 917a3971302791d9df67c047c4e663c9fb04f0c4 (diff) | |
download | wcms-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.php | 12 |
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 } |