1<?php 2if (empty($url)) { 3 $url = Horde::signUrl(Horde::url('month.php', true) 4 ->add(array('month' => $month, 'year' => $year))); 5} 6?> 7<form action="<?php echo Horde::url('delete.php') ?>" method="post" name="delete"> 8<?php echo Horde_Util::formInput() ?> 9<input type="hidden" name="year" value="<?php if (isset($year)) echo htmlspecialchars($year) ?>" /> 10<input type="hidden" name="month" value="<?php if (isset($month)) echo htmlspecialchars($month) ?>" /> 11<input type="hidden" name="mday" value="<?php if (isset($day)) echo htmlspecialchars($day) ?>" /> 12<input type="hidden" name="url" value="<?php echo htmlspecialchars($url) ?>" /> 13<input type="hidden" name="eventID" value="<?php echo htmlspecialchars($this->event->id) ?>" /> 14<input type="hidden" name="calendar" value="<?php echo htmlspecialchars(Horde_Util::getFormData('calendar')) ?>" /> 15<input type="hidden" name="type" value="<?php echo htmlspecialchars($this->event->calendarType) ?>" /> 16 17<div class="headerbox"> 18<?php if (!empty($this->event->attendees)): ?> 19 <p><input id="sendupdates_del" type="checkbox" class="checkbox" name="sendupdates" checked="checked" /><label for="sendupdates_del"> <?php echo _("Send a cancel notification to all attendees when deleting this event?") ?></label></p> 20<?php endif ?> 21 22 <p><?php echo _("Permanently delete this event?") ?></p> 23 24 <input type="submit" class="horde-delete" name="delete" value="<?php echo _("Delete") ?>" /> 25 <a class="horde-cancel" href="<?php echo htmlspecialchars($url) ?>"><?php echo _("Cancel") ?></a> 26</div> 27 28</form> 29