Completed
Push — master ( 86fc5a...76e155 )
by Jesus
04:53
created
config-dist.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
  * recordings from a different activity even from a different course.
95 95
  **/
96 96
 
97
- /*
97
+    /*
98 98
  * When the value is set to 1 (checked) the bigbluebuttonbn rooms or
99 99
  * activities will have the 'import recordings' capability enabled.
100 100
  */
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
  * 'Join session' button enabled
116 116
  **/
117 117
 
118
- /*
118
+    /*
119 119
  * When the value is set to 1 (checked) the bigbluebuttonbn rooms or
120 120
  * activities will have the 'wait for moderator' capability enabled by
121 121
  * default.
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
  * 5. CONFIGURATION FOR "STATIC VOICE BRIDGE" FEATURE
150 150
  *
151 151
  **/
152
- /*
152
+    /*
153 153
  * A conference voice bridge number can be permanently assigned to a room
154 154
  * or activity.
155 155
  */
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
  * 6. CONFIGURATION FOR "PRE-UPLOAD PRESENTATION" FEATURE
160 160
  *
161 161
  **/
162
- /*
162
+    /*
163 163
  * Since version 0.8, BigBluebutton has an implementation for allowing
164 164
  * preuploading presentation. When this feature is enabled, users creating or
165 165
  * editing a room or activity can upload a PDF or Office document to the
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
  * applied to each room or activity, or globally.
177 177
  **/
178 178
 
179
- /*
179
+    /*
180 180
  * The number of users allowed in a session by default when a new room or
181 181
  * conference is added. If the number is set to 0, no limit is established.
182 182
  * $CFG->bigbluebuttonbn['userlimit_default'] = 0;
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
  * By default only the owner is assigned.
198 198
  **/
199 199
 
200
- /*
200
+    /*
201 201
  * The values for this parameter can be 'owner' and/or any of the roles defined in
202 202
  * Moodle (including the custom parameters). The value used will be the key for the role.
203 203
  * [owner|manager|coursecreator|editingteacher|teacher|student|guest|user|frontpage|ANY_CUSTOM_ROLE]
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
  * 9. CONFIGURATION FOR "NOTIFICATION SENDING" FEATURE
209 209
  *
210 210
  **/
211
- /*
211
+    /*
212 212
  * When the value is set to 1 (checked) the 'notification sending'
213 213
  * capability can be used by the user creating or editing the room or
214 214
  * activity.
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
  * 10. CONFIGURATION FOR "RECORDING READY" FEATURE
223 223
  *
224 224
  **/
225
- /*
225
+    /*
226 226
  * When the value is set to 1 (checked) the 'notify users when recording ready'
227 227
  * capability is enabled, meaning that a message will be sent to all enrolled
228 228
  * users in a course when a recording is ready
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
  * 12. GENERAL CONFIGURATION FOR RECORDINGS UI
246 246
  *
247 247
  **/
