|
@@ -85,7 +85,7 @@ discard block |
|
|
block discarded – undo |
|
85
|
85
|
return; |
|
86
|
86
|
} |
|
87
|
87
|
echo $OUTPUT->box_start('generalbox boxaligncenter'); |
|
88
|
|
- echo '<br><div class="alert alert-' . $type . '">' . $message . '</div>'; |
|
|
88
|
+ echo '<br><div class="alert alert-'.$type.'">'.$message.'</div>'; |
|
89
|
89
|
echo $OUTPUT->box_end(); |
|
90
|
90
|
} |
|
91
|
91
|
|
|
@@ -104,7 +104,7 @@ discard block |
|
|
block discarded – undo |
|
104
|
104
|
} |
|
105
|
105
|
$typeprofiles = bigbluebuttonbn_get_instance_type_profiles(); |
|
106
|
106
|
$enabledfeatures = bigbluebuttonbn_get_enabled_features($typeprofiles, $type); |
|
107
|
|
- $pinginterval = (int)\mod_bigbluebuttonbn\locallib\config::get('waitformoderator_ping_interval') * 1000; |
|
|
107
|
+ $pinginterval = (int) \mod_bigbluebuttonbn\locallib\config::get('waitformoderator_ping_interval') * 1000; |
|
108
|
108
|
// JavaScript for locales. |
|
109
|
109
|
$PAGE->requires->strings_for_js(array_keys(bigbluebuttonbn_get_strings_for_js()), 'bigbluebuttonbn'); |
|
110
|
110
|
// JavaScript variables. |
|
@@ -258,7 +258,7 @@ discard block |
|
|
block discarded – undo |
|
258
|
258
|
// Get recording links. |
|
259
|
259
|
$bigbluebuttonbnid = $bbbsession['bigbluebuttonbn']->id; |
|
260
|
260
|
$recordingsimported = bigbluebuttonbn_get_recordings_imported_array( |
|
261
|
|
- $bbbsession['course']->id, $bigbluebuttonbnid, true |
|
|
261
|
+ $bbbsession['course']->id, $bigbluebuttonbnid, true |
|
262
|
262
|
); |
|
263
|
263
|
/* Perform aritmetic addition instead of merge so the imported recordings corresponding to existent |
|
264
|
264
|
* recordings are not included. */ |
|
@@ -375,10 +375,10 @@ discard block |
|
|
block discarded – undo |
|
375
|
375
|
return ''; |
|
376
|
376
|
} |
|
377
|
377
|
return bigbluebuttonbn_render_warning( |
|
378
|
|
- (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_message'), |
|
379
|
|
- (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_box_type'), |
|
380
|
|
- (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_href'), |
|
381
|
|
- (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_text'), |
|
382
|
|
- (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_class') |
|
|
378
|
+ (string) \mod_bigbluebuttonbn\locallib\config::get('general_warning_message'), |
|
|
379
|
+ (string) \mod_bigbluebuttonbn\locallib\config::get('general_warning_box_type'), |
|
|
380
|
+ (string) \mod_bigbluebuttonbn\locallib\config::get('general_warning_button_href'), |
|
|
381
|
+ (string) \mod_bigbluebuttonbn\locallib\config::get('general_warning_button_text'), |
|
|
382
|
+ (string) \mod_bigbluebuttonbn\locallib\config::get('general_warning_button_class') |
|
383
|
383
|
); |
|
384
|
384
|
} |