diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 22:04:49 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 22:04:49 +0100 |
commit | a64af357ff41a61f5248e2052274315b390e979c (patch) | |
tree | f08323727b1b2a1fc86f8290777cf847f9604334 /app/view/templates/delete.php | |
parent | cea923a1e82a7e8ce696418c3a5a0f7703871101 (diff) | |
download | wcms-a64af357ff41a61f5248e2052274315b390e979c.tar.gz wcms-a64af357ff41a61f5248e2052274315b390e979c.zip |
clean
Diffstat (limited to 'app/view/templates/delete.php')
-rw-r--r-- | app/view/templates/delete.php | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/app/view/templates/delete.php b/app/view/templates/delete.php deleted file mode 100644 index be54451..0000000 --- a/app/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 |