248
- /*
248
+    /*
249 249
  * When the value is set to 1 (checked) the bigbluebuttonbn resources
250 250
  * will show the recodings in an html table by default.
251 251
  * $CFG->bigbluebuttonbn['recordings_html_default'] = 0;
Please login to merge, or discard this patch.
db/upgrade.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -36,23 +36,23 @@  discard block
 block discarded – undo
36 36
 
37 37
         // Change welcome, allow null.
38 38
         $fielddefinition = array('type' => XMLDB_TYPE_TEXT,
39
-                                  'precision' => null,
40
-                                  'unsigned' => null,
41
-                                  'notnull' => XMLDB_NOTNULL,
42
-                                  'sequence' => null,
43
-                                  'default' => null,
44
-                                  'previous' => 'type');
39
+                                    'precision' => null,
40
+                                    'unsigned' => null,
41
+                                    'notnull' => XMLDB_NOTNULL,
42
+                                    'sequence' => null,
43
+                                    'default' => null,
44
+                                    'previous' => 'type');
45 45
         xmldb_bigbluebuttonbn_add_change_field($dbman, 'bigbluebuttonbn', 'welcome',
46 46
             $fielddefinition);
47 47
 
48 48
         // Change userid definition in bigbluebuttonbn_log.
49 49
         $fielddefinition = array('type' => XMLDB_TYPE_INTEGER,
50
-                                  'precision' => '10',
51
-                                  'unsigned' => null,
52
-                                  'notnull' => XMLDB_NOTNULL,
53
-                                  'sequence' => null,
54
-                                  'default' => null,
55
-                                  'previous' => 'bigbluebuttonbnid');
50
+                                    'precision' => '10',
51
+                                    'unsigned' => null,
52
+                                    'notnull' => XMLDB_NOTNULL,
53
+                                    'sequence' => null,
54
+                                    'default' => null,
55
+                                    'previous' => 'bigbluebuttonbnid');
56 56
         xmldb_bigbluebuttonbn_add_change_field($dbman, 'bigbluebuttonbn_log', 'userid',
57 57
             $fielddefinition);
58 58
 
@@ -78,34 +78,34 @@  discard block
 block discarded – undo
78 78
 
79 79
         // Add field type.
80 80
         $fielddefinition = array('type' => XMLDB_TYPE_INTEGER,
81
-                                  'precision' => '2',
82
-                                  'unsigned' => null,
83
-                                  'notnull' => XMLDB_NOTNULL,
84
-                                  'sequence' => null,
85
-                                  'default' => 0,
86
-                                  'previous' => 'id');
81
+                                    'precision' => '2',
82
+                                    'unsigned' => null,
83
+                                    'notnull' => XMLDB_NOTNULL,
84
+                                    'sequence' => null,
85
+                                    'default' => 0,
86
+                                    'previous' => 'id');
87 87
         xmldb_bigbluebuttonbn_add_change_field($dbman, 'bigbluebuttonbn', 'type',
88 88
             $fielddefinition);
89 89
 
90 90
         // Add field recordings_html.
91 91
         $fielddefinition = array('type' => XMLDB_TYPE_INTEGER,
92
-                                  'precision' => '1',
93
-                                  'unsigned' => null,
94
-                                  'notnull' => XMLDB_NOTNULL,
95
-                                  'sequence' => null,
96
-                                  'default' => 0,
97
-                                  'previous' => null);
92
+                                    'precision' => '1',
93
+                                    'unsigned' => null,
94
+                                    'notnull' => XMLDB_NOTNULL,
95
+                                    'sequence' => null,
96
+                                    'default' => 0,
97
+                                    'previous' => null);
98 98
         xmldb_bigbluebuttonbn_add_change_field($dbman, 'bigbluebuttonbn', 'recordings_html',
99 99
             $fielddefinition);
100 100
 
101 101
         // Add field recordings_deleted_activities.
102 102
         $fielddefinition = array('type' => XMLDB_TYPE_INTEGER,
103
-                                  'precision' => '1',
104
-                                  'unsigned' => null,
105
-                                  'notnull' => XMLDB_NOTNULL,
106
-                                  'sequence' => null,
107
-                                  'default' => 1,
108
-                                  'previous' => null);
103
+                                    'precision' => '1',
104
+                                    'unsigned' => null,
105
+                                    'notnull' => XMLDB_NOTNULL,
106
+                                    'sequence' => null,
107
+                                    'default' => 1,
108
+                                    'previous' => null);
109 109
         xmldb_bigbluebuttonbn_add_change_field($dbman, 'bigbluebuttonbn', 'recordings_deleted_activities',
110 110
             $fielddefinition);
111 111
 
@@ -122,12 +122,12 @@  discard block
 block discarded – undo
122 122
     $table = new xmldb_table($tablename);
123 123
     $field = new xmldb_field($fieldname);
124 124
     $field->set_attributes($fielddefinition['type'],
125
-                           $fielddefinition['precision'],
126
-                           $fielddefinition['unsigned'],
127
-                           $fielddefinition['notnull'],
128
-                           $fielddefinition['sequence'],
129
-                           $fielddefinition['default'],
130
-                           $fielddefinition['previous']);
125
+                            $fielddefinition['precision'],
126
+                            $fielddefinition['unsigned'],
127
+                            $fielddefinition['notnull'],
128
+                            $fielddefinition['sequence'],
129
+                            $fielddefinition['default'],
130
+                            $fielddefinition['previous']);
131 131
     if ($dbman->field_exists($table, $field)) {
132 132
         $dbman->change_field_type($table, $field, true, true);
133 133
         $dbman->change_field_precision($table, $field, true, true);
Please login to merge, or discard this patch.
lib.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 
209 209
     $logs = $DB->get_records('bigbluebuttonbn_logs',
210 210
         array('bigbluebuttonbnid' => $bigbluebuttonbn->id, 'log' => BIGBLUEBUTTONBN_LOG_EVENT_CREATE, 'meta' => "{\"record\":true}")
211
-      );
211
+        );
212 212
     $log->meta = "{\"has_recordings\":false}";
213 213
     if (!empty($logs)) {
214 214
         $log->meta = "{\"has_recordings\":true}";
@@ -233,9 +233,9 @@  discard block
 block discarded – undo
233 233
     global $DB;
234 234
 
235 235
     $completed = $DB->count_records('bigbluebuttonbn_logs', array('courseid' => $course->id,
236
-                                                              'bigbluebuttonbnid' => $bigbluebuttonbn->id,
237
-                                                              'userid' => $user->id,
238
-                                                              'log' => 'Join', ), '*');
236
+                                                                'bigbluebuttonbnid' => $bigbluebuttonbn->id,
237
+                                                                'userid' => $user->id,
238
+                                                                'log' => 'Join', ), '*');
239 239
 
240 240
     if ($completed > 0) {
241 241
         return fullname($user).' '.get_string('view_message_has_joined', 'bigbluebuttonbn').' '.
@@ -256,9 +256,9 @@  discard block
 block discarded – undo
256 256
     global $DB;
257 257
 
258 258
     $completed = $DB->count_recorda('bigbluebuttonbn_logs', array('courseid' => $course->id,
259
-                                                              'bigbluebuttonbnid' => $bigbluebuttonbn->id,
260
-                                                              'userid' => $user->id,
261
-                                                              'log' => 'Join', ), '*', IGNORE_MULTIPLE);
259
+                                                                'bigbluebuttonbnid' => $bigbluebuttonbn->id,
260
+                                                                'userid' => $user->id,
261
+                                                                'log' => 'Join', ), '*', IGNORE_MULTIPLE);
262 262
 
263 263
     return $completed > 0;
264 264
 }
@@ -331,12 +331,12 @@  discard block
 block discarded – undo
331 331
     $str = '<div class="bigbluebuttonbn overview">'."\n";
332 332
     $str .= '  <div class="name">'.get_string('modulename', 'bigbluebuttonbn').':&nbsp;'."\n";
333 333
     $str .= '    <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule.
334
-      '">'.$bigbluebuttonbn->name.'</a>'."\n";
334
+        '">'.$bigbluebuttonbn->name.'</a>'."\n";
335 335
     $str .= '  </div>'."\n";
336 336
     $str .= '  <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime).
337 337
         '</div>'."\n";
338 338
     $str .= '  <div class="info">'.get_string('ends_at', 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->closingtime)
339
-      .'</div>'."\n";
339
+        .'</div>'."\n";
340 340
     $str .= '</div>'."\n";
341 341
 
342 342
     return $str;
Please login to merge, or discard this patch.
import_view.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,8 +96,8 @@
 block discarded – undo
96 96
     $output .= html_writer::start_tag('br');
97 97
     $output .= html_writer::tag('input', '',
98 98
         array('type' => 'button', 'class' => 'btn btn-secondary',
99
-              'value' => get_string('view_recording_button_return', 'bigbluebuttonbn'),
100
-              'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$cm->id.'\''));
99
+                'value' => get_string('view_recording_button_return', 'bigbluebuttonbn'),
100
+                'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$cm->id.'\''));
101 101
 
102 102
     // JavaScript for locales.
103 103
     $PAGE->requires->strings_for_js(array_keys(bigbluebuttonbn_get_strings_for_js()), 'bigbluebuttonbn');
Please login to merge, or discard this patch.
mod_form.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
                 'alt' => get_string('delete'),
112 112
                 'title' => get_string('delete'),
113 113
                 'src' => $jsvars['pix_icon_delete']
114
-              );
114
+                );
115 115
 
116 116
             $jsvars['pix_icon_delete'] = html_writer::tag('img', $options);
117 117
         }
@@ -211,8 +211,8 @@  discard block
 block discarded – undo
211 211
             $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
212 212
                 $field['description_key'], 0, ['maxlength' => 4, 'size' => 6],
213 213
                 ['message' => get_string('mod_form_field_voicebridge_format_error', 'bigbluebuttonbn'),
214
-                 'type' => 'numeric', 'rule' => '####', 'validator' => 'server']
215
-              );
214
+                    'type' => 'numeric', 'rule' => '####', 'validator' => 'server']
215
+                );
216 216
         } else {
217 217
             $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'],
218 218
                 $field['description_key'], 0, ['maxlength' => 4, 'size' => 6]);
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
             $field['description_key'], $cfg['recordings_html_default']);
255 255
 
256 256
         $field = ['type' => 'hidden', 'name' => 'recordings_deleted_activities', 'data_type' => PARAM_INT,
257
-                  'description_key' => null];
257
+                    'description_key' => null];
258 258
         if ($cfg['recordings_deleted_activities_editable']) {
259 259
             $field['type'] = 'checkbox';
260 260
             $field['description_key'] = 'mod_form_field_recordings_deleted_activities';
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
             html_writer::select($participantselection['type_options'], 'bigbluebuttonbn_participant_selection_type',
310 310
                 $participantselection['type_selected'], array(),
311 311
                 array('id' => 'bigbluebuttonbn_participant_selection_type',
312
-                      'onchange' => 'M.mod_bigbluebuttonbn.modform.participant_selection_set(); return 0;')).'&nbsp;&nbsp;'.
312
+                        'onchange' => 'M.mod_bigbluebuttonbn.modform.participant_selection_set(); return 0;')).'&nbsp;&nbsp;'.
313 313
             html_writer::select($participantselection['options'], 'bigbluebuttonbn_participant_selection',
314 314
                 $participantselection['selected'], array(),
315 315
                 array('id' => 'bigbluebuttonbn_participant_selection', 'disabled' => 'disabled')).'&nbsp;&nbsp;'.
Please login to merge, or discard this patch.
bbb_broker.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -413,10 +413,10 @@  discard block
 block discarded – undo
413 413
     if (bigbluebuttonbn_broker_recording_is_imported($recordings, $params['id'])) {
414 414
         // Execute unpublish or protect on imported recording link.
415 415
         return array(
416
-          'status' => bigbluebuttonbn_publish_recording_imported(
417
-              $params['id'], $bbbsession['bigbluebuttonbn']->id, false
416
+            'status' => bigbluebuttonbn_publish_recording_imported(
417
+                $params['id'], $bbbsession['bigbluebuttonbn']->id, false
418 418
             )
419
-          );
419
+            );
420 420
     }
421 421
 
422 422
     // As the recordingid was not identified as imported recording link, execute unpublish on a real recording.
@@ -436,26 +436,26 @@  discard block
 block discarded – undo
436 436
     }
437 437
     // Second: Execute the real unpublish.
438 438
     return array(
439
-      'status' => bigbluebuttonbn_publish_recordings($params['id'], 'false')
440
-      );
439
+        'status' => bigbluebuttonbn_publish_recordings($params['id'], 'false')
440
+        );
441 441
 }
442 442
 
443 443
 function bigbluebuttonbn_broker_recording_action_edit($bbbsession, $params, $recordings) {
444 444
     if (bigbluebuttonbn_broker_recording_is_imported($recordings, $params['id'])) {
445 445
         // Execute update on imported recording link.
446 446
         return array(
447
-          'status' => bigbluebuttonbn_update_recording_imported(
448
-              $params['id'], $bbbsession['bigbluebuttonbn']->id, json_decode($params['meta'], true)
447
+            'status' => bigbluebuttonbn_update_recording_imported(
448
+                $params['id'], $bbbsession['bigbluebuttonbn']->id, json_decode($params['meta'], true)
449 449
             )
450
-          );
450
+            );
451 451
     }
452 452
 
453 453
     // As the recordingid was not identified as imported recording link, execute update on a real recording.
454 454
     // (No need to update imported links as the update only affects the actual recording).
455 455
     // Execute update on actual recording.
456 456
     return array(
457
-      'status' => bigbluebuttonbn_update_recordings($params['id'], json_decode($params['meta']))
458
-      );
457
+        'status' => bigbluebuttonbn_update_recordings($params['id'], json_decode($params['meta']))
458
+        );
459 459
 }
460 460
 
461 461
 function bigbluebuttonbn_broker_recording_action_delete($bbbsession, $params, $recordings) {
@@ -464,10 +464,10 @@  discard block
 block discarded – undo
464 464
     if (bigbluebuttonbn_broker_recording_is_imported($recordings, $params['id'])) {
465 465
         // Execute delete on imported recording link.
466 466
         return array(
467
-          'status' => bigbluebuttonbn_delete_recording_imported(
468
-              $params['id'], $bbbsession['bigbluebuttonbn']->id
467
+            'status' => bigbluebuttonbn_delete_recording_imported(
468
+                $params['id'], $bbbsession['bigbluebuttonbn']->id
469 469
             )
470
-          );
470
+            );
471 471
     }
472 472
 
473 473
     // As the recordingid was not identified as imported recording link, execute delete on a real recording.
@@ -482,8 +482,8 @@  discard block
 block discarded – undo
482 482
     }
483 483
     // Execute the actual delete.
484 484
     return array(
485
-      'status' => bigbluebuttonbn_delete_recordings($params['id'])
486
-      );
485
+        'status' => bigbluebuttonbn_delete_recordings($params['id'])
486
+        );
487 487
 }
488 488
 
489 489
 function bigbluebuttonbn_broker_recording_ready($params, $bigbluebuttonbn) {
@@ -624,10 +624,10 @@  discard block
 block discarded – undo
624 624
     $params['recording_import'] = ['id' => 'The recordingID must be specified.'];
625 625
     $params['recording_ready'] = [
626 626
             'signed_parameters' => 'A JWT encoded string must be included as [signed_parameters].'
627
-          ];
627
+            ];
628 628
     $params['live_session_events'] = [
629 629
             'signed_parameters' => 'A JWT encoded string must be included as [signed_parameters].'
630
-          ];
630
+            ];
631 631
     return $params;
632 632
 }
633 633
 
Please login to merge, or discard this patch.
classes/event/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
16 16
 
17 17
 /**
18
-  * The mod_bigbluebuttonbn abstract base event.
19
-  *
20
-  * @package   mod_bigbluebuttonbn
21
-  * @author    Jesus Federico  (jesus [at] blindsidenetworks [dt] com)
22
-  * @copyright 2017 - present, Blindside Networks Inc
23
-  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24
-  */
18
+ * The mod_bigbluebuttonbn abstract base event.
19
+ *
20
+ * @package   mod_bigbluebuttonbn
21
+ * @author    Jesus Federico  (jesus [at] blindsidenetworks [dt] com)
22
+ * @copyright 2017 - present, Blindside Networks Inc
23
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24
+ */
25 25
 
