Completed
Push — master ( a815c6...034c94 )
by Jesus
02:58
created
view.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
         return $output;
411 411
     }
412 412
     $output .= $OUTPUT->box_start('box boxalignleft adminerror alert alert-' . $type . ' alert-block fade in',
413
-      'bigbluebuttonbn_view_general_warning')."\n";
413
+        'bigbluebuttonbn_view_general_warning')."\n";
414 414
     $output .= '  '.$message."\n";
415 415
     $output .= '  <div class="singlebutton">'."\n";
416 416
     if (!empty($href)) {
@@ -507,12 +507,12 @@  discard block
 block discarded – undo
507 507
     $recordings = bigbluebuttonbn_get_recordings(
508 508
         $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom'],
509 509
         $bbbsession['bigbluebuttonbn']->recordings_deleted
510
-      );
510
+        );
511 511
     if ($enabledfeatures['importrecordings']) {
512 512
         // Get recording links.
513 513
         $recordingsimported = bigbluebuttonbn_get_recordings_imported_array(
514 514
             $bbbsession['course']->id, $bigbluebuttonbnid, $enabledfeatures['showroom']
515
-          );
515
+            );
516 516
         /* Perform aritmetic addition instead of merge so the imported recordings corresponding to existent
517 517
          * recordings are not included. */
518 518
         $recordings += $recordingsimported;
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
     // JavaScript variables for recordings.
527 527
     $jsvars += array(
528 528
             'recordings_html' => $bbbsession['bigbluebuttonbn']->recordings_html == '1',
529
-          );
529
+            );
530 530
     // If there are meetings with recordings load the data to the table.
531 531
     if ($bbbsession['bigbluebuttonbn']->recordings_html) {
532 532
         // Render a plain html table.
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
     $jsvars += array(
537 537
             'columns' => bigbluebuttonbn_get_recording_columns($bbbsession),
538 538
             'data' => bigbluebuttonbn_get_recording_data($bbbsession, $recordings),
539
-          );
539
+            );
540 540
     // Render a YUI table.
541 541
     return html_writer::div('', '', array('id' => 'bigbluebuttonbn_yui_table'));
542 542
 }
@@ -556,10 +556,10 @@  discard block
 block discarded – undo
556 556
     }
557 557
     $button = html_writer::tag('input', '',
558 558
         array('type' => 'button',
559
-              'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'),
560
-              'class' => 'btn btn-secondary',
561
-              'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='.
562
-                  $bbbsession['bigbluebuttonbn']->id.'\''));
559
+                'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'),
560
+                'class' => 'btn btn-secondary',
561
+                'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='.
562
+                    $bbbsession['bigbluebuttonbn']->id.'\''));
563 563
     $output  = html_writer::start_tag('br');
564 564
     $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button'));
565 565
     $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table'));
Please login to merge, or discard this patch.
Spacing   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     $bbbsession['modPW'] = $bbbsession['bigbluebuttonbn']->moderatorpass;
153 153
     $bbbsession['viewerPW'] = $bbbsession['bigbluebuttonbn']->viewerpass;
154 154
     // Database info related to the activity.
155
-    $bbbsession['meetingid'] = $bbbsession['bigbluebuttonbn']->meetingid.'-'.$bbbsession['course']->id.'-'.
155
+    $bbbsession['meetingid'] = $bbbsession['bigbluebuttonbn']->meetingid . '-' . $bbbsession['course']->id . '-' .
156 156
         $bbbsession['bigbluebuttonbn']->id;
157 157
     $bbbsession['meetingname'] = $bbbsession['bigbluebuttonbn']->name;
158 158
     $bbbsession['meetingdescription'] = $bbbsession['bigbluebuttonbn']->intro;
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
         $bbbsession['welcome'] = get_string('mod_form_field_welcome_default', 'bigbluebuttonbn');
173 173
     }
174 174
     if ($bbbsession['bigbluebuttonbn']->record) {
175
-        $bbbsession['welcome'] .= '<br><br>'.get_string('bbbrecordwarning', 'bigbluebuttonbn');
175
+        $bbbsession['welcome'] .= '<br><br>' . get_string('bbbrecordwarning', 'bigbluebuttonbn');
176 176
     }
