@@ -444,12 +444,12 @@ discard block |
||
444 | 444 | $recordings = bigbluebuttonbn_get_recordings( |
445 | 445 | $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom'], |
446 | 446 | $bbbsession['bigbluebuttonbn']->recordings_deleted |
447 | - ); |
|
447 | + ); |
|
448 | 448 | if ($enabledfeatures['importrecordings']) { |
449 | 449 | // Get recording links. |
450 | 450 | $recordingsimported = bigbluebuttonbn_get_recordings_imported_array( |
451 | 451 | $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom'] |
452 | - ); |
|
452 | + ); |
|
453 | 453 | /* Perform aritmetic addition instead of merge so the imported recordings corresponding to existent |
454 | 454 | * recordings are not included. */ |
455 | 455 | if ($bbbsession['bigbluebuttonbn']->recordings_imported) { |
@@ -467,7 +467,7 @@ discard block |
||
467 | 467 | // JavaScript variables for recordings. |
468 | 468 | $jsvars += array( |
469 | 469 | 'recordings_html' => $bbbsession['bigbluebuttonbn']->recordings_html == '1', |
470 | - ); |
|
470 | + ); |
|
471 | 471 | // If there are meetings with recordings load the data to the table. |
472 | 472 | if ($bbbsession['bigbluebuttonbn']->recordings_html) { |
473 | 473 | // Render a plain html table. |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | $jsvars += array( |
478 | 478 | 'columns' => bigbluebuttonbn_get_recording_columns($bbbsession), |
479 | 479 | 'data' => bigbluebuttonbn_get_recording_data($bbbsession, $recordings), |
480 | - ); |
|
480 | + ); |
|
481 | 481 | // Render a YUI table. |
482 | 482 | $reset = get_string('reset'); |
483 | 483 | $search = get_string('search'); |
@@ -506,10 +506,10 @@ discard block |
||
506 | 506 | } |
507 | 507 | $button = html_writer::tag('input', '', |
508 | 508 | array('type' => 'button', |
509 | - 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
|
510 | - 'class' => 'btn btn-secondary', |
|
511 | - 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
512 | - $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
509 | + 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
|
510 | + 'class' => 'btn btn-secondary', |
|
511 | + 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
512 | + $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
513 | 513 | $output = html_writer::empty_tag('br'); |
514 | 514 | $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button')); |
515 | 515 | $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table')); |
@@ -570,5 +570,5 @@ discard block |
||
570 | 570 | (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_href'), |
571 | 571 | (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_text'), |
572 | 572 | (string)\mod_bigbluebuttonbn\locallib\config::get('general_warning_button_class') |
573 | - ); |
|
573 | + ); |
|
574 | 574 | } |