aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/confirmdelete.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-02-12 19:44:00 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-02-12 19:44:00 +0100
commite32f2f1749c691f6c778261a8f8d300573895345 (patch)
tree84a4293c7f0781243259d21f2472273c0f52fada /app/view/templates/confirmdelete.php
parent0937c851313b5098dc15e5d411b6c3638cbd5116 (diff)
downloadwcms-e32f2f1749c691f6c778261a8f8d300573895345.tar.gz
wcms-e32f2f1749c691f6c778261a8f8d300573895345.zip
Link to refactoring close #48
Diffstat (limited to 'app/view/templates/confirmdelete.php')
-rw-r--r--app/view/templates/confirmdelete.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/view/templates/confirmdelete.php b/app/view/templates/confirmdelete.php
index 24de454..ae8639b 100644
--- a/app/view/templates/confirmdelete.php
+++ b/app/view/templates/confirmdelete.php
@@ -12,23 +12,10 @@
<ul>
<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($page->linkto())) { ?>
-<h2>Article linked to :</h2>
-
-<ul>
-<?php foreach ($page->linkto('array') as $linkto) {
- echo '<li><a href="./?id=' . $linkto . '">' . $linkto . '</a></li>';
-} ?>
-</ul>
-
-<?php
-} ?>
</div>