diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-11-22 09:30:41 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-11-22 09:30:41 +0000 |
commit | 3c842ec23775a900e4888f0ad2dee697ef2ea4be (patch) | |
tree | 367bb81948136128fdc19ed8845dd542b84889ba /includes/event.php | |
parent | cfde005f011663c9b19f53384398e6bbf9a364c7 (diff) | |
download | phpicalendar-3c842ec23775a900e4888f0ad2dee697ef2ea4be.tar.gz phpicalendar-3c842ec23775a900e4888f0ad2dee697ef2ea4be.tar.bz2 phpicalendar-3c842ec23775a900e4888f0ad2dee697ef2ea4be.zip |
Added correct calname to todo popup, started cleanup of todo.php code.
Diffstat (limited to 'includes/event.php')
-rw-r--r-- | includes/event.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/includes/event.php b/includes/event.php index 96e2e93..58cb30a 100644 --- a/includes/event.php +++ b/includes/event.php @@ -8,17 +8,17 @@ function decode_popup ($item) { return $item; } -$event = (isset($HTTP_POST_VARS['event'])) ? decode_popup($HTTP_POST_VARS['event']) : ('unset'); -$description = (isset($HTTP_POST_VARS['description'])) ? decode_popup($HTTP_POST_VARS['description']) : ('unset'); -$cal = (isset($HTTP_POST_VARS['cal'])) ? decode_popup($HTTP_POST_VARS['cal']) : ('unset'); -$start = (isset($HTTP_POST_VARS['start'])) ? decode_popup($HTTP_POST_VARS['start']) : ('unset'); -$end = (isset($HTTP_POST_VARS['end'])) ? decode_popup($HTTP_POST_VARS['end']) : ('unset'); -$status = (isset($HTTP_POST_VARS['status'])) ? decode_popup($HTTP_POST_VARS['status']) : ('unset'); -$location = (isset($HTTP_POST_VARS['location'])) ? decode_popup($HTTP_POST_VARS['location']) : ('unset'); -$url = (isset($HTTP_POST_VARS['url'])) ? decode_popup($HTTP_POST_VARS['url']) : ('unset'); -$organizer = (isset($HTTP_POST_VARS['organizer'])) ? ($HTTP_POST_VARS['organizer']) : ('unset'); +$event = (isset($HTTP_POST_VARS['event'])) ? decode_popup($HTTP_POST_VARS['event']) : (''); +$description = (isset($HTTP_POST_VARS['description'])) ? decode_popup($HTTP_POST_VARS['description']) : (''); +$cal = (isset($HTTP_POST_VARS['cal'])) ? decode_popup($HTTP_POST_VARS['cal']) : (''); +$start = (isset($HTTP_POST_VARS['start'])) ? decode_popup($HTTP_POST_VARS['start']) : (''); +$end = (isset($HTTP_POST_VARS['end'])) ? decode_popup($HTTP_POST_VARS['end']) : (''); +$status = (isset($HTTP_POST_VARS['status'])) ? decode_popup($HTTP_POST_VARS['status']) : (''); +$location = (isset($HTTP_POST_VARS['location'])) ? decode_popup($HTTP_POST_VARS['location']) : (''); +$url = (isset($HTTP_POST_VARS['url'])) ? decode_popup($HTTP_POST_VARS['url']) : (''); +$organizer = (isset($HTTP_POST_VARS['organizer'])) ? ($HTTP_POST_VARS['organizer']) : (''); $organizer = unserialize (decode_popup ($organizer)); -$attendee = (isset($HTTP_POST_VARS['attendee'])) ? ($HTTP_POST_VARS['attendee']) : ('unset'); +$attendee = (isset($HTTP_POST_VARS['attendee'])) ? ($HTTP_POST_VARS['attendee']) : (''); $attendee = unserialize (decode_popup ($attendee)); $cal_title_full = $cal.' '.$calendar_lang; |