/** * Outputs event-specific details as HTML to be prepended to post content * when displayed in a loop alongside other event posts. * * @param Ai1ec_Event $event The event being displayed */ function multi_view($event) { global $ai1ec_view_helper, $ai1ec_calendar_helper; $location = str_replace("\n", ', ', rtrim($event->get_location())); $args = array('event' => $event, 'recurrence' => $event->get_recurrence_html(), 'categories' => $event->get_categories_html(), 'tags' => $event->get_tags_html(), 'location' => $location, 'contact' => $event->get_contact_html(), 'calendar_url' => $ai1ec_calendar_helper->get_calendar_url()); $ai1ec_view_helper->display_theme('event-multi.php', $args); }