diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-03-15 12:01:15 +0100 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-03-15 12:01:15 +0100 |
commit | 28016443bad102a76074095576da46993182dc92 (patch) | |
tree | e7c1bb92b12e4e4210ed04d17e8e59154acb6520 | |
parent | 5e5777559cd36d2ef32a786b93d047a1a7a3037e (diff) | |
download | elgg-28016443bad102a76074095576da46993182dc92.tar.gz elgg-28016443bad102a76074095576da46993182dc92.tar.bz2 |
end date and time now also stored properly as GMT
-rw-r--r-- | actions/event_calendar/modify_full_calendar.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/actions/event_calendar/modify_full_calendar.php b/actions/event_calendar/modify_full_calendar.php new file mode 100644 index 000000000..595bdbe4b --- /dev/null +++ b/actions/event_calendar/modify_full_calendar.php @@ -0,0 +1,15 @@ +<?php +elgg_load_library('elgg:event_calendar'); +$event_guid = get_input('event_guid',0); +$day_delta = get_input('dayDelta'); +$minute_delta = get_input('minuteDelta',''); + +if (event_calendar_modify_full_calendar($event_guid,$day_delta,$minute_delta)) { + $response = array('success'=>TRUE); +} else { + $response = array('success'=>FALSE, 'message' =>elgg_echo('event_calendar:modify_full_calendar:error')); +} + +echo json_encode($response); + +exit; |