@@ -446,12 +446,12 @@ discard block |
||
446 | 446 | $recordings = bigbluebuttonbn_get_recordings( |
447 | 447 | $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom'], |
448 | 448 | $bbbsession['bigbluebuttonbn']->recordings_deleted |
449 | - ); |
|
449 | + ); |
|
450 | 450 | if ($enabledfeatures['importrecordings']) { |
451 | 451 | // Get recording links. |
452 | 452 | $recordingsimported = bigbluebuttonbn_get_recordings_imported_array( |
453 | 453 | $bbbsession['course']->id, $bbbsession['bigbluebuttonbn']->id |
454 | - ); |
|
454 | + ); |
|
455 | 455 | /* Perform aritmetic addition instead of merge so the imported recordings corresponding to existent |
456 | 456 | * recordings are not included. */ |
457 | 457 | if ($bbbsession['bigbluebuttonbn']->recordings_imported) { |
@@ -469,7 +469,7 @@ discard block |
||
469 | 469 | // JavaScript variables for recordings. |
470 | 470 | $jsvars += array( |
471 | 471 | 'recordings_html' => $bbbsession['bigbluebuttonbn']->recordings_html == '1', |
472 | - ); |
|
472 | + ); |
|
473 | 473 | // If there are meetings with recordings load the data to the table. |
474 | 474 | if ($bbbsession['bigbluebuttonbn']->recordings_html) { |
475 | 475 | // Render a plain html table. |
@@ -479,7 +479,7 @@ discard block |
||
479 | 479 | $jsvars += array( |
480 | 480 | 'columns' => bigbluebuttonbn_get_recording_columns($bbbsession), |
481 | 481 | 'data' => bigbluebuttonbn_get_recording_data($bbbsession, $recordings), |
482 | - ); |
|
482 | + ); |
|
483 | 483 | // Render a YUI table. |
484 | 484 | return html_writer::div('', '', array('id' => 'bigbluebuttonbn_recordings_table')); |
485 | 485 | } |
@@ -499,10 +499,10 @@ discard block |
||
499 | 499 | } |
500 | 500 | $button = html_writer::tag('input', '', |
501 | 501 | array('type' => 'button', |
502 | - 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
|
503 | - 'class' => 'btn btn-secondary', |
|
504 | - 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
505 | - $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
502 | + 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
|
503 | + 'class' => 'btn btn-secondary', |
|
504 | + 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
505 | + $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
506 | 506 | $output = html_writer::empty_tag('br'); |
507 | 507 | $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button')); |
508 | 508 | $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table')); |
@@ -581,5 +581,5 @@ discard block |
||
581 | 581 | (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_href'), |
582 | 582 | (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_text'), |
583 | 583 | (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_class') |
584 | - ); |
|
584 | + ); |
|
585 | 585 | } |