177 177
     $bbbsession['openingtime'] = $bbbsession['bigbluebuttonbn']->openingtime;
178 178
     $bbbsession['closingtime'] = $bbbsession['bigbluebuttonbn']->closingtime;
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     $bbbsession['originServerName'] = $parsedurl['host'];
186 186
     $bbbsession['originServerUrl'] = $CFG->wwwroot;
187 187
     $bbbsession['originServerCommonName'] = '';
188
-    $bbbsession['originTag'] = 'moodle-mod_bigbluebuttonbn ('.get_config('mod_bigbluebuttonbn', 'version').')';
188
+    $bbbsession['originTag'] = 'moodle-mod_bigbluebuttonbn (' . get_config('mod_bigbluebuttonbn', 'version') . ')';
189 189
     $bbbsession['bnserver'] = bigbluebuttonbn_is_bn_server();
190 190
 }
191 191
 
@@ -257,9 +257,9 @@  discard block
 block discarded – undo
257 257
         $groupname = groups_get_group_name($bbbsession['group']);
258 258
     }
259 259
     // Assign group default values.
260
-    $bbbsession['meetingid'] = $bbbsession['bigbluebuttonbn']->meetingid.'-'.$bbbsession['course']->id.'-'.
261
-        $bbbsession['bigbluebuttonbn']->id.'['.$bbbsession['group'].']';
262
-    $bbbsession['meetingname'] = $bbbsession['bigbluebuttonbn']->name.' ('.$groupname.')';
260
+    $bbbsession['meetingid'] = $bbbsession['bigbluebuttonbn']->meetingid . '-' . $bbbsession['course']->id . '-' .
261
+        $bbbsession['bigbluebuttonbn']->id . '[' . $bbbsession['group'] . ']';
262
+    $bbbsession['meetingname'] = $bbbsession['bigbluebuttonbn']->name . ' (' . $groupname . ')';
263 263
     if (count($groups) == 0) {
264 264
         // Only the All participants group exists.
265 265
         bigbluebuttonbn_view_message_box($bbbsession,
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
         return;
272 272
     }
273 273
     bigbluebuttonbn_view_message_box($bbbsession, get_string('view_groups_selection_warning', 'bigbluebuttonbn'), 'warning');
274
-    $urltoroot = $CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bbbsession['cm']->id;
274
+    $urltoroot = $CFG->wwwroot . '/mod/bigbluebuttonbn/view.php?id=' . $bbbsession['cm']->id;
275 275
     groups_print_activity_menu($bbbsession['cm'], $urltoroot);
276 276
     echo '<br><br>';
277 277
 }
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
  * @param boolean $onlymoderator
286 286
  * @return void
287 287
  */