26 26
 namespace mod_bigbluebuttonbn\event;
27 27
 
Please login to merge, or discard this patch.
classes/locallib/config.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -122,23 +122,23 @@
 block discarded – undo
122 122
      */
123 123
     public static function get_options() {
124 124
         return [
125
-               'version_major' => self::get_moodle_version_major(),
126
-               'voicebridge_editable' => self::get('voicebridge_editable'),
127
-               'recording_default' => self::get('recording_default'),
128
-               'recording_editable' => self::get('recording_editable'),
129
-               'waitformoderator_default' => self::get('waitformoderator_default'),
130
-               'waitformoderator_editable' => self::get('waitformoderator_editable'),
131
-               'userlimit_default' => self::get('userlimit_default'),
132
-               'userlimit_editable' => self::get('userlimit_editable'),
133
-               'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'),
134
-               'sendnotifications_enabled' => self::get('sendnotifications_enabled'),
135
-               'recordings_html_default' => self::get('recordings_html_default'),
136
-               'recordings_html_editable' => self::get('recordings_html_editable'),
137
-               'recordings_deleted_activities_default' => self::get('recordings_deleted_activities_default'),
138
-               'recordings_deleted_activities_editable' => self::get('recordings_deleted_activities_editable'),
139
-               'recording_icons_enabled' => self::get('recording_icons_enabled'),
140
-               'instance_type_enabled' => self::recordings_enabled(),
141
-               'instance_type_default' => BIGBLUEBUTTONBN_TYPE_ALL,
142
-          ];
125
+                'version_major' => self::get_moodle_version_major(),
126
+                'voicebridge_editable' => self::get('voicebridge_editable'),
127
+                'recording_default' => self::get('recording_default'),
128
+                'recording_editable' => self::get('recording_editable'),
129
+                'waitformoderator_default' => self::get('waitformoderator_default'),
130
+                'waitformoderator_editable' => self::get('waitformoderator_editable'),
131
+                'userlimit_default' => self::get('userlimit_default'),
132
+                'userlimit_editable' => self::get('userlimit_editable'),
133
+                'preuploadpresentation_enabled' => self::get('preuploadpresentation_enabled'),
134
+                'sendnotifications_enabled' => self::get('sendnotifications_enabled'),
135
+                'recordings_html_default' => self::get('recordings_html_default'),
136
+                'recordings_html_editable' => self::get('recordings_html_editable'),
137
+                'recordings_deleted_activities_default' => self::get('recordings_deleted_activities_default'),
138
+                'recordings_deleted_activities_editable' => self::get('recordings_deleted_activities_editable'),
139
+                'recording_icons_enabled' => self::get('recording_icons_enabled'),
140
+                'instance_type_enabled' => self::recordings_enabled(),
141
+                'instance_type_default' => BIGBLUEBUTTONBN_TYPE_ALL,
142
+            ];
143 143
     }
