Completed
Push — master ( 12171b...9f2236 )
by Jesus
02:54 queued 40s
created
mod_form.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -313,8 +313,8 @@  discard block
 block discarded – undo
313 313
             $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
314 314
                 $field['description_key'], 0, ['maxlength' => 4, 'size' => 6],
315 315
                 ['message' => get_string('mod_form_field_voicebridge_format_error', 'bigbluebuttonbn'),
316
-                 'type' => 'numeric', 'rule' => '####', 'validator' => 'server']
317
-              );
316
+                    'type' => 'numeric', 'rule' => '####', 'validator' => 'server']
317
+                );
318 318
         } else {
319 319
             $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
320 320
                 $field['description_key'], 0, ['maxlength' => 4, 'size' => 6]);
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
     private function bigbluebuttonbn_mform_add_block_room_recordings(&$mform, $cfg) {
487 487
         $recordingsettings = false;
488 488
         $field = ['type' => 'hidden', 'name' => 'recordings_html', 'data_type' => PARAM_INT,
489
-                  'description_key' => null];
489
+                    'description_key' => null];
490 490
         if ($cfg['recordings_html_editable']) {
491 491
             $field['type'] = 'checkbox';
492 492
             $field['description_key'] = 'mod_form_field_recordings_html';
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
         $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
496 496
             $field['description_key'], $cfg['recordings_html_default']);
497 497
         $field = ['type' => 'hidden', 'name' => 'recordings_deleted', 'data_type' => PARAM_INT,
498
-                  'description_key' => null];
498
+                    'description_key' => null];
499 499
         if ($cfg['recordings_deleted_editable']) {
500 500
             $field['type'] = 'checkbox';
501 501
             $field['description_key'] = 'mod_form_field_recordings_deleted';
@@ -504,7 +504,7 @@  discard block
 block discarded – undo
504 504
         $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
505 505
             $field['description_key'], $cfg['recordings_deleted_default']);
506 506
         $field = ['type' => 'hidden', 'name' => 'recordings_imported', 'data_type' => PARAM_INT,
507
-                  'description_key' => null];
507
+                    'description_key' => null];
508 508
         if ($cfg['importrecordings_enabled'] && $cfg['recordings_imported_editable']) {
509 509
             $field['type'] = 'checkbox';
510 510
             $field['description_key'] = 'mod_form_field_recordings_imported';
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
         $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
514 514
             $field['description_key'], $cfg['recordings_imported_default']);
515 515
         $field = ['type' => 'hidden', 'name' => 'recordings_preview', 'data_type' => PARAM_INT,
516
-                  'description_key' => null];
516
+                    'description_key' => null];
517 517
         if ($cfg['recordings_preview_editable']) {
518 518
             $field['type'] = 'checkbox';
519 519
             $field['description_key'] = 'mod_form_field_recordings_preview';
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
         $htmlselectiontype = html_writer::select($participantselection['type_options'],
591 591
             'bigbluebuttonbn_participant_selection_type', $participantselection['type_selected'], array(),
592 592
             array('id' => 'bigbluebuttonbn_participant_selection_type',
593
-                  'onchange' => 'M.mod_bigbluebuttonbn.modform.participantSelectionSet(); return 0;'));
593
+                    'onchange' => 'M.mod_bigbluebuttonbn.modform.participantSelectionSet(); return 0;'));
594 594
         $htmlselectionoptions = html_writer::select($participantselection['options'], 'bigbluebuttonbn_participant_selection',
595 595
             $participantselection['selected'], array(),
596 596
             array('id' => 'bigbluebuttonbn_participant_selection', 'disabled' => 'disabled'));
@@ -598,7 +598,7 @@  discard block
 block discarded – undo
598 598
             'type' => 'button', 'class' => 'btn btn-secondary',
599 599
             'value' => get_string('mod_form_field_participant_list_action_add', 'bigbluebuttonbn'),
600 600
             'onclick' => 'M.mod_bigbluebuttonbn.modform.participantAdd(); return 0;'
601
-          ));
601
+            ));
602 602
         $htmladdparticipant = html_writer::tag('div',
603 603
             $htmlselectiontype . '  ' . $htmlselectionoptions . '  ' . $htmlselectioninput, null);
604 604
         $mform->addElement('html', "\n\n");
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
             $field['data_type'] = PARAM_TEXT;
642 642
             $field['description_key'] = 'mod_form_field_block_clienttype';
643 643
             $choices = array(BIGBLUEBUTTON_CLIENTTYPE_FLASH => get_string('mod_form_block_clienttype_flash', 'bigbluebuttonbn'),
644
-                             BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn'));
644
+                                BIGBLUEBUTTON_CLIENTTYPE_HTML5 => get_string('mod_form_block_clienttype_html5', 'bigbluebuttonbn'));
645 645
             $mform->addElement('header', 'clienttypeselection', get_string('mod_form_block_clienttype', 'bigbluebuttonbn'));
646 646
             $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
647 647
                                     $field['description_key'], $cfg['clienttype_default'], $choices);
Please login to merge, or discard this patch.