diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 21:15:38 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-01-29 21:15:38 +0100 |
commit | c3014fb7be5c54ac9d1325f33f6fe0a2624161a8 (patch) | |
tree | 1583b667316e4ac6fe2e2b5bedcc190de7ff46c2 /app/view/templates | |
parent | b28f1a4a516f93044c632b254670dd21f52e625c (diff) | |
download | wcms-c3014fb7be5c54ac9d1325f33f6fe0a2624161a8.tar.gz wcms-c3014fb7be5c54ac9d1325f33f6fe0a2624161a8.zip |
new feature : home>display>tags colors
Diffstat (limited to 'app/view/templates')
-rw-r--r-- | app/view/templates/home.php | 2 | ||||
-rw-r--r-- | app/view/templates/homemenu.php | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 0c1cc86..fa9ef63 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, 'faviconlist' => $faviconlist, 'editorlist' => $editorlist]); + $this->insert('homemenu', ['user' => $user, 'opt' => $opt, 'optlist' => $optlist, 'pagelist' => $pagelist, 'faviconlist' => $faviconlist, 'editorlist' => $editorlist, 'colors' => $colors]); ?> diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php index 669f9f2..51a58e9 100644 --- a/app/view/templates/homemenu.php +++ b/app/view/templates/homemenu.php @@ -304,6 +304,13 @@ </ul> <input type="submit" value="update columns"> </form> + <?php if($user->issupereditor()) { ?> + <h2>Tag colors</h2> + <form action="<?= $this->url('homecolors') ?>" method="post"> + <?= $colors->htmlcolorpicker() ?> + <input type="submit" value="update"> + </form> + <?php } ?> </div> </details> |