144 144
 }
Please login to merge, or discard this patch.
view.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -272,11 +272,11 @@  discard block
 block discarded – undo
272 272
 
273 273
     echo $OUTPUT->box_start('generalbox boxaligncenter');
274 274
     echo '<br><div class="alert alert-warning">'.get_string('view_groups_selection_warning', 'bigbluebuttonbn').
275
-      '</div>';
275
+        '</div>';
276 276
     echo $OUTPUT->box_end();
277 277
 
278 278
     groups_print_activity_menu(
279
-      $bbbsession['cm'], $CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bbbsession['cm']->id);
279
+        $bbbsession['cm'], $CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bbbsession['cm']->id);
280 280
     echo '<br><br>';
281 281
 }
282 282
 
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
     // JavaScript variables for recordings.
383 383
     $jsvars += array(
384 384
             'recordings_html' => $bbbsession['bigbluebuttonbn']->recordings_html == '1',
385
-          );
385
+            );
386 386
 
387 387
     // If there are meetings with recordings load the data to the table.
388 388
     if ($bbbsession['bigbluebuttonbn']->recordings_html) {
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
     $jsvars += array(
395 395
             'columns' => bigbluebuttonbn_get_recording_columns($bbbsession),
396 396
             'data' => bigbluebuttonbn_get_recording_data($bbbsession, $recordings),
397
-          );
397
+            );
398 398
 
