aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates/delete.php')
-rw-r--r--app/view/templates/delete.php44
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