288
-function bigbluebuttonbn_view_message_box(&$bbbsession, $message, $type='warning', $onlymoderator=false) {
288
+function bigbluebuttonbn_view_message_box(&$bbbsession, $message, $type = 'warning', $onlymoderator = false) {
289 289
     global $OUTPUT;
290 290
     if ($onlymoderator && !$bbbsession['moderator'] && !$bbbsession['administrator']) {
291 291
         return;
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
         'locale' => bigbluebuttonbn_get_localcode(), 'profile_features' => $typeprofiles[0]['features']);
319 319
     // Renders general warning when configured.
320 320
     $cfg = \mod_bigbluebuttonbn\locallib\config::get_options();
321
-    $output  = '';
321
+    $output = '';
322 322
     if (bigbluebuttonbn_view_warning_shown($bbbsession)) {
323 323
         $output .= bigbluebuttonbn_view_render_warning(
324 324
             (string)$cfg['general_warning_message'],
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
         $recordingsdisabled = get_string('view_message_recordings_disabled', 'bigbluebuttonbn');
343 343
         $output .= bigbluebuttonbn_view_render_warning($recordingsdisabled, 'danger');
344 344
     }
345
-    echo $output.html_writer::empty_tag('br').html_writer::empty_tag('br').html_writer::empty_tag('br');
345
+    echo $output . html_writer::empty_tag('br') . html_writer::empty_tag('br') . html_writer::empty_tag('br');
346 346
     $PAGE->requires->yui_module('moodle-mod_bigbluebuttonbn-broker', 'M.mod_bigbluebuttonbn.broker.init', array($jsvars));
347 347
 }
348 348
 
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
  *
403 403
  * @return string
404 404
  */
405
-function bigbluebuttonbn_view_render_warning($message, $type='info', $href='', $text='', $class='') {
405
+function bigbluebuttonbn_view_render_warning($message, $type = 'info', $href = '', $text = '', $class = '') {
406 406
     global $OUTPUT;
407 407
     $output = "\n";
408 408
     // Evaluates if config_warning is enabled.
@@ -410,14 +410,14 @@  discard block
 block discarded – undo
410 410
         return $output;
411 411
     }
412 412
     $output .= $OUTPUT->box_start('box boxalignleft adminerror alert alert-' . $type . ' alert-block fade in',
413
-      'bigbluebuttonbn_view_general_warning')."\n";
414
-    $output .= '  '.$message."\n";
415
-    $output .= '  <div class="singlebutton">'."\n";
413
+      'bigbluebuttonbn_view_general_warning') . "\n";
414
+    $output .= '  ' . $message . "\n";
415
+    $output .= '  <div class="singlebutton">' . "\n";
416 416
     if (!empty($href)) {
417 417
         $output .= bigbluebuttonbn_view_render_warning_button($href, $text, $class);
418 418
     }
419
-    $output .= '  </div>'."\n";
420
-    $output .= $OUTPUT->box_end()."\n";
419
+    $output .= '  </div>' . "\n";
420
+    $output .= $OUTPUT->box_end() . "\n";
421 421
     return $output;
422 422
 }
423 423
 
@@ -437,11 +437,11 @@  discard block
 block discarded – undo
437 437
     if ($class == '') {
438 438
         $class = 'btn btn-secondary';
439 439
     }
440
-    $output  = '  <form method="post" action="' . $href . '" class="form-inline">'."\n";
441
-    $output .= '      <button type="submit" class="' . $class . '"'."\n";
442
-    $output .= '          title=""'."\n";
443
-    $output .= '          >' . $text . '</button>'."\n";
444
-    $output .= '  </form>'."\n";
440
+    $output  = '  <form method="post" action="' . $href . '" class="form-inline">' . "\n";
441
+    $output .= '      <button type="submit" class="' . $class . '"' . "\n";
442
+    $output .= '          title=""' . "\n";
443
+    $output .= '          >' . $text . '</button>' . "\n";
444
+    $output .= '  </form>' . "\n";
445 445
     return $output;
446 446
 }
447 447
 
@@ -459,12 +459,12 @@  discard block
 block discarded – undo
459 459
     // JavaScript variables for room.
460 460
     $openingtime = '';
461 461
     if ($bbbsession['openingtime']) {
462
-        $openingtime = get_string('mod_form_field_openingtime', 'bigbluebuttonbn').': '.
462
+        $openingtime = get_string('mod_form_field_openingtime', 'bigbluebuttonbn') . ': ' .
463 463
             userdate($bbbsession['openingtime']);
464 464
     }
465 465
     $closingtime = '';
466 466
     if ($bbbsession['closingtime']) {
467
-        $closingtime = get_string('mod_form_field_closingtime', 'bigbluebuttonbn').': '.
467
+        $closingtime = get_string('mod_form_field_closingtime', 'bigbluebuttonbn') . ': ' .
468 468
             userdate($bbbsession['closingtime']);
469 469
     }
