Completed
Pull Request — master (#45)
by Jesus
02:22
created
view.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
         return $output;
409 409
     }
410 410
     $output .= $OUTPUT->box_start('box boxalignleft adminerror alert alert-' . $type . ' alert-block fade in',
411
-      'bigbluebuttonbn_view_general_warning') . "\n";
411
+        'bigbluebuttonbn_view_general_warning') . "\n";
412 412
     $output .= '    ' . $message . "\n";
413 413
     $output .= '  <div class="singlebutton">' . "\n";
414 414
     if (!empty($href)) {
@@ -505,12 +505,12 @@  discard block
 block discarded – undo
505 505
     $recordings = bigbluebuttonbn_get_recordings(
506 506
         $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom'],
507 507
         $bbbsession['bigbluebuttonbn']->recordings_deleted
508
-      );
508
+        );
509 509
     if ($enabledfeatures['importrecordings']) {
510 510
         // Get recording links.
511 511
         $recordingsimported = bigbluebuttonbn_get_recordings_imported_array(
512 512
             $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom']
513
-          );
513
+            );
514 514
         /* Perform aritmetic addition instead of merge so the imported recordings corresponding to existent
515 515
          * recordings are not included. */
516 516
         $recordings += $recordingsimported;
@@ -524,7 +524,7 @@  discard block
 block discarded – undo
524 524
     // JavaScript variables for recordings.
525 525
     $jsvars += array(
526 526
             'recordings_html' => $bbbsession['bigbluebuttonbn']->recordings_html == '1',
527
-          );
527
+            );
528 528
     // If there are meetings with recordings load the data to the table.
529 529
     if ($bbbsession['bigbluebuttonbn']->recordings_html) {
530 530
         // Render a plain html table.
@@ -534,7 +534,7 @@  discard block
 block discarded – undo
534 534
     $jsvars += array(
535 535
             'columns' => bigbluebuttonbn_get_recording_columns($bbbsession),
536 536
             'data' => bigbluebuttonbn_get_recording_data($bbbsession, $recordings),
537
-          );
537
+            );
538 538
     // Render a YUI table.
539 539
     return html_writer::div('', '', array('id' => 'bigbluebuttonbn_yui_table'));
540 540
 }
@@ -554,10 +554,10 @@  discard block
 block discarded – undo
554 554
     }
555 555
     $button = html_writer::tag('input', '',
556 556
         array('type' => 'button',
557
-              'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'),
558
-              'class' => 'btn btn-secondary',
559
-              'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='.
560
-                  $bbbsession['bigbluebuttonbn']->id.'\''));
557
+                'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'),
558
+                'class' => 'btn btn-secondary',
559
+                'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='.
560
+                    $bbbsession['bigbluebuttonbn']->id.'\''));
561 561
     $output  = html_writer::start_tag('br');
562 562
     $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button'));
563 563
     $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table'));
Please login to merge, or discard this patch.