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/confirmdelete.php | |
parent | 917a3971302791d9df67c047c4e663c9fb04f0c4 (diff) | |
download | wcms-0968351067f99e8afc882d4237902642e608e6f5.tar.gz wcms-0968351067f99e8afc882d4237902642e608e6f5.zip |
Big naming Clean-up Art -> Page
Diffstat (limited to 'app/view/templates/confirmdelete.php')
-rw-r--r-- | app/view/templates/confirmdelete.php | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/app/view/templates/confirmdelete.php b/app/view/templates/confirmdelete.php index 7d8f62a..133f32b 100644 --- a/app/view/templates/confirmdelete.php +++ b/app/view/templates/confirmdelete.php @@ -4,26 +4,25 @@ <?php $this->start('page') ?> -<?php $this->insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]) ?> <div> <h1>Delete</h1> <ul> -<li>Id : <?= $art->id() ?></li> -<li>Title : <?= $art->title() ?></li> -<li>Article(s) linked to this one : <?= $art->linkto('sort') ?></li> -<li>Article(s) linked from this one : <?= $art->linkfrom('sort') ?></li> -<li>Number of edits : <?= $art->editcount() ?></li> +<li>Id : <?= $page->id() ?></li> +<li>Title : <?= $page->title() ?></li> +<li>Article(s) linked to this one : <?= $page->linkto('sort') ?></li> +<li>Article(s) linked from this one : <?= $page->linkfrom('sort') ?></li> +<li>Number of edits : <?= $page->editcount() ?></li> </ul> -<?php if (!empty($art->linkto())) { ?> +<?php if (!empty($page->linkto())) { ?> <h2>Article linked to :</h2> <ul> -<?php foreach ($art->linkto('array') as $linkto) { +<?php foreach ($page->linkto('array') as $linkto) { echo '<li><a href="./?id=' . $linkto . '">' . $linkto . '</a></li>'; } ?> </ul> @@ -34,7 +33,7 @@ </div> -<form action="<?= $this->uart('artdelete', $art->id()) ?>" method="post"> +<form action="<?= $this->upage('pagedelete', $page->id()) ?>" method="post"> <input type="hidden" name="deleteconfirm" value="true"> <input type="submit" value="confirm delete"> </form> |