Calendar selection only available if there are more than one.
This commit is contained in:
parent
7c738a1384
commit
9df193f051
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
?>
|
||||
</select>
|
||||
</td>
|
||||
<?php if(count($_['calendar_options']) > 1) { ?>
|
||||
<th width="75px"> <?php echo $l->t("Calendar");?>:</th>
|
||||
<td>
|
||||
<select style="width:140px;" name="calendar">
|
||||
|
@ -26,6 +27,12 @@
|
|||
?>
|
||||
</select>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<th width="75px"> </th>
|
||||
<td>
|
||||
<input type="hidden" name="calendar" value="<?php echo $_['calendar_options'][0]['id'] ?>">
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
|
|
Loading…
Reference in a new issue