Completed
Push — master ( 50e1a0...fbd78f )
by Martin
02:37
created
view/anax/v2/block/default.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 }
22 22
 
23 23
 // Prepare title
24
-$title = isset($title) && !empty($title)? $title : null;
24
+$title = isset($title) && !empty($title) ? $title : null;
25 25
 $header = isset($header) ? $header : $title;
26 26
 
27 27
 // Prepare content into text
Please login to merge, or discard this patch.
view/anax/v2/navbar/responsive_submenus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 $navbar->setDI($di);
14 14
 $html = $navbar->createMenuWithSubMenus($navbarConfig);
15 15
 
16
-$classes = "rm-navbar-max rm-navbar rm-max rm-swipe-right " . ( $class ?? null);
16
+$classes = "rm-navbar-max rm-navbar rm-max rm-swipe-right " . ($class ?? null);
17 17
 
18 18
 
19 19
 ?><!-- menu wrapper -->
Please login to merge, or discard this patch.
view/anax/v2/navbar/navbar_submenus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 $navbar->setDI($di);
14 14
 $html = $navbar->createMenuWithSubMenus($navbarConfig);
15 15
 
16
-$classes = "rm-navbar " . ( $class ?? null);
16
+$classes = "rm-navbar " . ($class ?? null);
17 17
 
18 18
 
19 19
 
Please login to merge, or discard this patch.
view/anax/v2/layout/dbwebb_se.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
 $sidebarLeft  = regionHasContent("sidebar-left");
212 212
 $sidebarRight = regionHasContent("sidebar-right");
213 213
 $class = "";
214
-$class .= $sidebarLeft  ? "has-sidebar-left "  : "";
214
+$class .= $sidebarLeft ? "has-sidebar-left " : "";
215 215
 $class .= $sidebarRight ? "has-sidebar-right " : "";
216 216
 $class .= empty($class) ? "" : "has-sidebar";
217 217
 ?>
Please login to merge, or discard this patch.
view/anax/v2/dev/session_destroy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,5 +21,5 @@
 block discarded – undo
21 21
 <pre><?= var_dump($session) ?></pre>
22 22
 
23 23
 <p>
24
-    <a href="<?= url($mount."session") ?>">Back to session<a>
24
+    <a href="<?= url($mount . "session") ?>">Back to session<a>
25 25
 </p>
Please login to merge, or discard this patch.
view/anax/v2/dev/index.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
 <p>Here is a set of utilities to use when learning, developing, testing and debugging Anax.</p>
17 17
 
18 18
 <ul>
19
-    <li><a href="<?= url($mount."di") ?>">DI (show loaded services in $di)</a></li>
20
-    <li><a href="<?= url($mount."request") ?>">Request (show details on current request)</a></li>
21
-    <li><a href="<?= url($mount."router") ?>">Router (show loaded routes)</a></li>
22
-    <li><a href="<?= url($mount."session") ?>">Session (show session data)</a></li>
23
-    <li><a href="<?= url($mount."view") ?>">View (debug and inspect views)</a></li>
19
+    <li><a href="<?= url($mount . "di") ?>">DI (show loaded services in $di)</a></li>
20
+    <li><a href="<?= url($mount . "request") ?>">Request (show details on current request)</a></li>
21
+    <li><a href="<?= url($mount . "router") ?>">Router (show loaded routes)</a></li>
22
+    <li><a href="<?= url($mount . "session") ?>">Session (show session data)</a></li>
23
+    <li><a href="<?= url($mount . "view") ?>">View (debug and inspect views)</a></li>
24 24
 </ul>
Please login to merge, or discard this patch.
view/anax/v2/dev/session.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
 <pre><?= var_dump($session) ?></pre>
22 22
 
23 23
 <p>
24
-    <a href="<?= url($mount."session/increment") ?>">Add to session and increment<a> |
25
-    <a href="<?= url($mount."session/destroy") ?>">Destroy session<a>
24
+    <a href="<?= url($mount . "session/increment") ?>">Add to session and increment<a> |
25
+    <a href="<?= url($mount . "session/destroy") ?>">Destroy session<a>
26 26
 </p>
Please login to merge, or discard this patch.
view/anax/v2/blog-toc-next-prev-page/default.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,9 +37,12 @@
 block discarded – undo
37 37
     <div class="next">
38 38
         <?php if ($nextPageUrl) : ?>
39 39
         <a href="<?= url($nextPageUrl) ?>"><?= $nextStr ?></a>
40
-        <?php else : ?>
40
+        <?php else {
41
+    : ?>
41 42
         &nbsp;
42
-        <?php endif; ?>
43
+        <?php endif;
44
+}
45
+?>
43 46
     </div>
44 47
 
45 48
     <div class="center">
Please login to merge, or discard this patch.
view/weatherapi/weather-data.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             <?php endforeach; ?>
85 85
         </table>
86 86
     </p>
87
-    <?php endif ; ?>
87
+    <?php endif; ?>
88 88
 <div id="map" style="width: 800px; height: 450px;"></div>
89 89
 <script src="<?= url("js/leaflet.js") ?>"></script>
90 90
 <script type="text/javascript">
@@ -111,4 +111,4 @@  discard block
 block discarded – undo
111 111
     }
112 112
   }, 500);
113 113
 </script>
114
-<?php endif ; ?>
114
+<?php endif; ?>
Please login to merge, or discard this patch.