@@ 471-476 (lines=6) @@ | ||
468 | $field['description_key'], $cfg['lockonjoinconfigurable_default']); |
|
469 | ||
470 | // Output message if no settings. |
|
471 | if (!$locksettings) { |
|
472 | $field = ['type' => 'static', 'name' => 'no_locksettings', |
|
473 | 'defaultvalue' => get_string('mod_form_field_nosettings', 'bigbluebuttonbn')]; |
|
474 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], null, null, |
|
475 | $field['defaultvalue']); |
|
476 | } |
|
477 | } |
|
478 | ||
479 | /** |
|
@@ 525-530 (lines=6) @@ | ||
522 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'], |
|
523 | $field['description_key'], $cfg['recordings_preview_default']); |
|
524 | ||
525 | if (!$recordingsettings) { |
|
526 | $field = ['type' => 'static', 'name' => 'no_recordings', |
|
527 | 'defaultvalue' => get_string('mod_form_field_nosettings', 'bigbluebuttonbn')]; |
|
528 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], null, null, |
|
529 | $field['defaultvalue']); |
|
530 | } |
|
531 | } |
|
532 | ||
533 | /** |