diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-06-13 22:20:43 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-06-13 22:20:43 +0200 |
commit | e15480683820426870be62a26dc7b91cbdc9a157 (patch) | |
tree | 8988cc5a7af3ce595dfc04fc555cf18852588a44 | |
parent | 2e44ffaf021aed95a649a16cae2585b75a45655d (diff) | |
download | nextcloud-server-e15480683820426870be62a26dc7b91cbdc9a157.tar.gz nextcloud-server-e15480683820426870be62a26dc7b91cbdc9a157.zip |
fix another ui bug of calendar
-rw-r--r-- | apps/calendar/templates/part.showevent.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/calendar/templates/part.showevent.php b/apps/calendar/templates/part.showevent.php index 43092e31954..59684d831e5 100644 --- a/apps/calendar/templates/part.showevent.php +++ b/apps/calendar/templates/part.showevent.php @@ -19,12 +19,14 @@ <th width="75px"><?php echo $l->t("Category");?>:</th> <td> <?php - if(count($_['categories']) == 0){ + if(count($_['categories']) == 0 || $_['categories'] == ''){ echo $l->t('No categories selected'); }else{ - echo '<select id="category" name="categories[]" multiple="multiple" title="' . $l->t("Select category") . '">'; - echo OCP\html_select_options($_['categories'], $_['categories'], array('combine'=>true)); - echo '</select>'; + echo '<ul>'; + foreach($_['categories'] as $categorie){ + echo '<li>' . $categorie . '</li>'; + } + echo '</ul>'; } ?> </td> |