Completed
Branch master (f6660f)
by Stefan
02:22
created
index.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1389,12 +1389,12 @@
 block discarded – undo
1389 1389
 
1390 1390
 <div id="footer">
1391 1391
     <?php
1392
-      # Show authorized user name (and address) and allow logout.
1393
-      if ($user) {
1392
+        # Show authorized user name (and address) and allow logout.
1393
+        if ($user) {
1394 1394
         echo("<a href=\"logout.php\" title=\"" .
1395 1395
             __('Disconnect the current user') .
1396 1396
             "\">" . __('Log out') . "<i class=\"fa fa-sign-out\"></i></a>");
1397
-      }
1397
+        }
1398 1398
     ?>
1399 1399
 </div> <!-- Footer -->
1400 1400
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * contact form elements
89 89
      * might be sourced out and included
90 90
      */
91
-    if(isset($_POST['submit'])){
91
+    if (isset($_POST['submit'])) {
92 92
         $to = "[email protected]";
93 93
         $to = "[email protected]";
94 94
         $from = $_POST['email'];
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $message = $name . " wrote the following:" . "\n\n" . $_POST['message'];
98 98
 
99 99
         $headers = "From:" . $from;
100
-        mail($to,$subject,$message,$headers);
100
+        mail($to, $subject, $message, $headers);
101 101
         echo "Mail Sent. Thank you for your feedback " . $name . ", we will get in touch with you shortly.";
102 102
     }
103 103
 
@@ -1403,7 +1403,7 @@  discard block
 block discarded – undo
1403 1403
     $plugin_dir = "plugins/";
1404 1404
     $stats = "piwik.php";
1405 1405
 
1406
-    if(file_exists($plugin_dir . $stats)) {
1406
+    if (file_exists($plugin_dir . $stats)) {
1407 1407
         include $plugin_dir . $stats;
1408 1408
         }
1409 1409
 
Please login to merge, or discard this patch.
db.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 $newJSON = '{}';
18 18
 $oldJSON = '';
19 19
 
20
- if (!empty($_REQUEST['json'])) {
20
+    if (!empty($_REQUEST['json'])) {
21 21
     $oldJSON = $_REQUEST['json'];
22 22
     $oldJSONarr = json_decode($oldJSON, true);
23 23
     array_walk_recursive($oldJSONarr, function(&$value, $key) {
Please login to merge, or discard this patch.