aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/homemenu.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-11 18:48:47 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-11 18:48:47 +0100
commitb7c2d553face9ccdc5f96bcaaa181510c4328530 (patch)
treea560f1750128eb5f4b333e6b5f95dd765e840959 /app/view/templates/homemenu.php
parentc599b349667630b328ab2560abccbb7e4fe47801 (diff)
downloadwcms-b7c2d553face9ccdc5f96bcaaa181510c4328530.tar.gz
wcms-b7c2d553face9ccdc5f96bcaaa181510c4328530.zip
multi edit :
- title - description
Diffstat (limited to 'app/view/templates/homemenu.php')
-rw-r--r--app/view/templates/homemenu.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php
index ade9bac..21f9af8 100644
--- a/app/view/templates/homemenu.php
+++ b/app/view/templates/homemenu.php
@@ -1,7 +1,7 @@
<aside class="home">
-
+<?php if($user->issupereditor()) { ?>
<details class="hidephone" id="json">
<summary>File</summary>
<div class="submenu">
@@ -45,6 +45,12 @@
</form>
<h2>Edit Meta infos</h2>
<form action="<?= $this->url('multiedit') ?>" method="post" id="multiedit">
+ <input type="text" name="datas[title]" id="title">
+ <label for="title">title</label>
+ </br>
+ <input type="text" name="datas[description]" id="description">
+ <label for="description">description</label>
+ </br>
<strong>Tag</strong>
</br>
<input type="hidden" name="reset[tag]" value="0">
@@ -142,6 +148,7 @@
</form>
</div>
</details>
+ <?php } ?>