Merge branch 'MDL-32605-master' of git://github.com/ankitagarwal/moodle

This commit is contained in:
Dan Poltawski 2012-07-02 15:45:54 +08:00
commit cef245ae48

View File

@ -108,7 +108,7 @@ $repeatspan = '';
if (!empty($event->eventrepeats) && $event->eventrepeats > 0) {
$url = new moodle_url(CALENDAR_URL.'delete.php', array('id'=>$event->repeatid, 'confirm'=>true, 'repeats'=>true));
$buttons .= $OUTPUT->single_button($url, get_string('deleteall'));
$repeatspan = '<br /><br /><span>'.get_string('youcandeleteallrepeats', 'calendar').'</span>';
$repeatspan = '<br /><br /><span>'.get_string('youcandeleteallrepeats', 'calendar', $event->eventrepeats).'</span>';
}
// And add the cancel button