Completed
Push — master ( 93bd7d...93bd7d )
by Jacob
11s
created
lib.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
                 'sesskey' => sesskey(),
62 62
                 'type' => $this->get_config('allowedtypes'),
63 63
                 'timelimit' => $this->get_config('timelimit')
64
-              );
64
+                );
65 65
             $this->add_button_after($params, 0, 'audiortc');
66 66
         }
67 67
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                 'sesskey' => sesskey(),
74 74
                 'type' => $this->get_config('allowedtypes'),
75 75
                 'timelimit' => $this->get_config('timelimit')
76
-              );
76
+                );
77 77
             $this->add_button_after($params, 0, 'videortc');
78 78
         }
79 79
     }
Please login to merge, or discard this patch.
audiortc.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
     $out .= '  <div class="row hide">'."\n";
78 78
     $out .= '    <div class="col-sm-12">'."\n";
79 79
     $out .= '      <div id="alert-warning" class="alert alert-warning"><strong>'
80
-                   .get_string('browseralert_title', 'tinymce_recordrtc').'</strong> '
81
-                   .get_string('browseralert', 'tinymce_recordrtc').'</div>'."\n";
80
+                    .get_string('browseralert_title', 'tinymce_recordrtc').'</strong> '
81
+                    .get_string('browseralert', 'tinymce_recordrtc').'</div>'."\n";
82 82
     $out .= '    </div>'."\n";
83 83
     $out .= '  </div>'."\n";
84 84
     $out .= '  <div class="row hide">'."\n";
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     $out .= '    </div>'."\n";
101 101
     $out .= '    <div class="col-sm-10">'."\n";
102 102
     $out .= '      <button id="start-stop" class="btn btn-lg btn-outline-danger btn-block">'
103
-                   .get_string('startrecording', 'tinymce_recordrtc').'</button>'."\n";
103
+                    .get_string('startrecording', 'tinymce_recordrtc').'</button>'."\n";
104 104
     $out .= '    </div>'."\n";
105 105
     $out .= '    <div class="col-sm-1">'."\n";
106 106
     $out .= '    </div>'."\n";
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     $out .= '    </div>'."\n";
111 111
     $out .= '    <div class="col-sm-6">'."\n";
112 112
     $out .= '      <button id="upload" class="btn btn-primary btn-block">'
113
-                   .get_string('attachrecording', 'tinymce_recordrtc').'</button>'."\n";
113
+                    .get_string('attachrecording', 'tinymce_recordrtc').'</button>'."\n";
114 114
     $out .= '    </div>'."\n";
115 115
     $out .= '    <div class="col-sm-3">'."\n";
116 116
     $out .= '    </div>'."\n";
Please login to merge, or discard this patch.
save.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,5 +73,5 @@
 block discarded – undo
73 73
 
74 74
 // OK response.
75 75
 $filetarget = $filesaved->get_contextid().'/'.$filesaved->get_component().'/'.$filesaved->get_filearea().'/'.
76
-              $filesaved->get_itemid().'/'.$filesaved->get_filename();
76
+                $filesaved->get_itemid().'/'.$filesaved->get_filename();
77 77
 echo($filetarget);
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -60,12 +60,12 @@
 block discarded – undo
60 60
 // Prepare file record object.
61 61
 $usercontext = context_user::instance($USER->id);
62 62
 $fileinfo = array(
63
-    'contextid' => $usercontext->id,    // ID of context.
63
+    'contextid' => $usercontext->id, // ID of context.
64 64
     'component' => 'tinymce_recordrtc', // Usually = table name.
65
-    'filearea' => 'annotation',         // Usually = table name.
66
-    'itemid' => time(),                 // Usually = ID of row in table.
67
-    'filepath' => '/',                  // Any path beginning and ending in "/".
68
-    'filename' => $filename,            // Any filename.
65
+    'filearea' => 'annotation', // Usually = table name.
66
+    'itemid' => time(), // Usually = ID of row in table.
67
+    'filepath' => '/', // Any path beginning and ending in "/".
68
+    'filename' => $filename, // Any filename.
69 69
     'author' => fullname($USER),
70 70
     'licence' => $CFG->sitedefaultlicense
71 71
 );
Please login to merge, or discard this patch.
videortc.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
     $out .= '  <div class="row hide">'."\n";
78 78
     $out .= '    <div class="col-sm-12">'."\n";
79 79
     $out .= '      <div id="alert-warning" class="alert alert-warning"><strong>'
80
-                   .get_string('browseralert_title', 'tinymce_recordrtc').'</strong> '
81
-                   .get_string('browseralert', 'tinymce_recordrtc').'</div>'."\n";
80
+                    .get_string('browseralert_title', 'tinymce_recordrtc').'</strong> '
81
+                    .get_string('browseralert', 'tinymce_recordrtc').'</div>'."\n";
82 82
     $out .= '    </div>'."\n";
83 83
     $out .= '  </div>'."\n";
84 84
     $out .= '  <div class="row hide">'."\n";
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     $out .= '    </div>'."\n";
101 101
     $out .= '    <div class="col-sm-10">'."\n";
102 102
     $out .= '      <button id="start-stop" class="btn btn-lg btn-outline-danger btn-block">'
103
-                   .get_string('startrecording', 'tinymce_recordrtc').'</button>'."\n";
103
+                    .get_string('startrecording', 'tinymce_recordrtc').'</button>'."\n";
104 104
     $out .= '    </div>'."\n";
105 105
     $out .= '    <div class="col-sm-1">'."\n";
106 106
     $out .= '    </div>'."\n";
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     $out .= '    </div>'."\n";
111 111
     $out .= '    <div class="col-sm-6">'."\n";
112 112
     $out .= '      <button id="upload" class="btn btn-primary btn-block">'
113
-                   .get_string('attachrecording', 'tinymce_recordrtc').'</button>'."\n";
113
+                    .get_string('attachrecording', 'tinymce_recordrtc').'</button>'."\n";
114 114
     $out .= '    </div>'."\n";
115 115
     $out .= '    <div class="col-sm-3">'."\n";
116 116
     $out .= '    </div>'."\n";
Please login to merge, or discard this patch.