@@ -219,8 +219,8 @@ discard block |
||
219 | 219 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'], |
220 | 220 | $field['description_key'], 0, ['maxlength' => 4, 'size' => 6], |
221 | 221 | ['message' => get_string('mod_form_field_voicebridge_format_error', 'bigbluebuttonbn'), |
222 | - 'type' => 'numeric', 'rule' => '####', 'validator' => 'server'] |
|
223 | - ); |
|
222 | + 'type' => 'numeric', 'rule' => '####', 'validator' => 'server'] |
|
223 | + ); |
|
224 | 224 | } else { |
225 | 225 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'], |
226 | 226 | $field['description_key'], 0, ['maxlength' => 4, 'size' => 6]); |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | private function bigbluebuttonbn_mform_add_block_room_recordings(&$mform, $cfg) { |
291 | 291 | $recordingsettings = false; |
292 | 292 | $field = ['type' => 'hidden', 'name' => 'recordings_html', 'data_type' => PARAM_INT, |
293 | - 'description_key' => null]; |
|
293 | + 'description_key' => null]; |
|
294 | 294 | if ($cfg['recordings_html_editable']) { |
295 | 295 | $field['type'] = 'checkbox'; |
296 | 296 | $field['description_key'] = 'mod_form_field_recordings_html'; |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'], |
300 | 300 | $field['description_key'], $cfg['recordings_html_default']); |
301 | 301 | $field = ['type' => 'hidden', 'name' => 'recordings_deleted', 'data_type' => PARAM_INT, |
302 | - 'description_key' => null]; |
|
302 | + 'description_key' => null]; |
|
303 | 303 | if ($cfg['recordings_deleted_editable']) { |
304 | 304 | $field['type'] = 'checkbox'; |
305 | 305 | $field['description_key'] = 'mod_form_field_recordings_deleted'; |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'], |
309 | 309 | $field['description_key'], $cfg['recordings_deleted_default']); |
310 | 310 | $field = ['type' => 'hidden', 'name' => 'recordings_imported', 'data_type' => PARAM_INT, |
311 | - 'description_key' => null]; |
|
311 | + 'description_key' => null]; |
|
312 | 312 | if ($cfg['importrecordings_enabled'] && $cfg['recordings_imported_editable']) { |
313 | 313 | $field['type'] = 'checkbox'; |
314 | 314 | $field['description_key'] = 'mod_form_field_recordings_imported'; |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'], |
318 | 318 | $field['description_key'], $cfg['recordings_imported_default']); |
319 | 319 | $field = ['type' => 'hidden', 'name' => 'recordings_preview', 'data_type' => PARAM_INT, |
320 | - 'description_key' => null]; |
|
320 | + 'description_key' => null]; |
|
321 | 321 | if ($cfg['recordings_preview_editable']) { |
322 | 322 | $field['type'] = 'checkbox'; |
323 | 323 | $field['description_key'] = 'mod_form_field_recordings_preview'; |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | $htmlselectiontype = html_writer::select($participantselection['type_options'], |
395 | 395 | 'bigbluebuttonbn_participant_selection_type', $participantselection['type_selected'], array(), |
396 | 396 | array('id' => 'bigbluebuttonbn_participant_selection_type', |
397 | - 'onchange' => 'M.mod_bigbluebuttonbn.modform.participantSelectionSet(); return 0;')); |
|
397 | + 'onchange' => 'M.mod_bigbluebuttonbn.modform.participantSelectionSet(); return 0;')); |
|
398 | 398 | $htmlselectionoptions = html_writer::select($participantselection['options'], 'bigbluebuttonbn_participant_selection', |
399 | 399 | $participantselection['selected'], array(), |
400 | 400 | array('id' => 'bigbluebuttonbn_participant_selection', 'disabled' => 'disabled')); |
@@ -402,7 +402,7 @@ discard block |
||
402 | 402 | 'type' => 'button', 'class' => 'btn btn-secondary', |
403 | 403 | 'value' => get_string('mod_form_field_participant_list_action_add', 'bigbluebuttonbn'), |
404 | 404 | 'onclick' => 'M.mod_bigbluebuttonbn.modform.participantAdd(); return 0;' |
405 | - )); |
|
405 | + )); |
|
406 | 406 | $htmladdparticipant = html_writer::tag('div', |
407 | 407 | $htmlselectiontype . ' ' . $htmlselectionoptions . ' ' . $htmlselectioninput, null); |
408 | 408 | $mform->addElement('html', "\n\n"); |
@@ -444,9 +444,9 @@ discard block |
||
444 | 444 | $field['type'] = 'select'; |
445 | 445 | $field['data_type'] = PARAM_TEXT; |
446 | 446 | $field['description_key'] = 'mod_form_field_block_clienttype'; |
447 | - $choices = array(BIGBLUEBUTTON_CLIENTTYPE_FLASH => get_string('mod_form_block_clienttype_flash', 'bigbluebuttonbn'), |
|
448 | - BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn')); |
|
449 | - $mform->addElement('header', 'clienttypeselection', get_string('mod_form_block_clienttype', 'bigbluebuttonbn')); |
|
447 | + $choices = array(BIGBLUEBUTTON_CLIENTTYPE_FLASH => get_string('mod_form_block_clienttype_flash', 'bigbluebuttonbn'), |
|
448 | + BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn')); |
|
449 | + $mform->addElement('header', 'clienttypeselection', get_string('mod_form_block_clienttype', 'bigbluebuttonbn')); |
|
450 | 450 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'], |
451 | 451 | $field['description_key'], $cfg['clienttype_default'], $choices); |
452 | 452 | return; |