}
}
+ if (ev.bid) {
+ div = $('kronolithEventRepeatException');
+ div.down('span').update(ev.eod);
+ this.toggleRecurrence('Exception');
+ }
+
/* Attendees */
this.freeBusy = $H();
if (this.attendeeStartDateHandler) {
toggleRecurrence: function(recur)
{
$('kronolithEventTabRecur').select('div').invoke('hide');
- if (recur != 'None') {
+ if (recur == 'Exception') {
+ $('kronolithEventRepeatException').show();
+ } else if (recur != 'None') {
$('kronolithEventRepeat' + recur).show();
$('kronolithEventRepeatLength').show();
+ $('kronolithEventRepeatType').show();
}
},
</div>
<div id="kronolithEventTabRecur" class="kronolithTabsOption" style="display:none">
- <?php printf(_("%s Don't repeat %s or repeat %s daily, %s weekly, %s monthly %s or %s yearly %s"),
- '<label for="kronolithEventLinkNone"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_NONE . '" checked="checked" id="kronolithEventLinkNone" />', '</label>',
- '<label for="kronolithEventLinkDaily"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_DAILY . '" id="kronolithEventLinkDaily" />', '</label>
- <label for="kronolithEventLinkWeekly"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_WEEKLY . '" id="kronolithEventLinkWeekly" />', '</label>
- <label for="kronolithEventLinkMonthly"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_MONTHLY_DATE . '" id="kronolithEventLinkMonthly" />', '</label>',
- '<label for="kronolithEventLinkYearly"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_YEARLY_DATE . '" id="kronolithEventLinkYearly" />', '</label><br />') ?>
-
+ <div id="kronolithEventRepeatType" style="display:none">
+ <?php printf(_("%s Don't repeat %s or repeat %s daily, %s weekly, %s monthly %s or %s yearly %s"),
+ '<label for="kronolithEventLinkNone"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_NONE . '" checked="checked" id="kronolithEventLinkNone" />', '</label>',
+ '<label for="kronolithEventLinkDaily"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_DAILY . '" id="kronolithEventLinkDaily" />', '</label>
+ <label for="kronolithEventLinkWeekly"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_WEEKLY . '" id="kronolithEventLinkWeekly" />', '</label>
+ <label for="kronolithEventLinkMonthly"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_MONTHLY_DATE . '" id="kronolithEventLinkMonthly" />', '</label>',
+ '<label for="kronolithEventLinkYearly"><input type="radio" name="recur" value="' . Horde_Date_Recurrence::RECUR_YEARLY_DATE . '" id="kronolithEventLinkYearly" />', '</label><br />') ?>
+ </div>
<div id="kronolithEventRepeatDaily" style="display:none">
<?php printf(_("Repeat %s every day %s or %s every %s days %s"),
'<label><input type="radio" name="recur_daily" value="1" checked="checked" />', '</label>',
<label><input type="text" name="recur_count" id="kronolithEventRecurCount" value="" size="3" class="kronolithEventValue" />', '</label>') ?>
<br />
</div>
+ <div id="kronolithEventRepeatException" style="display:none"><?php printf(_("This is an exception to a recurring event originally scheduled on %s"), '<span id="recur_exception_original"></span>')?></div>
</div>
<div id="kronolithEventTabUrl" class="kronolithTabsOption" style="display:none">