if (!empty($event_id)) { $message = Display::return_message(get_lang('VideoConferenceAddedToTheCalendar'), 'success'); } else { $message = Display::return_message(get_lang('Error'), 'error'); } break; case 'copy_record_to_link_tool': $result = $bbb->copyRecordToLinkTool($_GET['id']); if ($result) { $message = Display::return_message(get_lang('VideoConferenceAddedToTheLinkTool'), 'success'); } else { $message = Display::return_message(get_lang('Error'), 'error'); } break; case 'delete_record': $bbb->deleteRecord($_GET['id']); if ($result) { $message = Display::return_message(get_lang('Deleted'), 'success'); } else { $message = Display::return_message(get_lang('Error'), 'error'); } break; case 'end': $bbb->endMeeting($_GET['id']); $message = Display::return_message( get_lang('MeetingClosed') . '<br />' . get_lang( 'MeetingClosedComment' ), 'success', false );