470 470
     $jsvars += array(
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
     $output .= $OUTPUT->box_end();
482 482
     // Action button box.
483 483
     $output .= $OUTPUT->box_start('generalbox boxaligncenter', 'bigbluebuttonbn_view_action_button_box');
484
-    $output .= '<br><br><span id="join_button"></span>&nbsp;<span id="end_button"></span>'."\n";
484
+    $output .= '<br><br><span id="join_button"></span>&nbsp;<span id="end_button"></span>' . "\n";
485 485
     $output .= $OUTPUT->box_end();
486 486
     if ($activity == 'ended') {
487 487
         $output .= bigbluebuttonbn_view_ended($bbbsession);
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
     // If there are meetings with recordings load the data to the table.
531 531
     if ($bbbsession['bigbluebuttonbn']->recordings_html) {
532 532
         // Render a plain html table.
533
-        return bigbluebuttonbn_output_recording_table($bbbsession, $recordings)."\n";
533
+        return bigbluebuttonbn_output_recording_table($bbbsession, $recordings) . "\n";
534 534
     }
535 535
     // JavaScript variables for recordings with YUI.
536 536
     $jsvars += array(
@@ -558,8 +558,8 @@  discard block
 block discarded – undo
558 558
         array('type' => 'button',
559 559
               'value' => get_string('view_recording_button_import', 'bigbluebuttonbn'),
560 560
               'class' => 'btn btn-secondary',
561
-              'onclick' => 'window.location=\''.$CFG->wwwroot.'/mod/bigbluebuttonbn/import_view.php?bn='.
562
-                  $bbbsession['bigbluebuttonbn']->id.'\''));
561
+              'onclick' => 'window.location=\'' . $CFG->wwwroot . '/mod/bigbluebuttonbn/import_view.php?bn=' .
562
+                  $bbbsession['bigbluebuttonbn']->id . '\''));
563 563
     $output  = html_writer::start_tag('br');
564 564
     $output .= html_writer::tag('span', $button, array('id' => 'import_recording_links_button'));
565 565
     $output .= html_writer::tag('span', '', array('id' => 'import_recording_links_table'));
@@ -578,10 +578,10 @@  discard block
 block discarded – undo
578 578
     if (!is_null($bbbsession['presentation']['url'])) {
579 579
         $attributes = array('title' => $bbbsession['presentation']['name']);
580 580
         $icon = new pix_icon($bbbsession['presentation']['icon'], $bbbsession['presentation']['mimetype_description']);
581
-        return '<h4>'.get_string('view_section_title_presentation', 'bigbluebuttonbn').'</h4>'.
582
-                $OUTPUT->action_icon($bbbsession['presentation']['url'], $icon, null, array(), false).
581
+        return '<h4>' . get_string('view_section_title_presentation', 'bigbluebuttonbn') . '</h4>' .
582
+                $OUTPUT->action_icon($bbbsession['presentation']['url'], $icon, null, array(), false) .
583 583
                 $OUTPUT->action_link($bbbsession['presentation']['url'],
584
-                $bbbsession['presentation']['name'], null, $attributes).'<br><br>';
584
+                $bbbsession['presentation']['name'], null, $attributes) . '<br><br>';
585 585
     }
586 586
     return '';
587 587
 }
Please login to merge, or discard this patch.
config-dist.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
  * are 1=checked, 0=unchecked.
69 69
  **/
70 70
 
71
- /* When the value is set to 0 (unchecked) the all the features for recordings
71
+    /* When the value is set to 0 (unchecked) the all the features for recordings
72 72
   *  are ignored. Recording features are enabled by default.
73 73
   *  $CFG->bigbluebuttonbn['recordings_enabled'] = 1;
74 74
   */
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
  * recordings from a different activity even from a different course.
99 99
  **/
100 100
 
101
- /*
101
+    /*
102 102
  * When the value is set to 1 (checked) the bigbluebuttonbn rooms or
103 103
  * activities will have the 'import recordings' capability enabled.
104 104
  * $CFG->bigbluebuttonbn['importrecordings_enabled'] = 0;
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
  * 'Join session' button enabled
120 120
  **/
121 121
 
122
- /*
122
+    /*
123 123
  * When the value is set to 1 (checked) the bigbluebuttonbn rooms or
124 124
  * activities will have the 'wait for moderator' capability enabled by
125 125
  * default.
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
  * 5. CONFIGURATION FOR "STATIC VOICE BRIDGE" FEATURE
154 154
  *
155 155
  **/
