diff options
Diffstat (limited to 'app/view/templates')
-rw-r--r-- | app/view/templates/home.php | 2 | ||||
-rw-r--r-- | app/view/templates/homemenu.php | 28 |
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> |