aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/homemenu.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-22 01:21:39 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-22 01:44:20 +0100
commit8e2abd192527a308d08920c69ab4a551b6f1e994 (patch)
tree42c540d53074c5ba17400ea6bebd2cbbdcc80b8e /app/view/templates/homemenu.php
parent3060bfc76b6dc58bb1fa241a17bc15926b39e515 (diff)
downloadwcms-8e2abd192527a308d08920c69ab4a551b6f1e994.tar.gz
wcms-8e2abd192527a308d08920c69ab4a551b6f1e994.zip
new feature : multidelete
Diffstat (limited to 'app/view/templates/homemenu.php')
-rw-r--r--app/view/templates/homemenu.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php
index 25ce60c..2ee1381 100644
--- a/app/view/templates/homemenu.php
+++ b/app/view/templates/homemenu.php
@@ -37,11 +37,7 @@
<summary>Edit</summary>
<div class="submenu">
<i>Edit selected pages</i>
- <h2>Actions</h2>
<form action="<?= $this->url('multi') ?>" method="post" id="multi">
- <input type="submit" name="action" value="render">
- <input type="submit" name="action" value="download">
- <input type="submit" name="action" value="delete">
<h2>Edit Meta infos</h2>
<input type="text" name="datas[title]" id="title">
<label for="title">title</label>
@@ -143,6 +139,12 @@
<label for="resetdatemodif">update modification date</label>
</br>
<input type="submit" name="action" value="edit">
+ <h2>Actions</h2>
+ <input type="submit" name="action" value="render">
+ <input type="hidden" name="confirmdelete" value="0">
+ <input type="checkbox" name="confirmdelete" id="confirmdelete" value="1">
+ <label for="confirmdelete">confirm</label>
+ <input type="submit" name="action" value="delete">
</form>
</div>
</details>