399 399
     // Render a YUI table.
400 400
     return html_writer::div('', '', array('id' => 'bigbluebuttonbn_yui_table'));
@@ -405,10 +405,10 @@  discard block
 block discarded – undo
405 405
 
406 406
     $button = html_writer::tag('input', '',
407 407
         array('type' => 'button',
408
-              'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'),
409
-              'class' => 'btn btn-secondary',
410
-              'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='.
411
-                  $bbbsession['bigbluebuttonbn']->id.'\''));
408
+                'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'),
409
+                'class' => 'btn btn-secondary',
410
+                'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='.
411
+                    $bbbsession['bigbluebuttonbn']->id.'\''));
412 412
     $output = html_writer::start_tag('br');
413 413
     $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button'));
414 414
     $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table'));
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
         return '<h4>'.get_string('view_section_title_presentation', 'bigbluebuttonbn').'</h4>'.
427 427
                 ''.$OUTPUT->action_icon($bbbsession['presentation']['url'], $icon, null, array(), false).''.
428 428
                 ''.$OUTPUT->action_link($bbbsession['presentation']['url'],
429
-                      $bbbsession['presentation']['name'], null, $attributes).'<br><br>';
429
+                        $bbbsession['presentation']['name'], null, $attributes).'<br><br>';
430 430
     }
431 431
 
432 432
     return '';
Please login to merge, or discard this patch.