@@ -21,7 +21,7 @@ |
||
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 |
@@ -56,7 +56,7 @@ |
||
56 | 56 | { |
57 | 57 | $ipv = $this->di->request->getGet("ip"); |
58 | 58 | |
59 | - $valid = (filter_var($ipv, FILTER_VALIDATE_IP)) ? "true" : "false"; |
|
59 | + $valid = (filter_var($ipv, FILTER_VALIDATE_IP)) ? "true" : "false"; |
|
60 | 60 | |
61 | 61 | $host = gethostbyaddr($ipv); |
62 | 62 |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | // Create the ul li menu from the array, use an anonomous recursive |
86 | 86 | // function that returns an array of values. |
87 | - $createMenu = function ( |
|
87 | + $createMenu = function( |
|
88 | 88 | $items, |
89 | 89 | $ulId = null, |
90 | 90 | $ulClass = null |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | } |
129 | 129 | |
130 | 130 | // Is there a class set for this item, then use it |
131 | - $class = isset($item["class"]) && ! is_null($item["class"]) |
|
131 | + $class = isset($item["class"]) && !is_null($item["class"]) |
|
132 | 132 | ? $item["class"] |
133 | 133 | : null; |
134 | 134 |
@@ -25,5 +25,5 @@ |
||
25 | 25 | <pre><?= var_dump($session) ?></pre> |
26 | 26 | |
27 | 27 | <p> |
28 | - <a href="<?= url($mount."session") ?>">Back to session<a> |
|
28 | + <a href="<?= url($mount . "session") ?>">Back to session<a> |
|
29 | 29 | </p> |
@@ -56,7 +56,7 @@ |
||
56 | 56 | { |
57 | 57 | $ipv = $this->di->request->getGet("ip"); |
58 | 58 | |
59 | - $valid = (filter_var($ipv, FILTER_VALIDATE_IP)) ? "true" : "false"; |
|
59 | + $valid = (filter_var($ipv, FILTER_VALIDATE_IP)) ? "true" : "false"; |
|
60 | 60 | |
61 | 61 | $host = gethostbyaddr($ipv); |
62 | 62 |