diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-07 22:40:20 -0400 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-07 22:40:20 -0400 |
commit | 97d216c94d20ec23f8e88ecf490cdaae51ce3b7b (patch) | |
tree | 44f4514a99144b4bac2895b62f13e44e5298e756 /apps/calendar | |
parent | 4d884c384968ce5df49669dc9ca28c177e4f2399 (diff) | |
download | nextcloud-server-97d216c94d20ec23f8e88ecf490cdaae51ce3b7b.tar.gz nextcloud-server-97d216c94d20ec23f8e88ecf490cdaae51ce3b7b.zip |
add dropdown to eventform
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/templates/part.eventform.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/calendar/templates/part.eventform.php b/apps/calendar/templates/part.eventform.php index c4c3ae1c1e2..e4bae3d4f81 100644 --- a/apps/calendar/templates/part.eventform.php +++ b/apps/calendar/templates/part.eventform.php @@ -1,3 +1,9 @@ +<script type="text/javascript"> +<?php +echo 'Calendar.UI.Share.idtype = "event";' . "\n" . 'Calendar.UI.Share.currentid = "' . $_['eventid'] . '";'; +?> +</script> + <ul> <li><a href="#tabs-1"><?php echo $l->t('Eventinfo'); ?></a></li> <li><a href="#tabs-2"><?php echo $l->t('Repeating'); ?></a></li> @@ -38,7 +44,7 @@ <?php } else { ?> <th width="75px"> </th> <td> - <input type="hidden" name="calendar" value="<?php echo $_['calendar_options'][0]['id'] ?>"> + <input type="hidden" name="calendar" value="<?php echo $_['calendar_options'][0]['eventid'] ?>"> </td> <?php } ?> </tr> @@ -241,4 +247,6 @@ </div> <div id="tabs-3">//Alarm</div> <div id="tabs-4">//Attendees</div> -<div id="tabs-5">//Share</div> +<div id="tabs-5"> + <?php echo $this->inc('share.dropdown'); ?> +</div> |