diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 17:19:26 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 17:19:26 +0100 |
commit | d7f3313ff4514e38c9f53439cd1a1287e56e45f7 (patch) | |
tree | abff39ab11cb317f5fcd2db558da1c59bdae9239 /w/view/templates/delete.php | |
parent | 2f363e8fa26ab849539e64ff7caa21bd164e8979 (diff) | |
download | wcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.tar.gz wcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.zip |
reboot folder
Diffstat (limited to 'w/view/templates/delete.php')
-rw-r--r-- | w/view/templates/delete.php | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/w/view/templates/delete.php b/w/view/templates/delete.php deleted file mode 100644 index be54451..0000000 --- a/w/view/templates/delete.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php $this->layout('layout', ['title' => 'delete', 'description' => 'delete']) ?> - - -<?php $this->start('page') ?> - - -<?php $this->insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]) ?> - -<div> - -<h1>Delete</h1> - -<ul> -<li>Id : <?= $art->title() ?></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> -</ul> - -<?php if (!empty($art->linkto())) { ?> - -<h2>Article linked to :</h2> - -<ul> -<?php foreach ($art->linkto('array') as $linkto) { - echo '<li><a href="./?id=' . $linkto . '">' . $linkto . '</a></li>'; -} ?> -</ul> - -<?php -} ?> - -</div> - - -<form action="./?id=<?= $art->id() ?>&action=delete" method="post"> -<input type="hidden" name="deleteconfirm" value="true"> -<input type="submit" value="confirm delete"> -</form> - - - -<?php $this->stop() ?>
\ No newline at end of file |