@@ -211,7 +211,7 @@ |
||
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 | ?> |
@@ -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 |
@@ -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> |