aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/calendar/schedule/_colorpicker.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/calendar/schedule/_colorpicker.php b/app/views/calendar/schedule/_colorpicker.php
index 79ad8b2..310c93a 100644
--- a/app/views/calendar/schedule/_colorpicker.php
+++ b/app/views/calendar/schedule/_colorpicker.php
@@ -1,12 +1,12 @@
<section id="color_picker">
<?= _('Farbe des Termins') ?>
<div>
- <? foreach ($GLOBALS['PERS_TERMIN_KAT'] as $index => $data): ?>
+ <? for ($index = 1; $index <= 18; $index++): ?>
<span>
<input type="radio" name="entry_color" value="<?= $index ?>" id="color-<?= $index ?>"
<? if ($index == $selected) echo 'checked'; ?>>
<label class="undecorated schedule-category<?= $index ?>" for="color-<?= $index ?>"></label>
</span>
- <? endforeach; ?>
+ <? endfor; ?>
</div>
</section>