@@ -103,9 +103,9 @@ discard block |
||
| 103 | 103 | function bigbluebuttonbn_get_join_url($meetingid, $username, $pw, $logouturl, $configtoken = null, |
| 104 | 104 | $userid = null, $clienttype = BIGBLUEBUTTON_CLIENTTYPE_FLASH) { |
| 105 | 105 | $data = ['meetingID' => $meetingid, |
| 106 | - 'fullName' => $username, |
|
| 107 | - 'password' => $pw, |
|
| 108 | - 'logoutURL' => $logouturl, |
|
| 106 | + 'fullName' => $username, |
|
| 107 | + 'password' => $pw, |
|
| 108 | + 'logoutURL' => $logouturl, |
|
| 109 | 109 | ]; |
| 110 | 110 | // Choose between Adobe Flash or HTML5 Client. |
| 111 | 111 | if ( $clienttype == BIGBLUEBUTTON_CLIENTTYPE_HTML5 ) { |
@@ -161,23 +161,23 @@ discard block |
||
| 161 | 161 | function bigbluebuttonbn_get_meeting_info_array($meetingid) { |
| 162 | 162 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
| 163 | 163 | \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('getMeetingInfo', ['meetingID' => $meetingid]) |
| 164 | - ); |
|
| 164 | + ); |
|
| 165 | 165 | if ($xml && $xml->returncode == 'SUCCESS' && empty($xml->messageKey)) { |
| 166 | 166 | // Meeting info was returned. |
| 167 | 167 | return array('returncode' => $xml->returncode, |
| 168 | - 'meetingID' => $xml->meetingID, |
|
| 169 | - 'moderatorPW' => $xml->moderatorPW, |
|
| 170 | - 'attendeePW' => $xml->attendeePW, |
|
| 171 | - 'hasBeenForciblyEnded' => $xml->hasBeenForciblyEnded, |
|
| 172 | - 'running' => $xml->running, |
|
| 173 | - 'recording' => $xml->recording, |
|
| 174 | - 'startTime' => $xml->startTime, |
|
| 175 | - 'endTime' => $xml->endTime, |
|
| 176 | - 'participantCount' => $xml->participantCount, |
|
| 177 | - 'moderatorCount' => $xml->moderatorCount, |
|
| 178 | - 'attendees' => $xml->attendees, |
|
| 179 | - 'metadata' => $xml->metadata, |
|
| 180 | - ); |
|
| 168 | + 'meetingID' => $xml->meetingID, |
|
| 169 | + 'moderatorPW' => $xml->moderatorPW, |
|
| 170 | + 'attendeePW' => $xml->attendeePW, |
|
| 171 | + 'hasBeenForciblyEnded' => $xml->hasBeenForciblyEnded, |
|
| 172 | + 'running' => $xml->running, |
|
| 173 | + 'recording' => $xml->recording, |
|
| 174 | + 'startTime' => $xml->startTime, |
|
| 175 | + 'endTime' => $xml->endTime, |
|
| 176 | + 'participantCount' => $xml->participantCount, |
|
| 177 | + 'moderatorCount' => $xml->moderatorCount, |
|
| 178 | + 'attendees' => $xml->attendees, |
|
| 179 | + 'metadata' => $xml->metadata, |
|
| 180 | + ); |
|
| 181 | 181 | } |
| 182 | 182 | if ($xml) { |
| 183 | 183 | // Either failure or success without meeting info. |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | function bigbluebuttonbn_get_default_config_xml() { |
| 330 | 330 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
| 331 | 331 | \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('getDefaultConfigXML') |
| 332 | - ); |
|
| 332 | + ); |
|
| 333 | 333 | return $xml; |
| 334 | 334 | } |
| 335 | 335 | |
@@ -433,7 +433,7 @@ discard block |
||
| 433 | 433 | foreach ($ids as $id) { |
| 434 | 434 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
| 435 | 435 | \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('deleteRecordings', ['recordID' => $id]) |
| 436 | - ); |
|
| 436 | + ); |
|
| 437 | 437 | if ($xml && $xml->returncode != 'SUCCESS') { |
| 438 | 438 | return false; |
| 439 | 439 | } |
@@ -452,7 +452,7 @@ discard block |
||
| 452 | 452 | foreach ($ids as $id) { |
| 453 | 453 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
| 454 | 454 | \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('publishRecordings', ['recordID' => $id, 'publish' => $publish]) |
| 455 | - ); |
|
| 455 | + ); |
|
| 456 | 456 | if ($xml && $xml->returncode != 'SUCCESS') { |
| 457 | 457 | return false; |
| 458 | 458 | } |
@@ -471,7 +471,7 @@ discard block |
||
| 471 | 471 | foreach ($ids as $id) { |
| 472 | 472 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
| 473 | 473 | \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('updateRecordings', ['recordID' => $id] + (array) $params) |
| 474 | - ); |
|
| 474 | + ); |
|
| 475 | 475 | if ($xml && $xml->returncode != 'SUCCESS') { |
| 476 | 476 | return false; |
| 477 | 477 | } |
@@ -488,7 +488,7 @@ discard block |
||
| 488 | 488 | function bigbluebuttonbn_end_meeting($meetingid, $modpw) { |
| 489 | 489 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
| 490 | 490 | \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('end', ['meetingID' => $meetingid, 'password' => $modpw]) |
| 491 | - ); |
|
| 491 | + ); |
|
| 492 | 492 | if ($xml) { |
| 493 | 493 | // If the xml packet returned failure it displays the message to the user. |
| 494 | 494 | return array('returncode' => $xml->returncode, 'message' => $xml->message, 'messageKey' => $xml->messageKey); |
@@ -505,7 +505,7 @@ discard block |
||
| 505 | 505 | function bigbluebuttonbn_get_server_version() { |
| 506 | 506 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
| 507 | 507 | \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url() |
| 508 | - ); |
|
| 508 | + ); |
|
| 509 | 509 | if ($xml && $xml->returncode == 'SUCCESS') { |
| 510 | 510 | return $xml->version; |
| 511 | 511 | } |
@@ -574,10 +574,10 @@ discard block |
||
| 574 | 574 | } |
| 575 | 575 | $options = array(); |
| 576 | 576 | $options['CURLOPT_HTTPHEADER'] = array( |
| 577 | - 'Content-Type: '.$contenttype, |
|
| 578 | - 'Content-Length: '.strlen($data), |
|
| 579 | - 'Content-Language: en-US', |
|
| 580 | - ); |
|
| 577 | + 'Content-Type: '.$contenttype, |
|
| 578 | + 'Content-Length: '.strlen($data), |
|
| 579 | + 'Content-Language: en-US', |
|
| 580 | + ); |
|
| 581 | 581 | |
| 582 | 582 | return $c->post($url, $data, $options); |
| 583 | 583 | } |
@@ -744,12 +744,12 @@ discard block |
||
| 744 | 744 | 'all' => array( |
| 745 | 745 | 'name' => get_string('mod_form_field_participant_list_type_all', 'bigbluebuttonbn'), |
| 746 | 746 | 'children' => [] |
| 747 | - ) |
|
| 748 | - ); |
|
| 747 | + ) |
|
| 748 | + ); |
|
| 749 | 749 | $data['role'] = array( |
| 750 | 750 | 'name' => get_string('mod_form_field_participant_list_type_role', 'bigbluebuttonbn'), |
| 751 | 751 | 'children' => bigbluebuttonbn_get_roles_select($context) |
| 752 | - ); |
|
| 752 | + ); |
|
| 753 | 753 | $data['user'] = array( |
| 754 | 754 | 'name' => get_string('mod_form_field_participant_list_type_user', 'bigbluebuttonbn'), |
| 755 | 755 | 'children' => bigbluebuttonbn_get_users_select($context, $bbactivity), |
@@ -796,7 +796,7 @@ discard block |
||
| 796 | 796 | 'selectiontype' => 'all', |
| 797 | 797 | 'selectionid' => 'all', |
| 798 | 798 | 'role' => BIGBLUEBUTTONBN_ROLE_VIEWER |
| 799 | - ); |
|
| 799 | + ); |
|
| 800 | 800 | $defaultrules = explode(',', \mod_bigbluebuttonbn\locallib\config::get('participant_moderator_default')); |
| 801 | 801 | foreach ($defaultrules as $defaultrule) { |
| 802 | 802 | if ($defaultrule == '0') { |
@@ -809,9 +809,9 @@ discard block |
||
| 809 | 809 | continue; |
| 810 | 810 | } |
| 811 | 811 | $participantlist[] = array( |
| 812 | - 'selectiontype' => 'role', |
|
| 813 | - 'selectionid' => $defaultrule, |
|
| 814 | - 'role' => BIGBLUEBUTTONBN_ROLE_MODERATOR); |
|
| 812 | + 'selectiontype' => 'role', |
|
| 813 | + 'selectionid' => $defaultrule, |
|
| 814 | + 'role' => BIGBLUEBUTTONBN_ROLE_MODERATOR); |
|
| 815 | 815 | } |
| 816 | 816 | return $participantlist; |
| 817 | 817 | } |
@@ -850,11 +850,11 @@ discard block |
||
| 850 | 850 | 'all' => get_string('mod_form_field_participant_list_type_all', 'bigbluebuttonbn'), |
| 851 | 851 | 'role' => get_string('mod_form_field_participant_list_type_role', 'bigbluebuttonbn'), |
| 852 | 852 | 'user' => get_string('mod_form_field_participant_list_type_user', 'bigbluebuttonbn'), |
| 853 | - ], |
|
| 853 | + ], |
|
| 854 | 854 | 'type_selected' => 'all', |
| 855 | 855 | 'options' => ['all' => '---------------'], |
| 856 | 856 | 'selected' => 'all', |
| 857 | - ]; |
|
| 857 | + ]; |
|
| 858 | 858 | } |
| 859 | 859 | |
| 860 | 860 | /** |
@@ -1173,7 +1173,7 @@ discard block |
||
| 1173 | 1173 | // Ping again and refresh the cache. |
| 1174 | 1174 | $meetinginfo = (array) bigbluebuttonbn_wrap_xml_load_file( |
| 1175 | 1175 | \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('getMeetingInfo', ['meetingID' => $meetingid]) |
| 1176 | - ); |
|
| 1176 | + ); |
|
| 1177 | 1177 | $cache->set($meetingid, array('creation_time' => time(), 'meeting_info' => json_encode($meetinginfo))); |
| 1178 | 1178 | return $meetinginfo; |
| 1179 | 1179 | } |
@@ -1588,8 +1588,8 @@ discard block |
||
| 1588 | 1588 | } |
| 1589 | 1589 | $id = 'playbacks-'.$recording['recordID']; |
| 1590 | 1590 | $recordingtypes = html_writer::start_tag('div', array('id' => $id, 'data-imported' => $dataimported, |
| 1591 | - 'data-meetingid' => $recording['meetingID'], 'data-recordingid' => $recording['recordID'], |
|
| 1592 | - 'title' => $title, $visibility => $visibility)); |
|
| 1591 | + 'data-meetingid' => $recording['meetingID'], 'data-recordingid' => $recording['recordID'], |
|
| 1592 | + 'title' => $title, $visibility => $visibility)); |
|
| 1593 | 1593 | foreach ($recording['playbacks'] as $playback) { |
| 1594 | 1594 | $recordingtypes .= bigbluebuttonbn_get_recording_data_row_type($recording, $bbbsession, $playback); |
| 1595 | 1595 | } |
@@ -1624,7 +1624,7 @@ discard block |
||
| 1624 | 1624 | 'data-action' => 'play', |
| 1625 | 1625 | 'data-target' => $playback['type'], |
| 1626 | 1626 | 'data-href' => $href, |
| 1627 | - ); |
|
| 1627 | + ); |
|
| 1628 | 1628 | if ($CFG->bigbluebuttonbn_recordings_validate_url && !bigbluebuttonbn_is_bn_server() && !bigbluebuttonbn_is_valid_resource(trim($playback['url']))) { |
| 1629 | 1629 | $linkattributes['class'] = 'btn btn-sm btn-warning'; |
| 1630 | 1630 | $linkattributes['title'] = get_string('view_recording_format_errror_unreachable', 'bigbluebuttonbn'); |
@@ -1806,10 +1806,10 @@ discard block |
||
| 1806 | 1806 | 'id' => $id, |
| 1807 | 1807 | 'onclick' => $onclick, |
| 1808 | 1808 | 'data-action' => $data['action'] |
| 1809 | - ); |
|
| 1809 | + ); |
|
| 1810 | 1810 | if (!isset($recording['imported'])) { |
| 1811 | 1811 | $linkattributes['data-links'] = bigbluebuttonbn_count_recording_imported_instances( |
| 1812 | - $recording['recordID']); |
|
| 1812 | + $recording['recordID']); |
|
| 1813 | 1813 | } |
| 1814 | 1814 | if (isset($data['disabled'])) { |
| 1815 | 1815 | $iconattributes['class'] .= ' fa-' . $data['disabled']; |
@@ -2332,17 +2332,17 @@ discard block |
||
| 2332 | 2332 | function bigbluebuttonbn_get_instance_type_profiles() { |
| 2333 | 2333 | $instanceprofiles = array( |
| 2334 | 2334 | BIGBLUEBUTTONBN_TYPE_ALL => array('id' => BIGBLUEBUTTONBN_TYPE_ALL, |
| 2335 | - 'name' => get_string('instance_type_default', 'bigbluebuttonbn'), |
|
| 2336 | - 'features' => array('all')), |
|
| 2335 | + 'name' => get_string('instance_type_default', 'bigbluebuttonbn'), |
|
| 2336 | + 'features' => array('all')), |
|
| 2337 | 2337 | BIGBLUEBUTTONBN_TYPE_ROOM_ONLY => array('id' => BIGBLUEBUTTONBN_TYPE_ROOM_ONLY, |
| 2338 | - 'name' => get_string('instance_type_room_only', 'bigbluebuttonbn'), |
|
| 2339 | - 'features' => array('showroom', 'welcomemessage', 'voicebridge', 'waitformoderator', 'userlimit', |
|
| 2340 | - 'recording', 'sendnotifications', 'preuploadpresentation', 'permissions', 'schedule', 'groups', |
|
| 2341 | - 'modstandardelshdr', 'availabilityconditionsheader', 'tagshdr', 'competenciessection', |
|
| 2342 | - 'clienttype', 'availabilityconditionsheader')), |
|
| 2338 | + 'name' => get_string('instance_type_room_only', 'bigbluebuttonbn'), |
|
| 2339 | + 'features' => array('showroom', 'welcomemessage', 'voicebridge', 'waitformoderator', 'userlimit', |
|
| 2340 | + 'recording', 'sendnotifications', 'preuploadpresentation', 'permissions', 'schedule', 'groups', |
|
| 2341 | + 'modstandardelshdr', 'availabilityconditionsheader', 'tagshdr', 'competenciessection', |
|
| 2342 | + 'clienttype', 'availabilityconditionsheader')), |
|
| 2343 | 2343 | BIGBLUEBUTTONBN_TYPE_RECORDING_ONLY => array('id' => BIGBLUEBUTTONBN_TYPE_RECORDING_ONLY, |
| 2344 | - 'name' => get_string('instance_type_recording_only', 'bigbluebuttonbn'), |
|
| 2345 | - 'features' => array('showrecordings', 'importrecordings', 'availabilityconditionsheader')) |
|
| 2344 | + 'name' => get_string('instance_type_recording_only', 'bigbluebuttonbn'), |
|
| 2345 | + 'features' => array('showrecordings', 'importrecordings', 'availabilityconditionsheader')) |
|
| 2346 | 2346 | ); |
| 2347 | 2347 | return $instanceprofiles; |
| 2348 | 2348 | } |
@@ -2431,8 +2431,8 @@ discard block |
||
| 2431 | 2431 | $activitytime = ''; |
| 2432 | 2432 | if ($time) { |
| 2433 | 2433 | $activitytime = calendar_day_representation($time).' '. |
| 2434 | - get_string('mod_form_field_notification_msg_at', 'bigbluebuttonbn').' '. |
|
| 2435 | - calendar_time_representation($time); |
|
| 2434 | + get_string('mod_form_field_notification_msg_at', 'bigbluebuttonbn').' '. |
|
| 2435 | + calendar_time_representation($time); |
|
| 2436 | 2436 | } |
| 2437 | 2437 | return $activitytime; |
| 2438 | 2438 | } |
@@ -2753,7 +2753,7 @@ discard block |
||
| 2753 | 2753 | $renderer->render_group_element('participant_moderator_default', |
| 2754 | 2754 | $renderer->render_group_element_configmultiselect('participant_moderator_default', |
| 2755 | 2755 | array_keys($owner), array_merge($owner, $roles)) |
| 2756 | - ); |
|
| 2756 | + ); |
|
| 2757 | 2757 | } |
| 2758 | 2758 | } |
| 2759 | 2759 | |
@@ -2789,7 +2789,7 @@ discard block |
||
| 2789 | 2789 | // Web Client default. |
| 2790 | 2790 | $default = intval((int)\mod_bigbluebuttonbn\locallib\config::get('clienttype_default')); |
| 2791 | 2791 | $choices = array(BIGBLUEBUTTON_CLIENTTYPE_FLASH => get_string('mod_form_block_clienttype_flash', 'bigbluebuttonbn'), |
| 2792 | - BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn')); |
|
| 2792 | + BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn')); |
|
| 2793 | 2793 | $renderer->render_group_element('clienttype_default', |
| 2794 | 2794 | $renderer->render_group_element_configselect('clienttype_default', |
| 2795 | 2795 | $default, $choices)); |
@@ -2900,7 +2900,7 @@ discard block |
||
| 2900 | 2900 | return $output; |
| 2901 | 2901 | } |
| 2902 | 2902 | $output .= $OUTPUT->box_start('box boxalignleft adminerror alert alert-' . $type . ' alert-block fade in', |
| 2903 | - 'bigbluebuttonbn_view_general_warning') . "\n"; |
|
| 2903 | + 'bigbluebuttonbn_view_general_warning') . "\n"; |
|
| 2904 | 2904 | $output .= ' ' . $message . "\n"; |
| 2905 | 2905 | $output .= ' <div class="singlebutton pull-right">' . "\n"; |
| 2906 | 2906 | if (!empty($href)) { |
@@ -172,43 +172,43 @@ |
||
| 172 | 172 | */ |
| 173 | 173 | public static function get_options() { |
| 174 | 174 | return array( |
| 175 | - 'version_major' => self::get_moodle_version_major(), |
|
| 176 | - 'voicebridge_editable' => self::get('voicebridge_editable'), |
|
| 177 | - 'importrecordings_enabled' => self::get('importrecordings_enabled'), |
|
| 178 | - 'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'), |
|
| 179 | - 'waitformoderator_default' => self::get('waitformoderator_default'), |
|
| 180 | - 'waitformoderator_editable' => self::get('waitformoderator_editable'), |
|
| 181 | - 'userlimit_default' => self::get('userlimit_default'), |
|
| 182 | - 'userlimit_editable' => self::get('userlimit_editable'), |
|
| 183 | - 'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'), |
|
| 184 | - 'sendnotifications_enabled' => self::get('sendnotifications_enabled'), |
|
| 185 | - 'recordings_enabled' => self::get('recordings_enabled'), |
|
| 186 | - 'recordings_html_default' => self::get('recordings_html_default'), |
|
| 187 | - 'recordings_html_editable' => self::get('recordings_html_editable'), |
|
| 188 | - 'recordings_deleted_default' => self::get('recordings_deleted_default'), |
|
| 189 | - 'recordings_deleted_editable' => self::get('recordings_deleted_editable'), |
|
| 190 | - 'recordings_imported_default' => self::get('recordings_imported_default'), |
|
| 191 | - 'recordings_imported_editable' => self::get('recordings_imported_editable'), |
|
| 192 | - 'recordings_preview_default' => self::get('recordings_preview_default'), |
|
| 193 | - 'recordings_preview_editable' => self::get('recordings_preview_editable'), |
|
| 194 | - 'recordings_validate_url' => self::get('recordings_validate_url'), |
|
| 195 | - 'recording_default' => self::get('recording_default'), |
|
| 196 | - 'recording_editable' => self::get('recording_editable'), |
|
| 197 | - 'recording_icons_enabled' => self::get('recording_icons_enabled'), |
|
| 198 | - 'recording_all_from_start_default' => self::get('recording_all_from_start_default'), |
|
| 199 | - 'recording_all_from_start_editable' => self::get('recording_all_from_start_editable'), |
|
| 200 | - 'recording_hide_button_default' => self::get('recording_hide_button_default'), |
|
| 201 | - 'recording_hide_button_editable' => self::get('recording_hide_button_editable'), |
|
| 202 | - 'general_warning_message' => self::get('general_warning_message'), |
|
| 203 | - 'general_warning_box_type' => self::get('general_warning_box_type'), |
|
| 204 | - 'general_warning_button_text' => self::get('general_warning_button_text'), |
|
| 205 | - 'general_warning_button_href' => self::get('general_warning_button_href'), |
|
| 206 | - 'general_warning_button_class' => self::get('general_warning_button_class'), |
|
| 207 | - 'clienttype_enabled' => self::get('clienttype_enabled'), |
|
| 208 | - 'clienttype_editable' => self::get('clienttype_editable'), |
|
| 209 | - 'clienttype_default' => self::get('clienttype_default'), |
|
| 210 | - 'muteonstart_editable' => self::get('muteonstart_editable'), |
|
| 211 | - 'muteonstart_default' => self::get('muteonstart_default'), |
|
| 212 | - ); |
|
| 175 | + 'version_major' => self::get_moodle_version_major(), |
|
| 176 | + 'voicebridge_editable' => self::get('voicebridge_editable'), |
|
| 177 | + 'importrecordings_enabled' => self::get('importrecordings_enabled'), |
|
| 178 | + 'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'), |
|
| 179 | + 'waitformoderator_default' => self::get('waitformoderator_default'), |
|
| 180 | + 'waitformoderator_editable' => self::get('waitformoderator_editable'), |
|
| 181 | + 'userlimit_default' => self::get('userlimit_default'), |
|
| 182 | + 'userlimit_editable' => self::get('userlimit_editable'), |
|
| 183 | + 'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'), |
|
| 184 | + 'sendnotifications_enabled' => self::get('sendnotifications_enabled'), |
|
| 185 | + 'recordings_enabled' => self::get('recordings_enabled'), |
|
| 186 | + 'recordings_html_default' => self::get('recordings_html_default'), |
|
| 187 | + 'recordings_html_editable' => self::get('recordings_html_editable'), |
|
| 188 | + 'recordings_deleted_default' => self::get('recordings_deleted_default'), |
|
| 189 | + 'recordings_deleted_editable' => self::get('recordings_deleted_editable'), |
|
| 190 | + 'recordings_imported_default' => self::get('recordings_imported_default'), |
|
| 191 | + 'recordings_imported_editable' => self::get('recordings_imported_editable'), |
|
| 192 | + 'recordings_preview_default' => self::get('recordings_preview_default'), |
|
| 193 | + 'recordings_preview_editable' => self::get('recordings_preview_editable'), |
|
| 194 | + 'recordings_validate_url' => self::get('recordings_validate_url'), |
|
| 195 | + 'recording_default' => self::get('recording_default'), |
|
| 196 | + 'recording_editable' => self::get('recording_editable'), |
|
| 197 | + 'recording_icons_enabled' => self::get('recording_icons_enabled'), |
|
| 198 | + 'recording_all_from_start_default' => self::get('recording_all_from_start_default'), |
|
| 199 | + 'recording_all_from_start_editable' => self::get('recording_all_from_start_editable'), |
|
| 200 | + 'recording_hide_button_default' => self::get('recording_hide_button_default'), |
|
| 201 | + 'recording_hide_button_editable' => self::get('recording_hide_button_editable'), |
|
| 202 | + 'general_warning_message' => self::get('general_warning_message'), |
|
| 203 | + 'general_warning_box_type' => self::get('general_warning_box_type'), |
|
| 204 | + 'general_warning_button_text' => self::get('general_warning_button_text'), |
|
| 205 | + 'general_warning_button_href' => self::get('general_warning_button_href'), |
|
| 206 | + 'general_warning_button_class' => self::get('general_warning_button_class'), |
|
| 207 | + 'clienttype_enabled' => self::get('clienttype_enabled'), |
|
| 208 | + 'clienttype_editable' => self::get('clienttype_editable'), |
|
| 209 | + 'clienttype_default' => self::get('clienttype_default'), |
|
| 210 | + 'muteonstart_editable' => self::get('muteonstart_editable'), |
|
| 211 | + 'muteonstart_default' => self::get('muteonstart_default'), |
|
| 212 | + ); |
|
| 213 | 213 | } |
| 214 | 214 | } |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | !isset($CFG->bigbluebuttonbn['recordings_preview_default']) || |
| 93 | 93 | !isset($CFG->bigbluebuttonbn['recordings_preview_editable']) || |
| 94 | 94 | !isset($CFG->bigbluebuttonbn['recordings_validate_url']) |
| 95 | - ); |
|
| 95 | + ); |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | /** |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * recordings from a different activity even from a different course. |
| 104 | 104 | **/ |
| 105 | 105 | |
| 106 | - /* |
|
| 106 | + /* |
|
| 107 | 107 | * When the value is set to 1 (checked) the bigbluebuttonbn rooms or |
| 108 | 108 | * activities will have the 'import recordings' capability enabled. |
| 109 | 109 | * $CFG->bigbluebuttonbn['importrecordings_enabled'] = 0; |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | * 'Join session' button enabled |
| 125 | 125 | **/ |
| 126 | 126 | |
| 127 | - /* |
|
| 127 | + /* |
|
| 128 | 128 | * When the value is set to 1 (checked) the bigbluebuttonbn rooms or |
| 129 | 129 | * activities will have the 'wait for moderator' capability enabled by |
| 130 | 130 | * default. |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | * $CFG->bigbluebuttonbn['recordings_preview_editable'] = 0; |
| 277 | 277 | */ |
| 278 | 278 | |
| 279 | - /* When the value is set to 1 (checked) the playback URLs will be validated |
|
| 279 | + /* When the value is set to 1 (checked) the playback URLs will be validated |
|
| 280 | 280 | * before the user access it. |
| 281 | 281 | * $CFG->bigbluebuttonbn['recordings_validate_url'] = 1; |
| 282 | 282 | */ |
@@ -366,27 +366,27 @@ discard block |
||
| 366 | 366 | * $CFG->bigbluebuttonbn['general_warning_message'] = "Would you like to record your BigBlueButton sessions for later viewing? "; |
| 367 | 367 | */ |
| 368 | 368 | |
| 369 | - /* |
|
| 369 | + /* |
|
| 370 | 370 | * The warning box is always shown to administrators, but it is also possible to define other roles |
| 371 | 371 | * to whom the it will be shown. The roles are based on the shortnames defined by Moodle: |
| 372 | 372 | * 'manager,coursecreator,editingteacher,teacher,student,guest,user,frontpage' |
| 373 | 373 | * $CFG->bigbluebuttonbn['general_warning_roles'] = 'editingteacher,teacher'; |
| 374 | 374 | */ |
| 375 | 375 | |
| 376 | - /* |
|
| 376 | + /* |
|
| 377 | 377 | * As the general_warning_message is shown in a box, its type can be defined with general_warning_type |
| 378 | 378 | * The default type is 'info' which is normaly rendered in blue when using a bootstrap theme. |
| 379 | 379 | * All the modifiers for boxed in bootstrap can be used [info|success|warning|danger]. |
| 380 | 380 | * $CFG->bigbluebuttonbn['general_warning_box_type'] = 'info'; |
| 381 | 381 | */ |
| 382 | 382 | |
| 383 | - /* |
|
| 383 | + /* |
|
| 384 | 384 | * Additionally, when general_warning_button_href value is different than "", a button |
| 385 | 385 | * can also be shown right after the message. |
| 386 | 386 | * $CFG->bigbluebuttonbn['general_warning_button_href'] = "http://blindsidenetworks.com/"; |
| 387 | 387 | */ |
| 388 | 388 | |
| 389 | - /* |
|
| 389 | + /* |
|
| 390 | 390 | * Finally, the text and class for the button can be modified |
| 391 | 391 | * $CFG->bigbluebuttonbn['general_warning_button_text'] = "Upgrade your site"; |
| 392 | 392 | * $CFG->bigbluebuttonbn['general_warning_button_class'] = "btn btn-primary"; |