summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/calendar/templates/part.showevent.php10
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>