aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-22 22:13:28 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-22 22:13:28 +0200
commitbd16dc7c6fc630a6b59ca3b041dde146ab50c72b (patch)
treeb2f6a42c0bdb23606c1e9fdba0c28f0aee6b1786 /app/view/templates
parenteba4d7aa0ee5ea1bcb29e8254c28a272023ea54f (diff)
downloadwcms-bd16dc7c6fc630a6b59ca3b041dde146ab50c72b.tar.gz
wcms-bd16dc7c6fc630a6b59ca3b041dde146ab50c72b.zip
colors refactor with exceptions
Diffstat (limited to 'app/view/templates')
-rw-r--r--app/view/templates/homemenu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php
index ff39f1c..540806b 100644
--- a/app/view/templates/homemenu.php
+++ b/app/view/templates/homemenu.php
@@ -325,7 +325,7 @@
</ul>
<input type="submit" value="update columns">
</form>
- <?php if($user->issupereditor()) { ?>
+ <?php if($user->issupereditor() && !empty($colors)) { ?>
<h2>Tag colors</h2>
<form action="<?= $this->url('homecolors') ?>" method="post">
<?= $colors->htmlcolorpicker() ?>