@@ -436,12 +436,12 @@ discard block |
||
436 | 436 | $recordings = bigbluebuttonbn_get_recordings( |
437 | 437 | $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom'], |
438 | 438 | $bbbsession['bigbluebuttonbn']->recordings_deleted |
439 | - ); |
|
439 | + ); |
|
440 | 440 | if ($enabledfeatures['importrecordings']) { |
441 | 441 | // Get recording links. |
442 | 442 | $recordingsimported = bigbluebuttonbn_get_recordings_imported_array( |
443 | 443 | $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom'] |
444 | - ); |
|
444 | + ); |
|
445 | 445 | /* Perform aritmetic addition instead of merge so the imported recordings corresponding to existent |
446 | 446 | * recordings are not included. */ |
447 | 447 | $recordings += $recordingsimported; |
@@ -455,7 +455,7 @@ discard block |
||
455 | 455 | // JavaScript variables for recordings. |
456 | 456 | $jsvars += array( |
457 | 457 | 'recordings_html' => $bbbsession['bigbluebuttonbn']->recordings_html == '1', |
458 | - ); |
|
458 | + ); |
|
459 | 459 | // If there are meetings with recordings load the data to the table. |
460 | 460 | if ($bbbsession['bigbluebuttonbn']->recordings_html) { |
461 | 461 | // Render a plain html table. |
@@ -465,7 +465,7 @@ discard block |
||
465 | 465 | $jsvars += array( |
466 | 466 | 'columns' => bigbluebuttonbn_get_recording_columns($bbbsession), |
467 | 467 | 'data' => bigbluebuttonbn_get_recording_data($bbbsession, $recordings), |
468 | - ); |
|
468 | + ); |
|
469 | 469 | // Render a YUI table. |
470 | 470 | return html_writer::div('', '', array('id' => 'bigbluebuttonbn_yui_table')); |
471 | 471 | } |
@@ -485,10 +485,10 @@ discard block |
||
485 | 485 | } |
486 | 486 | $button = html_writer::tag('input', '', |
487 | 487 | array('type' => 'button', |
488 | - 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
|
489 | - 'class' => 'btn btn-secondary', |
|
490 | - 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
491 | - $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
488 | + 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
|
489 | + 'class' => 'btn btn-secondary', |
|
490 | + 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
491 | + $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
492 | 492 | $output = html_writer::start_tag('br'); |
493 | 493 | $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button')); |
494 | 494 | $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table')); |
@@ -24,8 +24,8 @@ discard block |
||
24 | 24 | * @author Fred Dixon (ffdixon [at] blindsidenetworks [dt] com) |
25 | 25 | */ |
26 | 26 | |
27 | -require_once(dirname(dirname(dirname(__FILE__))).'/config.php'); |
|
28 | -require_once(dirname(__FILE__).'/locallib.php'); |
|
27 | +require_once(dirname(dirname(dirname(__FILE__))) . '/config.php'); |
|
28 | +require_once(dirname(__FILE__) . '/locallib.php'); |
|
29 | 29 | |
30 | 30 | $id = required_param('id', PARAM_INT); |
31 | 31 | $bn = optional_param('n', 0, PARAM_INT); |
@@ -60,19 +60,19 @@ discard block |
||
60 | 60 | if (is_null($serverversion)) { |
61 | 61 | if ($bbbsession['administrator']) { |
62 | 62 | print_error('view_error_unable_join', 'bigbluebuttonbn', |
63 | - $CFG->wwwroot.'/admin/settings.php?section=modsettingbigbluebuttonbn'); |
|
63 | + $CFG->wwwroot . '/admin/settings.php?section=modsettingbigbluebuttonbn'); |
|
64 | 64 | exit; |
65 | 65 | } |
66 | 66 | if ($bbbsession['moderator']) { |
67 | 67 | print_error('view_error_unable_join_teacher', 'bigbluebuttonbn', |
68 | - $CFG->wwwroot.'/course/view.php?id='.$bigbluebuttonbn->course); |
|
68 | + $CFG->wwwroot . '/course/view.php?id=' . $bigbluebuttonbn->course); |
|
69 | 69 | exit; |
70 | 70 | } |
71 | 71 | print_error('view_error_unable_join_student', 'bigbluebuttonbn', |
72 | - $CFG->wwwroot.'/course/view.php?id='.$bigbluebuttonbn->course); |
|
72 | + $CFG->wwwroot . '/course/view.php?id=' . $bigbluebuttonbn->course); |
|
73 | 73 | exit; |
74 | 74 | } |
75 | -$bbbsession['serverversion'] = (string) $serverversion; |
|
75 | +$bbbsession['serverversion'] = (string)$serverversion; |
|
76 | 76 | |
77 | 77 | // Mark viewed by user (if required). |
78 | 78 | $completion = new completion_info($course); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | |
81 | 81 | // Print the page header. |
82 | 82 | $PAGE->set_context($context); |
83 | -$PAGE->set_url($CFG->wwwroot.'/mod/bigbluebuttonbn/view.php', array('id' => $cm->id)); |
|
83 | +$PAGE->set_url($CFG->wwwroot . '/mod/bigbluebuttonbn/view.php', array('id' => $cm->id)); |
|
84 | 84 | $PAGE->set_title(format_string($bigbluebuttonbn->name)); |
85 | 85 | $PAGE->set_cacheable(false); |
86 | 86 | $PAGE->set_heading($course->fullname); |
@@ -90,11 +90,11 @@ discard block |
||
90 | 90 | if (!has_capability('moodle/category:manage', $context) && !has_capability('mod/bigbluebuttonbn:join', $context)) { |
91 | 91 | echo $OUTPUT->header(); |
92 | 92 | if (isguestuser()) { |
93 | - echo $OUTPUT->confirm('<p>'.get_string('view_noguests', 'bigbluebuttonbn').'</p>'.get_string('liketologin'), |
|
94 | - get_login_url(), $CFG->wwwroot.'/course/view.php?id='.$course->id); |
|
93 | + echo $OUTPUT->confirm('<p>' . get_string('view_noguests', 'bigbluebuttonbn') . '</p>' . get_string('liketologin'), |
|
94 | + get_login_url(), $CFG->wwwroot . '/course/view.php?id=' . $course->id); |
|
95 | 95 | } else { |
96 | - echo $OUTPUT->confirm('<p>'.get_string('view_nojoin', 'bigbluebuttonbn').'</p>'.get_string('liketologin'), |
|
97 | - get_login_url(), $CFG->wwwroot.'/course/view.php?id='.$course->id); |
|
96 | + echo $OUTPUT->confirm('<p>' . get_string('view_nojoin', 'bigbluebuttonbn') . '</p>' . get_string('liketologin'), |
|
97 | + get_login_url(), $CFG->wwwroot . '/course/view.php?id=' . $course->id); |
|
98 | 98 | } |
99 | 99 | echo $OUTPUT->footer(); |
100 | 100 | exit; |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | |
103 | 103 | // Operation URLs. |
104 | 104 | $bbbsession['bigbluebuttonbnURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/view.php?id=' . $bbbsession['cm']->id; |
105 | -$bbbsession['logoutURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_view.php?action=logout&id='.$id . |
|
105 | +$bbbsession['logoutURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_view.php?action=logout&id=' . $id . |
|
106 | 106 | '&bn=' . $bbbsession['bigbluebuttonbn']->id; |
107 | 107 | $bbbsession['recordingReadyURL'] = $CFG->wwwroot . '/mod/bigbluebuttonbn/bbb_broker.php?action=recording_' . |
108 | 108 | 'ready&bigbluebuttonbn=' . $bbbsession['bigbluebuttonbn']->id; |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | echo $OUTPUT->footer(); |
123 | 123 | |
124 | 124 | // Shows version as a comment. |
125 | -echo '<!-- '.$bbbsession['originTag'].' -->'."\n"; |
|
125 | +echo '<!-- ' . $bbbsession['originTag'] . ' -->' . "\n"; |
|
126 | 126 | |
127 | 127 | // Initialize session variable used across views. |
128 | 128 | $SESSION->bigbluebuttonbn_bbbsession = $bbbsession; |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | $bbbsession['modPW'] = $bbbsession['bigbluebuttonbn']->moderatorpass; |
152 | 152 | $bbbsession['viewerPW'] = $bbbsession['bigbluebuttonbn']->viewerpass; |
153 | 153 | // Database info related to the activity. |
154 | - $bbbsession['meetingid'] = $bbbsession['bigbluebuttonbn']->meetingid.'-'.$bbbsession['course']->id.'-'. |
|
154 | + $bbbsession['meetingid'] = $bbbsession['bigbluebuttonbn']->meetingid . '-' . $bbbsession['course']->id . '-' . |
|
155 | 155 | $bbbsession['bigbluebuttonbn']->id; |
156 | 156 | $bbbsession['meetingname'] = $bbbsession['bigbluebuttonbn']->name; |
157 | 157 | $bbbsession['meetingdescription'] = $bbbsession['bigbluebuttonbn']->intro; |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | $bbbsession['welcome'] = get_string('mod_form_field_welcome_default', 'bigbluebuttonbn'); |
172 | 172 | } |
173 | 173 | if ($bbbsession['bigbluebuttonbn']->record) { |
174 | - $bbbsession['welcome'] .= '<br><br>'.get_string('bbbrecordwarning', 'bigbluebuttonbn'); |
|
174 | + $bbbsession['welcome'] .= '<br><br>' . get_string('bbbrecordwarning', 'bigbluebuttonbn'); |
|
175 | 175 | } |
176 | 176 | $bbbsession['openingtime'] = $bbbsession['bigbluebuttonbn']->openingtime; |
177 | 177 | $bbbsession['closingtime'] = $bbbsession['bigbluebuttonbn']->closingtime; |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | $bbbsession['originServerName'] = $parsedurl['host']; |
185 | 185 | $bbbsession['originServerUrl'] = $CFG->wwwroot; |
186 | 186 | $bbbsession['originServerCommonName'] = ''; |
187 | - $bbbsession['originTag'] = 'moodle-mod_bigbluebuttonbn ('.get_config('mod_bigbluebuttonbn', 'version').')'; |
|
187 | + $bbbsession['originTag'] = 'moodle-mod_bigbluebuttonbn (' . get_config('mod_bigbluebuttonbn', 'version') . ')'; |
|
188 | 188 | $bbbsession['bnserver'] = bigbluebuttonbn_is_bn_server(); |
189 | 189 | } |
190 | 190 | |
@@ -242,8 +242,8 @@ discard block |
||
242 | 242 | $groupname = groups_get_group_name($bbbsession['group']); |
243 | 243 | } |
244 | 244 | // Assign group default values. |
245 | - $bbbsession['meetingid'] .= '['.$bbbsession['group'].']'; |
|
246 | - $bbbsession['meetingname'] .= ' ('.$groupname.')'; |
|
245 | + $bbbsession['meetingid'] .= '[' . $bbbsession['group'] . ']'; |
|
246 | + $bbbsession['meetingname'] .= ' (' . $groupname . ')'; |
|
247 | 247 | if (count($groups) == 0) { |
248 | 248 | // Only the All participants group exists. |
249 | 249 | bigbluebuttonbn_view_message_box($bbbsession, get_string('view_groups_notenrolled_warning', 'bigbluebuttonbn'), 'info'); |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | return; |
255 | 255 | } |
256 | 256 | bigbluebuttonbn_view_message_box($bbbsession, get_string('view_groups_selection_warning', 'bigbluebuttonbn')); |
257 | - $urltoroot = $CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bbbsession['cm']->id; |
|
257 | + $urltoroot = $CFG->wwwroot . '/mod/bigbluebuttonbn/view.php?id=' . $bbbsession['cm']->id; |
|
258 | 258 | groups_print_activity_menu($bbbsession['cm'], $urltoroot); |
259 | 259 | echo '<br><br>'; |
260 | 260 | } |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | 'locale' => bigbluebuttonbn_get_localcode(), 'profile_features' => $typeprofiles[0]['features']); |
302 | 302 | // Renders general warning when configured. |
303 | 303 | $cfg = \mod_bigbluebuttonbn\locallib\config::get_options(); |
304 | - $output = ''; |
|
304 | + $output = ''; |
|
305 | 305 | if (bigbluebuttonbn_view_warning_shown($bbbsession)) { |
306 | 306 | $output .= bigbluebuttonbn_render_warning( |
307 | 307 | (string)$cfg['general_warning_message'], |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | $recordingsdisabled = get_string('view_message_recordings_disabled', 'bigbluebuttonbn'); |
326 | 326 | $output .= bigbluebuttonbn_render_warning($recordingsdisabled, 'danger'); |
327 | 327 | } |
328 | - echo $output.html_writer::empty_tag('br').html_writer::empty_tag('br').html_writer::empty_tag('br'); |
|
328 | + echo $output . html_writer::empty_tag('br') . html_writer::empty_tag('br') . html_writer::empty_tag('br'); |
|
329 | 329 | $PAGE->requires->yui_module('moodle-mod_bigbluebuttonbn-broker', 'M.mod_bigbluebuttonbn.broker.init', array($jsvars)); |
330 | 330 | } |
331 | 331 | |
@@ -388,12 +388,12 @@ discard block |
||
388 | 388 | // JavaScript variables for room. |
389 | 389 | $openingtime = ''; |
390 | 390 | if ($bbbsession['openingtime']) { |
391 | - $openingtime = get_string('mod_form_field_openingtime', 'bigbluebuttonbn').': '. |
|
391 | + $openingtime = get_string('mod_form_field_openingtime', 'bigbluebuttonbn') . ': ' . |
|
392 | 392 | userdate($bbbsession['openingtime']); |
393 | 393 | } |
394 | 394 | $closingtime = ''; |
395 | 395 | if ($bbbsession['closingtime']) { |
396 | - $closingtime = get_string('mod_form_field_closingtime', 'bigbluebuttonbn').': '. |
|
396 | + $closingtime = get_string('mod_form_field_closingtime', 'bigbluebuttonbn') . ': ' . |
|
397 | 397 | userdate($bbbsession['closingtime']); |
398 | 398 | } |
399 | 399 | $jsvars += array( |
@@ -410,7 +410,7 @@ discard block |
||
410 | 410 | $output .= $OUTPUT->box_end(); |
411 | 411 | // Action button box. |
412 | 412 | $output .= $OUTPUT->box_start('generalbox boxaligncenter', 'bigbluebuttonbn_view_action_button_box'); |
413 | - $output .= '<br><br><span id="join_button"></span> <span id="end_button"></span>'."\n"; |
|
413 | + $output .= '<br><br><span id="join_button"></span> <span id="end_button"></span>' . "\n"; |
|
414 | 414 | $output .= $OUTPUT->box_end(); |
415 | 415 | if ($activity == 'ended') { |
416 | 416 | $output .= bigbluebuttonbn_view_ended($bbbsession); |
@@ -459,7 +459,7 @@ discard block |
||
459 | 459 | // If there are meetings with recordings load the data to the table. |
460 | 460 | if ($bbbsession['bigbluebuttonbn']->recordings_html) { |
461 | 461 | // Render a plain html table. |
462 | - return bigbluebuttonbn_output_recording_table($bbbsession, $recordings)."\n"; |
|
462 | + return bigbluebuttonbn_output_recording_table($bbbsession, $recordings) . "\n"; |
|
463 | 463 | } |
464 | 464 | // JavaScript variables for recordings with YUI. |
465 | 465 | $jsvars += array( |
@@ -487,8 +487,8 @@ discard block |
||
487 | 487 | array('type' => 'button', |
488 | 488 | 'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'), |
489 | 489 | 'class' => 'btn btn-secondary', |
490 | - 'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='. |
|
491 | - $bbbsession['bigbluebuttonbn']->id.'\'')); |
|
490 | + 'onclick' => 'window.location=\'' . $CFG->wwwroot . '/mod/bigbluebuttonbn/import_view.php?bn=' . |
|
491 | + $bbbsession['bigbluebuttonbn']->id . '\'')); |
|
492 | 492 | $output = html_writer::start_tag('br'); |
493 | 493 | $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button')); |
494 | 494 | $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table')); |
@@ -507,10 +507,10 @@ discard block |
||
507 | 507 | if (!is_null($bbbsession['presentation']['url'])) { |
508 | 508 | $attributes = array('title' => $bbbsession['presentation']['name']); |
509 | 509 | $icon = new pix_icon($bbbsession['presentation']['icon'], $bbbsession['presentation']['mimetype_description']); |
510 | - return '<h4>'.get_string('view_section_title_presentation', 'bigbluebuttonbn').'</h4>'. |
|
511 | - $OUTPUT->action_icon($bbbsession['presentation']['url'], $icon, null, array(), false). |
|
510 | + return '<h4>' . get_string('view_section_title_presentation', 'bigbluebuttonbn') . '</h4>' . |
|
511 | + $OUTPUT->action_icon($bbbsession['presentation']['url'], $icon, null, array(), false) . |
|
512 | 512 | $OUTPUT->action_link($bbbsession['presentation']['url'], |
513 | - $bbbsession['presentation']['name'], null, $attributes).'<br><br>'; |
|
513 | + $bbbsession['presentation']['name'], null, $attributes) . '<br><br>'; |
|
514 | 514 | } |
515 | 515 | return ''; |
516 | 516 | } |
@@ -24,8 +24,8 @@ discard block |
||
24 | 24 | * @author Fred Dixon (ffdixon [at] blindsidenetworks [dt] com) |
25 | 25 | */ |
26 | 26 | |
27 | -require_once(dirname(dirname(dirname(__FILE__))).'/config.php'); |
|
28 | -require_once(dirname(__FILE__).'/locallib.php'); |
|
27 | +require_once(dirname(dirname(dirname(__FILE__))) . '/config.php'); |
|
28 | +require_once(dirname(__FILE__) . '/locallib.php'); |
|
29 | 29 | |
30 | 30 | $id = required_param('id', PARAM_INT); |
31 | 31 | $a = optional_param('a', 0, PARAM_INT); |
@@ -89,13 +89,13 @@ discard block |
||
89 | 89 | if ($moderator || $administrator) { |
90 | 90 | bigbluebuttonbn_event_log(BIGBLUEBUTTON_EVENT_MEETING_ENDED, $bigbluebuttonbn, $cm); |
91 | 91 | echo get_string('index_ending', 'bigbluebuttonbn'); |
92 | - $meetingid = $bigbluebuttonbn->meetingid.'-'.$course->id.'-'.$bigbluebuttonbn->id; |
|
92 | + $meetingid = $bigbluebuttonbn->meetingid . '-' . $course->id . '-' . $bigbluebuttonbn->id; |
|
93 | 93 | if ($g != '0') { |
94 | - $meetingid .= '['.$g.']'; |
|
94 | + $meetingid .= '[' . $g . ']'; |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | bigbluebuttonbn_end_meeting($meetingid, $bigbluebuttonbn->moderatorpass); |
98 | - redirect('index.php?id='.$id); |
|
98 | + redirect('index.php?id=' . $id); |
|
99 | 99 | } |
100 | 100 | } |
101 | 101 | |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | // Add a the data for the bigbluebuttonbn instance. |
111 | 111 | $groupobj = null; |
112 | 112 | if (groups_get_activity_groupmode($cm) > 0) { |
113 | - $groupobj = (object) array('id' => 0, 'name' => get_string('allparticipants')); |
|
113 | + $groupobj = (object)array('id' => 0, 'name' => get_string('allparticipants')); |
|
114 | 114 | } |
115 | 115 | $table->data[] = bigbluebuttonbn_index_display_room($canmoderate, $course, $bigbluebuttonbn, $groupobj); |
116 | 116 | // Add a the data for the groups belonging to the bigbluebuttonbn instance, if any. |
@@ -136,12 +136,12 @@ discard block |
||
136 | 136 | * @return array |
137 | 137 | */ |
138 | 138 | function bigbluebuttonbn_index_display_room($moderator, $course, $bigbluebuttonbn, $groupobj = null) { |
139 | - $meetingid = $bigbluebuttonbn->meetingid.'-'.$course->id.'-'.$bigbluebuttonbn->id; |
|
139 | + $meetingid = $bigbluebuttonbn->meetingid . '-' . $course->id . '-' . $bigbluebuttonbn->id; |
|
140 | 140 | $paramgroup = ''; |
141 | 141 | $groupname = ''; |
142 | 142 | if ($groupobj) { |
143 | - $meetingid .= '['.$groupobj->id.']'; |
|
144 | - $paramgroup = '&group='.$groupobj->id; |
|
143 | + $meetingid .= '[' . $groupobj->id . ']'; |
|
144 | + $paramgroup = '&group=' . $groupobj->id; |
|
145 | 145 | $groupname = $groupobj->name; |
146 | 146 | } |
147 | 147 | $meetinginfo = bigbluebuttonbn_get_meeting_info_array($meetingid); |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | return; |
157 | 157 | } |
158 | 158 | // Output Users in the meeting. |
159 | - $joinurl = '<a href="view.php?id='.$bigbluebuttonbn->coursemodule.$paramgroup.'">'.format_string($bigbluebuttonbn->name).'</a>'; |
|
159 | + $joinurl = '<a href="view.php?id=' . $bigbluebuttonbn->coursemodule . $paramgroup . '">' . format_string($bigbluebuttonbn->name) . '</a>'; |
|
160 | 160 | $group = $groupname; |
161 | 161 | $users = ''; |
162 | 162 | $viewerlist = ''; |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | $attendeecount = 0; |
202 | 202 | foreach ($meetinginfo['attendees']->attendee as $attendee) { |
203 | 203 | if ($attendee->role == $role) { |
204 | - $attendeelist .= ($attendeecount++ > 0 ? ', ' : '').$attendee->fullName; |
|
204 | + $attendeelist .= ($attendeecount++ > 0 ? ', ' : '') . $attendee->fullName; |
|
205 | 205 | } |
206 | 206 | } |
207 | 207 | } |
@@ -235,15 +235,15 @@ discard block |
||
235 | 235 | function bigbluebuttonbn_index_display_room_actions($moderator, $course, $bigbluebuttonbn, $groupobj = null) { |
236 | 236 | $actions = ''; |
237 | 237 | if ($moderator) { |
238 | - $actions .= '<form name="form1" method="post" action="">'."\n"; |
|
239 | - $actions .= ' <INPUT type="hidden" name="id" value="'.$course->id.'">'."\n"; |
|
240 | - $actions .= ' <INPUT type="hidden" name="a" value="'.$bigbluebuttonbn->id.'">'."\n"; |
|
238 | + $actions .= '<form name="form1" method="post" action="">' . "\n"; |
|
239 | + $actions .= ' <INPUT type="hidden" name="id" value="' . $course->id . '">' . "\n"; |
|
240 | + $actions .= ' <INPUT type="hidden" name="a" value="' . $bigbluebuttonbn->id . '">' . "\n"; |
|
241 | 241 | if ($groupobj != null) { |
242 | - $actions .= ' <INPUT type="hidden" name="g" value="'.$groupobj->id.'">'."\n"; |
|
242 | + $actions .= ' <INPUT type="hidden" name="g" value="' . $groupobj->id . '">' . "\n"; |
|
243 | 243 | } |
244 | 244 | $actions .= ' <INPUT type="submit" name="submit" value="' . get_string('view_conference_action_end', 'bigbluebuttonbn') . |
245 | - '" class="btn btn-primary btn-sm" onclick="return confirm(\'' . get_string('index_confirm_end', 'bigbluebuttonbn').'\')">'."\n"; |
|
246 | - $actions .= '</form>'."\n"; |
|
245 | + '" class="btn btn-primary btn-sm" onclick="return confirm(\'' . get_string('index_confirm_end', 'bigbluebuttonbn') . '\')">' . "\n"; |
|
246 | + $actions .= '</form>' . "\n"; |
|
247 | 247 | } |
248 | 248 | return $actions; |
249 | 249 | } |