From e2410ff02068bd012174ff31b143c11f65f0f485 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Fri, 7 Sep 2012 11:29:38 +0200 Subject: join now recreates conference if necessary --- views/default/event_calendar/conference_button.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'views/default/event_calendar/conference_button.php') diff --git a/views/default/event_calendar/conference_button.php b/views/default/event_calendar/conference_button.php index baa30cc68..79fa9c5a2 100644 --- a/views/default/event_calendar/conference_button.php +++ b/views/default/event_calendar/conference_button.php @@ -2,7 +2,7 @@ // A non-admin / non-event-creator only sees the button if they have the event on his/her personal calendar // and it is at most 15 minutes before the conference starts. -// The button is removed for everyone (even admins) one day after the conference ends. +// The button is removed for everyone (even admins) one day after the event end time. $event = $vars['event']; @@ -21,10 +21,11 @@ if ($event) { } if ( $in_time_window ) { $button = elgg_view('output/url', array( - 'href' => event_calendar_get_join_bbb_url($event), + 'href' => 'action/event_calendar/join_conference?event_guid='.$event->guid, 'text' => elgg_echo('event_calendar:join_conf_button'), 'class' => 'elgg-button elgg-button-action', 'target' => '_blank', + 'is_action' => TRUE, )); echo '
'.$button.'
'; -- cgit v1.2.3