start_time)) { $time_bit = event_calendar_convert_time($event->start_time); } $date_bit = event_calendar_get_formatted_date($event->start_date); if (event_calendar_has_personal_event($event->guid,elgg_get_logged_in_user_guid())) { $calendar_bit = 'checked = "checked"'; } else { $calendar_bit = ''; } $info = '