aboutsummaryrefslogtreecommitdiff
path: root/app/view
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-11 14:16:18 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-11 14:16:18 +0100
commitc599b349667630b328ab2560abccbb7e4fe47801 (patch)
treeff7acf6aa39b3d99396e3eb6b44a7e99ab704661 /app/view
parentd9816ef4affa3d7096a2189e9b171d9d130a727e (diff)
downloadwcms-c599b349667630b328ab2560abccbb7e4fe47801.tar.gz
wcms-c599b349667630b328ab2560abccbb7e4fe47801.zip
multiedit : addauthor
Diffstat (limited to 'app/view')
-rw-r--r--app/view/templates/home.php2
-rw-r--r--app/view/templates/homemenu.php28
2 files changed, 29 insertions, 1 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index 63706d0..a60a5cc 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -16,7 +16,7 @@
<?php
$optlist = $optlist ?? null;
- $this->insert('homemenu', ['user' => $user, 'opt' => $opt, 'optlist' => $optlist, 'pagelist' => $pagelist]);
+ $this->insert('homemenu', ['user' => $user, 'opt' => $opt, 'optlist' => $optlist, 'pagelist' => $pagelist, 'faviconlist' => $faviconlist, 'editorlist' => $editorlist]);
?>
diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php
index fc16340..ade9bac 100644
--- a/app/view/templates/homemenu.php
+++ b/app/view/templates/homemenu.php
@@ -76,6 +76,18 @@
</select>
<label for="setlevel">Privacy level</label>
</br>
+ <strong>Favicon</strong>
+ </br>
+ <select name="datas[favicon]" id="favicon">
+ <option value="" disabled selected>--set favicon--</option>
+ <?php
+ foreach ($faviconlist as $favicon) {
+ echo '<option value ="' . $favicon . '">' . $favicon . '</option>';
+ }
+ ?>
+ </select>
+ <label for="favicon">Favicon</label>
+ </br>
<strong>Templates</strong>
</br>
<select name="datas[templatebody]" id="templatebody">
@@ -106,6 +118,22 @@
?> </select>
<label for="templatejavascript">Javascript</label>
</br>
+ <strong>Author</strong>
+ </br>
+ <select name="addauthor" id="addauthor">
+ <option value="" disabled selected>--add author--</option>
+ <?php
+ foreach ($editorlist as $editor) {
+ echo '<option value ="' . $editor . '">' . $editor . '</option>';
+ }
+ ?>
+ </select>
+ <label for="addauthor">Author</label>
+ </br>
+ <input type="hidden" name="reset[author]" value="0">
+ <input type="checkbox" name="reset[author]" id="resetauthor" value="1">
+ <label for="resetauthor">Empty Authors</label>
+ </br>
<input type="hidden" name="reset[datemodif]" value="0">
<input type="checkbox" name="reset[datemodif]" id="resetdatemodif" value="1">
<label for="resetdatemodif">update modification date</label>