@@ -434,12 +434,12 @@ discard block |
||
| 434 | 434 | $recordings = bigbluebuttonbn_get_recordings( |
| 435 | 435 | $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom'], |
| 436 | 436 | $bbbsession['bigbluebuttonbn']->recordings_deleted |
| 437 | - ); |
|
| 437 | + ); |
|
| 438 | 438 | if ($enabledfeatures['importrecordings']) { |
| 439 | 439 | // Get recording links. |
| 440 | 440 | $recordingsimported = bigbluebuttonbn_get_recordings_imported_array( |
| 441 | 441 | $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom'] |
| 442 | - ); |
|
| 442 | + ); |
|
| 443 | 443 | /* Perform aritmetic addition instead of merge so the imported recordings corresponding to existent |
| 444 | 444 | * recordings are not included. */ |
| 445 | 445 | if ($bbbsession['bigbluebuttonbn']->recordings_imported) { |
@@ -457,7 +457,7 @@ discard block |
||
| 457 | 457 | // JavaScript variables for recordings. |
| 458 | 458 | $jsvars += array( |
| 459 | 459 | 'recordings_html' => $bbbsession['bigbluebuttonbn']->recordings_html == '1', |
| 460 | - ); |
|
| 460 | + ); |
|
| 461 | 461 | // If there are meetings with recordings load the data to the table. |
| 462 | 462 | if ($bbbsession['bigbluebuttonbn']->recordings_html) { |
| 463 | 463 | // Render a plain html table. |
@@ -467,7 +467,7 @@ discard block |
||
| 467 | 467 | $jsvars += array( |
| 468 | 468 | 'columns' => bigbluebuttonbn_get_recording_columns($bbbsession), |
| 469 | 469 | 'data' => bigbluebuttonbn_get_recording_data($bbbsession, $recordings), |
| 470 | - ); |
|
| 470 | + ); |
|
| 471 | 471 | // Render a YUI table. |
| 472 | 472 | return html_writer::div('', '', array('id' => 'bigbluebuttonbn_recordings_table')); |
| 473 | 473 | } |
@@ -487,10 +487,10 @@ discard block |
||
| 487 | 487 | } |
| 488 | 488 | $button = html_writer::tag('input', '', |
| 489 | 489 | array('type' => 'button', |
| 490 | - 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
|
| 491 | - 'class' => 'btn btn-secondary', |
|
| 492 | - 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
| 493 | - $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
| 490 | + 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
|
| 491 | + 'class' => 'btn btn-secondary', |
|
| 492 | + 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
| 493 | + $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
| 494 | 494 | $output = html_writer::empty_tag('br'); |
| 495 | 495 | $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button')); |
| 496 | 496 | $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table')); |
@@ -569,5 +569,5 @@ discard block |
||
| 569 | 569 | (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_href'), |
| 570 | 570 | (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_text'), |
| 571 | 571 | (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_class') |
| 572 | - ); |
|
| 572 | + ); |
|
| 573 | 573 | } |
@@ -24,8 +24,8 @@ discard block |
||
| 24 | 24 | * @author Fred Dixon (ffdixon [at] blindsidenetworks [dt] com) |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | -require_once(dirname(dirname(dirname(__FILE__))).'/config.php'); |
|
| 28 | -require_once(dirname(__FILE__).'/locallib.php'); |
|
| 27 | +require_once(dirname(dirname(dirname(__FILE__))) . '/config.php'); |
|
| 28 | +require_once(dirname(__FILE__) . '/locallib.php'); |
|
| 29 | 29 | |
| 30 | 30 | $id = required_param('id', PARAM_INT); |
| 31 | 31 | $bn = optional_param('bn', 0, PARAM_INT); |
@@ -57,19 +57,19 @@ discard block |
||
| 57 | 57 | if (is_null($serverversion)) { |
| 58 | 58 | if ($bbbsession['administrator']) { |
| 59 | 59 | print_error('view_error_unable_join', 'bigbluebuttonbn', |
| 60 | - $CFG->wwwroot.'/admin/settings.php?section=modsettingbigbluebuttonbn'); |
|
| 60 | + $CFG->wwwroot . '/admin/settings.php?section=modsettingbigbluebuttonbn'); |
|
| 61 | 61 | exit; |
| 62 | 62 | } |
| 63 | 63 | if ($bbbsession['moderator']) { |
| 64 | 64 | print_error('view_error_unable_join_teacher', 'bigbluebuttonbn', |
| 65 | - $CFG->wwwroot.'/course/view.php?id='.$bigbluebuttonbn->course); |
|
| 65 | + $CFG->wwwroot . '/course/view.php?id=' . $bigbluebuttonbn->course); |
|
| 66 | 66 | exit; |
| 67 | 67 | } |
| 68 | 68 | print_error('view_error_unable_join_student', 'bigbluebuttonbn', |
| 69 | - $CFG->wwwroot.'/course/view.php?id='.$bigbluebuttonbn->course); |
|
| 69 | + $CFG->wwwroot . '/course/view.php?id=' . $bigbluebuttonbn->course); |
|
| 70 | 70 | exit; |
| 71 | 71 | } |
| 72 | -$bbbsession['serverversion'] = (string) $serverversion; |
|
| 72 | +$bbbsession['serverversion'] = (string)$serverversion; |
|
| 73 | 73 | |
| 74 | 74 | // Mark viewed by user (if required). |
| 75 | 75 | $completion = new completion_info($course); |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | // Print the page header. |
| 79 | 79 | $PAGE->set_context($context); |
| 80 | -$PAGE->set_url($CFG->wwwroot.'/mod/bigbluebuttonbn/view.php', array('id' => $cm->id)); |
|
| 80 | +$PAGE->set_url($CFG->wwwroot . '/mod/bigbluebuttonbn/view.php', array('id' => $cm->id)); |
|
| 81 | 81 | $PAGE->set_title(format_string($bigbluebuttonbn->name)); |
| 82 | 82 | $PAGE->set_cacheable(false); |
| 83 | 83 | $PAGE->set_heading($course->fullname); |
@@ -87,11 +87,11 @@ discard block |
||
| 87 | 87 | if (!has_capability('moodle/category:manage', $context) && !has_capability('mod/bigbluebuttonbn:join', $context)) { |
| 88 | 88 | echo $OUTPUT->header(); |
| 89 | 89 | if (isguestuser()) { |
| 90 | - echo $OUTPUT->confirm('<p>'.get_string('view_noguests', 'bigbluebuttonbn').'</p>'.get_string('liketologin'), |
|
| 91 | - get_login_url(), $CFG->wwwroot.'/course/view.php?id='.$course->id); |
|
| 90 | + echo $OUTPUT->confirm('<p>' . get_string('view_noguests', 'bigbluebuttonbn') . '</p>' . get_string('liketologin'), |
|
| 91 | + get_login_url(), $CFG->wwwroot . '/course/view.php?id=' . $course->id); |
|
| 92 | 92 | } else { |
| 93 | - echo $OUTPUT->confirm('<p>'.get_string('view_nojoin', 'bigbluebuttonbn').'</p>'.get_string('liketologin'), |
|
| 94 | - get_login_url(), $CFG->wwwroot.'/course/view.php?id='.$course->id); |
|
| 93 | + echo $OUTPUT->confirm('<p>' . get_string('view_nojoin', 'bigbluebuttonbn') . '</p>' . get_string('liketologin'), |
|
| 94 | + get_login_url(), $CFG->wwwroot . '/course/view.php?id=' . $course->id); |
|
| 95 | 95 | } |
| 96 | 96 | echo $OUTPUT->footer(); |
| 97 | 97 | exit; |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | |
| 100 | 100 | // Operation URLs. |
| 101 | 101 | $bbbsession['bigbluebuttonbnURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/view.php?id=' . $bbbsession['cm']->id; |
| 102 | -$bbbsession['logoutURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_view.php?action=logout&id='.$id . |
|
| 102 | +$bbbsession['logoutURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_view.php?action=logout&id=' . $id . |
|
| 103 | 103 | '&bn=' . $bbbsession['bigbluebuttonbn']->id; |
| 104 | 104 | $bbbsession['recordingReadyURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_broker.php?action=recording_' . |
| 105 | 105 | 'ready&bigbluebuttonbn=' . $bbbsession['bigbluebuttonbn']->id; |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | echo $OUTPUT->footer(); |
| 120 | 120 | |
| 121 | 121 | // Shows version as a comment. |
| 122 | -echo '<!-- '.$bbbsession['originTag'].' -->'."\n"; |
|
| 122 | +echo '<!-- ' . $bbbsession['originTag'] . ' -->' . "\n"; |
|
| 123 | 123 | |
| 124 | 124 | // Initialize session variable used across views. |
| 125 | 125 | $SESSION->bigbluebuttonbn_bbbsession = $bbbsession; |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | $bbbsession['modPW'] = $bbbsession['bigbluebuttonbn']->moderatorpass; |
| 148 | 148 | $bbbsession['viewerPW'] = $bbbsession['bigbluebuttonbn']->viewerpass; |
| 149 | 149 | // Database info related to the activity. |
| 150 | - $bbbsession['meetingid'] = $bbbsession['bigbluebuttonbn']->meetingid.'-'.$bbbsession['course']->id.'-'. |
|
| 150 | + $bbbsession['meetingid'] = $bbbsession['bigbluebuttonbn']->meetingid . '-' . $bbbsession['course']->id . '-' . |
|
| 151 | 151 | $bbbsession['bigbluebuttonbn']->id; |
| 152 | 152 | $bbbsession['meetingname'] = $bbbsession['bigbluebuttonbn']->name; |
| 153 | 153 | $bbbsession['meetingdescription'] = $bbbsession['bigbluebuttonbn']->intro; |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | $bbbsession['welcome'] = get_string('mod_form_field_welcome_default', 'bigbluebuttonbn'); |
| 168 | 168 | } |
| 169 | 169 | if ($bbbsession['bigbluebuttonbn']->record) { |
| 170 | - $bbbsession['welcome'] .= '<br><br>'.get_string('bbbrecordwarning', 'bigbluebuttonbn'); |
|
| 170 | + $bbbsession['welcome'] .= '<br><br>' . get_string('bbbrecordwarning', 'bigbluebuttonbn'); |
|
| 171 | 171 | } |
| 172 | 172 | $bbbsession['openingtime'] = $bbbsession['bigbluebuttonbn']->openingtime; |
| 173 | 173 | $bbbsession['closingtime'] = $bbbsession['bigbluebuttonbn']->closingtime; |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | $bbbsession['originServerName'] = $parsedurl['host']; |
| 181 | 181 | $bbbsession['originServerUrl'] = $CFG->wwwroot; |
| 182 | 182 | $bbbsession['originServerCommonName'] = ''; |
| 183 | - $bbbsession['originTag'] = 'moodle-mod_bigbluebuttonbn ('.get_config('mod_bigbluebuttonbn', 'version').')'; |
|
| 183 | + $bbbsession['originTag'] = 'moodle-mod_bigbluebuttonbn (' . get_config('mod_bigbluebuttonbn', 'version') . ')'; |
|
| 184 | 184 | $bbbsession['bnserver'] = bigbluebuttonbn_is_bn_server(); |
| 185 | 185 | // Setting for clienttype, assign flash if not enabled, or default if not editable. |
| 186 | 186 | $bbbsession['clienttype'] = \mod_bigbluebuttonbn\locallib\config::get('clienttype_default'); |
@@ -243,8 +243,8 @@ discard block |
||
| 243 | 243 | $groupname = groups_get_group_name($bbbsession['group']); |
| 244 | 244 | } |
| 245 | 245 | // Assign group default values. |
| 246 | - $bbbsession['meetingid'] .= '['.$bbbsession['group'].']'; |
|
| 247 | - $bbbsession['meetingname'] .= ' ('.$groupname.')'; |
|
| 246 | + $bbbsession['meetingid'] .= '[' . $bbbsession['group'] . ']'; |
|
| 247 | + $bbbsession['meetingname'] .= ' (' . $groupname . ')'; |
|
| 248 | 248 | if (count($groups) == 0) { |
| 249 | 249 | // Only the All participants group exists. |
| 250 | 250 | bigbluebuttonbn_view_message_box($bbbsession, get_string('view_groups_notenrolled_warning', 'bigbluebuttonbn'), 'info'); |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | if (has_capability('moodle/site:accessallgroups', $context)) { |
| 255 | 255 | bigbluebuttonbn_view_message_box($bbbsession, get_string('view_groups_selection_warning', 'bigbluebuttonbn')); |
| 256 | 256 | } |
| 257 | - $urltoroot = $CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bbbsession['cm']->id; |
|
| 257 | + $urltoroot = $CFG->wwwroot . '/mod/bigbluebuttonbn/view.php?id=' . $bbbsession['cm']->id; |
|
| 258 | 258 | groups_print_activity_menu($bbbsession['cm'], $urltoroot); |
| 259 | 259 | echo '<br><br>'; |
| 260 | 260 | } |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | $recordingsdisabled = get_string('view_message_recordings_disabled', 'bigbluebuttonbn'); |
| 322 | 322 | $output .= bigbluebuttonbn_render_warning($recordingsdisabled, 'danger'); |
| 323 | 323 | } |
| 324 | - echo $output.html_writer::empty_tag('br').html_writer::empty_tag('br').html_writer::empty_tag('br'); |
|
| 324 | + echo $output . html_writer::empty_tag('br') . html_writer::empty_tag('br') . html_writer::empty_tag('br'); |
|
| 325 | 325 | $PAGE->requires->yui_module('moodle-mod_bigbluebuttonbn-broker', 'M.mod_bigbluebuttonbn.broker.init', array($jsvars)); |
| 326 | 326 | } |
| 327 | 327 | |
@@ -390,12 +390,12 @@ discard block |
||
| 390 | 390 | // JavaScript variables for room. |
| 391 | 391 | $openingtime = ''; |
| 392 | 392 | if ($bbbsession['openingtime']) { |
| 393 | - $openingtime = get_string('mod_form_field_openingtime', 'bigbluebuttonbn').': '. |
|
| 393 | + $openingtime = get_string('mod_form_field_openingtime', 'bigbluebuttonbn') . ': ' . |
|
| 394 | 394 | userdate($bbbsession['openingtime']); |
| 395 | 395 | } |
| 396 | 396 | $closingtime = ''; |
| 397 | 397 | if ($bbbsession['closingtime']) { |
| 398 | - $closingtime = get_string('mod_form_field_closingtime', 'bigbluebuttonbn').': '. |
|
| 398 | + $closingtime = get_string('mod_form_field_closingtime', 'bigbluebuttonbn') . ': ' . |
|
| 399 | 399 | userdate($bbbsession['closingtime']); |
| 400 | 400 | } |
| 401 | 401 | $jsvars += array( |
@@ -412,7 +412,7 @@ discard block |
||
| 412 | 412 | $output .= $OUTPUT->box_end(); |
| 413 | 413 | // Action button box. |
| 414 | 414 | $output .= $OUTPUT->box_start('generalbox boxaligncenter', 'bigbluebuttonbn_view_action_button_box'); |
| 415 | - $output .= '<br><br><span id="join_button"></span> <span id="end_button"></span>'."\n"; |
|
| 415 | + $output .= '<br><br><span id="join_button"></span> <span id="end_button"></span>' . "\n"; |
|
| 416 | 416 | $output .= $OUTPUT->box_end(); |
| 417 | 417 | if ($activity == 'ended') { |
| 418 | 418 | $output .= bigbluebuttonbn_view_ended($bbbsession); |
@@ -465,7 +465,7 @@ discard block |
||
| 465 | 465 | // If there are meetings with recordings load the data to the table. |
| 466 | 466 | if ($bbbsession['bigbluebuttonbn']->recordings_html) { |
| 467 | 467 | // Render a plain html table. |
| 468 | - return bigbluebuttonbn_output_recording_table($bbbsession, $recordings)."\n"; |
|
| 468 | + return bigbluebuttonbn_output_recording_table($bbbsession, $recordings) . "\n"; |
|
| 469 | 469 | } |
| 470 | 470 | // JavaScript variables for recordings with YUI. |
| 471 | 471 | $jsvars += array( |
@@ -493,8 +493,8 @@ discard block |
||
| 493 | 493 | array('type' => 'button', |
| 494 | 494 | 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
| 495 | 495 | 'class' => 'btn btn-secondary', |
| 496 | - 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
| 497 | - $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
| 496 | + 'onclick' => 'window.location=\'' . $CFG->wwwroot . '/mod/bigbluebuttonbn/import_view.php?bn=' . |
|
| 497 | + $bbbsession['bigbluebuttonbn']->id . '\'')); |
|
| 498 | 498 | $output = html_writer::empty_tag('br'); |
| 499 | 499 | $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button')); |
| 500 | 500 | $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table')); |
@@ -513,10 +513,10 @@ discard block |
||
| 513 | 513 | if (!is_null($bbbsession['presentation']['url'])) { |
| 514 | 514 | $attributes = array('title' => $bbbsession['presentation']['name']); |
| 515 | 515 | $icon = new pix_icon($bbbsession['presentation']['icon'], $bbbsession['presentation']['mimetype_description']); |
| 516 | - return '<h4>'.get_string('view_section_title_presentation', 'bigbluebuttonbn').'</h4>'. |
|
| 517 | - $OUTPUT->action_icon($bbbsession['presentation']['url'], $icon, null, array(), false). |
|
| 516 | + return '<h4>' . get_string('view_section_title_presentation', 'bigbluebuttonbn') . '</h4>' . |
|
| 517 | + $OUTPUT->action_icon($bbbsession['presentation']['url'], $icon, null, array(), false) . |
|
| 518 | 518 | $OUTPUT->action_link($bbbsession['presentation']['url'], |
| 519 | - $bbbsession['presentation']['name'], null, $attributes).'<br><br>'; |
|
| 519 | + $bbbsession['presentation']['name'], null, $attributes) . '<br><br>'; |
|
| 520 | 520 | } |
| 521 | 521 | return ''; |
| 522 | 522 | } |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | * @since Moodle 3.3 |
| 110 | 110 | */ |
| 111 | 111 | public static function get_bigbluebuttonbns_by_courses_parameters() { |
| 112 | - return new external_function_parameters ( |
|
| 112 | + return new external_function_parameters( |
|
| 113 | 113 | array( |
| 114 | 114 | 'courseids' => new external_multiple_structure( |
| 115 | 115 | new external_value(PARAM_INT, 'Course id'), 'Array of course ids', VALUE_DEFAULT, array() |
@@ -55,8 +55,8 @@ discard block |
||
| 55 | 55 | */ |
| 56 | 56 | public static function defaultvalues() { |
| 57 | 57 | return array( |
| 58 | - 'server_url' => (string) BIGBLUEBUTTONBN_DEFAULT_SERVER_URL, |
|
| 59 | - 'shared_secret' => (string) BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET, |
|
| 58 | + 'server_url' => (string)BIGBLUEBUTTONBN_DEFAULT_SERVER_URL, |
|
| 59 | + 'shared_secret' => (string)BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET, |
|
| 60 | 60 | 'voicebridge_editable' => false, |
| 61 | 61 | 'importrecordings_enabled' => false, |
| 62 | 62 | 'importrecordings_from_deleted_enabled' => false, |
@@ -124,8 +124,8 @@ discard block |
||
| 124 | 124 | if (isset($CFG->bigbluebuttonbn[$setting])) { |
| 125 | 125 | return (string)$CFG->bigbluebuttonbn[$setting]; |
| 126 | 126 | } |
| 127 | - if (isset($CFG->{'bigbluebuttonbn_'.$setting})) { |
|
| 128 | - return (string)$CFG->{'bigbluebuttonbn_'.$setting}; |
|
| 127 | + if (isset($CFG->{'bigbluebuttonbn_' . $setting})) { |
|
| 128 | + return (string)$CFG->{'bigbluebuttonbn_' . $setting}; |
|
| 129 | 129 | } |
| 130 | 130 | return self::defaultvalue($setting); |
| 131 | 131 | } |
@@ -166,38 +166,38 @@ |
||
| 166 | 166 | */ |
| 167 | 167 | public static function get_options() { |
| 168 | 168 | return array( |
| 169 | - 'version_major' => self::get_moodle_version_major(), |
|
| 170 | - 'voicebridge_editable' => self::get('voicebridge_editable'), |
|
| 171 | - 'importrecordings_enabled' => self::get('importrecordings_enabled'), |
|
| 172 | - 'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'), |
|
| 173 | - 'waitformoderator_default' => self::get('waitformoderator_default'), |
|
| 174 | - 'waitformoderator_editable' => self::get('waitformoderator_editable'), |
|
| 175 | - 'userlimit_default' => self::get('userlimit_default'), |
|
| 176 | - 'userlimit_editable' => self::get('userlimit_editable'), |
|
| 177 | - 'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'), |
|
| 178 | - 'sendnotifications_enabled' => self::get('sendnotifications_enabled'), |
|
| 179 | - 'recordings_enabled' => self::get('recordings_enabled'), |
|
| 180 | - 'recordings_html_default' => self::get('recordings_html_default'), |
|
| 181 | - 'recordings_html_editable' => self::get('recordings_html_editable'), |
|
| 182 | - 'recordings_deleted_default' => self::get('recordings_deleted_default'), |
|
| 183 | - 'recordings_deleted_editable' => self::get('recordings_deleted_editable'), |
|
| 184 | - 'recordings_imported_default' => self::get('recordings_imported_default'), |
|
| 185 | - 'recordings_imported_editable' => self::get('recordings_imported_editable'), |
|
| 186 | - 'recordings_preview_default' => self::get('recordings_preview_default'), |
|
| 187 | - 'recordings_preview_editable' => self::get('recordings_preview_editable'), |
|
| 188 | - 'recording_default' => self::get('recording_default'), |
|
| 189 | - 'recording_editable' => self::get('recording_editable'), |
|
| 190 | - 'recording_icons_enabled' => self::get('recording_icons_enabled'), |
|
| 191 | - 'general_warning_message' => self::get('general_warning_message'), |
|
| 192 | - 'general_warning_box_type' => self::get('general_warning_box_type'), |
|
| 193 | - 'general_warning_button_text' => self::get('general_warning_button_text'), |
|
| 194 | - 'general_warning_button_href' => self::get('general_warning_button_href'), |
|
| 195 | - 'general_warning_button_class' => self::get('general_warning_button_class'), |
|
| 196 | - 'clienttype_enabled' => self::get('clienttype_enabled'), |
|
| 197 | - 'clienttype_editable' => self::get('clienttype_editable'), |
|
| 198 | - 'clienttype_default' => self::get('clienttype_default'), |
|
| 199 | - 'muteonstart_editable' => self::get('muteonstart_editable'), |
|
| 200 | - 'muteonstart_default' => self::get('muteonstart_default'), |
|
| 201 | - ); |
|
| 169 | + 'version_major' => self::get_moodle_version_major(), |
|
| 170 | + 'voicebridge_editable' => self::get('voicebridge_editable'), |
|
| 171 | + 'importrecordings_enabled' => self::get('importrecordings_enabled'), |
|
| 172 | + 'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'), |
|
| 173 | + 'waitformoderator_default' => self::get('waitformoderator_default'), |
|
| 174 | + 'waitformoderator_editable' => self::get('waitformoderator_editable'), |
|
| 175 | + 'userlimit_default' => self::get('userlimit_default'), |
|
| 176 | + 'userlimit_editable' => self::get('userlimit_editable'), |
|
| 177 | + 'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'), |
|
| 178 | + 'sendnotifications_enabled' => self::get('sendnotifications_enabled'), |
|
| 179 | + 'recordings_enabled' => self::get('recordings_enabled'), |
|
| 180 | + 'recordings_html_default' => self::get('recordings_html_default'), |
|
| 181 | + 'recordings_html_editable' => self::get('recordings_html_editable'), |
|
| 182 | + 'recordings_deleted_default' => self::get('recordings_deleted_default'), |
|
| 183 | + 'recordings_deleted_editable' => self::get('recordings_deleted_editable'), |
|
| 184 | + 'recordings_imported_default' => self::get('recordings_imported_default'), |
|
| 185 | + 'recordings_imported_editable' => self::get('recordings_imported_editable'), |
|
| 186 | + 'recordings_preview_default' => self::get('recordings_preview_default'), |
|
| 187 | + 'recordings_preview_editable' => self::get('recordings_preview_editable'), |
|
| 188 | + 'recording_default' => self::get('recording_default'), |
|
| 189 | + 'recording_editable' => self::get('recording_editable'), |
|
| 190 | + 'recording_icons_enabled' => self::get('recording_icons_enabled'), |
|
| 191 | + 'general_warning_message' => self::get('general_warning_message'), |
|
| 192 | + 'general_warning_box_type' => self::get('general_warning_box_type'), |
|
| 193 | + 'general_warning_button_text' => self::get('general_warning_button_text'), |
|
| 194 | + 'general_warning_button_href' => self::get('general_warning_button_href'), |
|
| 195 | + 'general_warning_button_class' => self::get('general_warning_button_class'), |
|
| 196 | + 'clienttype_enabled' => self::get('clienttype_enabled'), |
|
| 197 | + 'clienttype_editable' => self::get('clienttype_editable'), |
|
| 198 | + 'clienttype_default' => self::get('clienttype_default'), |
|
| 199 | + 'muteonstart_editable' => self::get('muteonstart_editable'), |
|
| 200 | + 'muteonstart_default' => self::get('muteonstart_default'), |
|
| 201 | + ); |
|
| 202 | 202 | } |
| 203 | 203 | } |
@@ -41,8 +41,8 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) { |
| 43 | 43 | parent::init($crud, $edulevel); |
| 44 | - $this->description = "A bigbluebutton meeting for the bigbluebuttonbn activity with id ". |
|
| 45 | - "'##objectid' for the course id '##courseid' has been forcibly ". |
|
| 44 | + $this->description = "A bigbluebutton meeting for the bigbluebuttonbn activity with id " . |
|
| 45 | + "'##objectid' for the course id '##courseid' has been forcibly " . |
|
| 46 | 46 | "ended by the user with id '##userid'."; |
| 47 | 47 | } |
| 48 | 48 | |
@@ -41,8 +41,8 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | protected function init($crud = 'r', $edulevel = self::LEVEL_PARTICIPATING) { |
| 43 | 43 | parent::init($crud, $edulevel); |
| 44 | - $this->description = "The user with id '##userid' has left a bigbluebutton meeting for ". |
|
| 45 | - "the bigbluebuttonbn activity with id '##objectid' for the course id ". |
|
| 44 | + $this->description = "The user with id '##userid' has left a bigbluebutton meeting for " . |
|
| 45 | + "the bigbluebuttonbn activity with id '##objectid' for the course id " . |
|
| 46 | 46 | "'##courseid'."; |
| 47 | 47 | } |
| 48 | 48 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) { |
| 43 | 43 | parent::init($crud, $edulevel); |
| 44 | - $this->description = "The user with id '##userid' has deleted a recording with id ". |
|
| 44 | + $this->description = "The user with id '##userid' has deleted a recording with id " . |
|
| 45 | 45 | "'##other' from the course id '##courseid'."; |
| 46 | 46 | } |
| 47 | 47 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) { |
| 43 | 43 | parent::init($crud, $edulevel); |
| 44 | - $this->description = "The user with id '##userid' has edited a recording with id ". |
|
| 44 | + $this->description = "The user with id '##userid' has edited a recording with id " . |
|
| 45 | 45 | "'##other' in the course id '##courseid'."; |
| 46 | 46 | } |
| 47 | 47 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | protected function init($crud = 'r', $edulevel = self::LEVEL_PARTICIPATING) { |
| 42 | 42 | parent::init($crud, $edulevel); |
| 43 | - $this->description = "The user with id '##userid' viewed the bigbluebuttonbn activity management page for ". |
|
| 43 | + $this->description = "The user with id '##userid' viewed the bigbluebuttonbn activity management page for " . |
|
| 44 | 44 | "the course module id '##contextinstanceid'."; |
| 45 | 45 | } |
| 46 | 46 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | protected function init($crud = 'r', $edulevel = self::LEVEL_OTHER) { |
| 43 | 43 | parent::init($crud, $edulevel); |
| 44 | - $this->description = "The user with id '##userid' has published a recording with id ". |
|
| 44 | + $this->description = "The user with id '##userid' has published a recording with id " . |
|
| 45 | 45 | "'##other' in the course id '##courseid'."; |
| 46 | 46 | } |
| 47 | 47 | |