156
- /*
156
+    /*
157 157
  * A conference voice bridge number can be permanently assigned to a room
158 158
  * or activity.
159 159
  * $CFG->bigbluebuttonbn['voicebridge_editable'] = 0;
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
  * 6. CONFIGURATION FOR "PRE-UPLOAD PRESENTATION" FEATURE
164 164
  *
165 165
  **/
166
- /*
166
+    /*
167 167
  * Since version 0.8, BigBluebutton has an implementation for allowing
168 168
  * preuploading presentation. When this feature is enabled, users creating or
169 169
  * editing a room or activity can upload a PDF or Office document to the
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
  * applied to each room or activity, or globally.
181 181
  **/
182 182
 
183
- /*
183
+    /*
184 184
  * The number of users allowed in a session by default when a new room or
185 185
  * conference is added. If the number is set to 0, no limit is established.
186 186
  * $CFG->bigbluebuttonbn['userlimit_default'] = 0;
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
  * By default only the owner is assigned.
202 202
  **/
203 203
 
204
- /*
204
+    /*
205 205
  * The values for this parameter can be '0' (which identifies the owner) and/or any of the role IDs defined in
206 206
  * Moodle (including the custom parameters). The value used will be the key for the role.
207 207
  * [owner=0|manager=1|coursecreator=2|editingteacher=3|teacher=4|student=5|guest=6|user=7|frontpage=8|ANY_CUSTOM_ROLE=xx]
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
  * 9. CONFIGURATION FOR "NOTIFICATION SENDING" FEATURE
213 213
  *
214 214
  **/
215
- /*
215
+    /*
216 216
  * When the value is set to 1 (checked) the 'notification sending'
217 217
  * capability can be used by the user creating or editing the room or
218 218
  * activity.
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
  * 10. CONFIGURATION FOR "RECORDING READY" FEATURE
227 227
  *
228 228
  **/
229
- /*
229
+    /*
230 230
  * When the value is set to 1 (checked) the 'notify users when recording ready'
231 231
  * capability is enabled, meaning that a message will be sent to all enrolled
232 232
  * users in a course when a recording is ready
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
  * 12. GENERAL CONFIGURATION FOR RECORDINGS UI
251 251
  *
252 252
  **/
253
- /*
253
+    /*
254 254
  * When the value is set to 1 (checked) the bigbluebuttonbn resources
255 255
  * will show the recodings in an html table by default.
256 256
  * $CFG->bigbluebuttonbn['recordings_html_default'] = 0;
@@ -274,22 +274,22 @@  discard block
 block discarded – undo
274 274
  * $CFG->bigbluebuttonbn['recordings_deleted_editable'] = 0;
275 275
  */
276 276
 
277
- /*
277
+    /*
278 278
   * When the value is set to 1 (checked) the bigbluebuttonbn resources for recordings
279 279
   * will show only the imported links as part of the list.
280 280
   * $CFG->bigbluebuttonbn['recordings_imported_default'] = 0;
281 281
   */
282 282
 
283
- /*
283
+    /*
284 284
   * When the value is set to 1 (checked) the 'show only imported links'
285 285
   * capability can be enabled/disabled by the user creating or editing the resource for recordings.
286 286
   * $CFG->bigbluebuttonbn['recordings_imported_editable'] = 1;
287 287
   */
288 288
 
289
-  /*
289
+    /*
290 290
    *  CONFIGURATION FOR FEATURES OFFERED BY BN SERVERS
291 291
   ** ------------------------------------------------------------------ **/
292
-  /*
292
+    /*
293 293
    * When general_warning_message value is different than "", the string is shown
294 294
    * as a warning message to privileged users (administrators and Teachers or users allowed to edit).
295 295
    * $CFG->bigbluebuttonbn['general_warning_message'] = "Would you like to record your BigBlueButton sessions for later viewing? ";
Please login to merge, or discard this patch.