Passed
Pull Request — master (#20)
by
unknown
01:51
created
register.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     <body> 
15 15
         <?php 
16 16
             require(__DIR__ . "/important/header.php"); 
17
-         ?>
17
+            ?>
18 18
         <center><h1 style="display: inline-block;">4Grounds - Register</h1><br>
19 19
             <?php
20 20
                 if($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['password'] && $_POST['username']) 
Please login to merge, or discard this patch.
view/index.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 va                <source src="/dynamic/song/' . $filename . '">
70 70
                 </audio>';
71 71
             } else if($type == "image") {
72
-              echo "<img style='max-width: 100%;' src='/dynamic/image/" . $filename . "'>";
72
+                echo "<img style='max-width: 100%;' src='/dynamic/image/" . $filename . "'>";
73 73
             } else if($type == "midi") {
74 74
                 echo "Note: It may take a few seconds for the MIDI to load.<br>";
75 75
                 echo "<a href='#' onClick=\"MIDIjs.play('/dynamic/midi/" . $filename . "');\">Play " . $title . "</a>";
@@ -202,9 +202,9 @@  discard block
 block discarded – undo
202 202
             <script type="text/javascript" src="//cdn.jsdelivr.net/gh/deskjet/chiptune2.js@master/chiptune2.js"></script>';
203 203
             echo '<a class="song" data-modurl="/dynamic/chiptune/' . $filename . '" href="#">Play ' . $title . '</a>';
204 204
             } else if($type == "news" || $type == "review") {
205
-              //do nothing
205
+                //do nothing
206 206
             } else if($type == "video") {
207
-              echo ' <video width="640" height="400" controls>
207
+                echo ' <video width="640" height="400" controls>
208 208
                   <source src="/dynamic/video/' . $filename . '" type="video/mp4">
209 209
                 </video> ';
210 210
             } else {
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
             <form method="post" enctype="multipart/form-data" id="submitform">
216 216
                 <textarea required cols="77" placeholder="Comment" name="comment"></textarea><br>
217 217
                 <input type="submit" value="Post" <?php 
218
-                  if ($config['use_recaptcha']) 
218
+                    if ($config['use_recaptcha']) 
219 219
                     echo 'class="g-recaptcha" data-sitekey="' . $config['recaptcha_sitekey'] . '" data-callback="onSubmit"'
220 220
                 ?>> <small>max limit: 500 characters | supports <a href="https://www.markdownguide.org/basic-syntax">Markdown</a></small>
221 221
             </form>
Please login to merge, or discard this patch.