@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | $this->content['css'] = array($uri); |
| 91 | 91 | return; |
| 92 | 92 | } |
| 93 | - array_push($this->content['css'],$uri); |
|
| 93 | + array_push($this->content['css'], $uri); |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | $this->content['js'] = array($uri); |
| 106 | 106 | return; |
| 107 | 107 | } |
| 108 | - array_push($this->content['js'],$uri); |
|
| 108 | + array_push($this->content['js'], $uri); |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | /** |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | { |
| 148 | 148 | $data['menu'] = $submenu; |
| 149 | 149 | } |
| 150 | - $this->content['header']['right'] = array($name => $data)+$this->content['header']['right']; |
|
| 150 | + $this->content['header']['right'] = array($name => $data) + $this->content['header']['right']; |
|
| 151 | 151 | } |
| 152 | 152 | |
| 153 | 153 | protected function addLinks() |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | $this->loginUrl = $this->settings->getGlobalSetting('login_url', $this->profilesUrl.'/login.php'); |
| 48 | 48 | |
| 49 | 49 | if($this->user === false || $this->user === null) |
| 50 | - { |
|
| 50 | + { |
|
| 51 | 51 | if(isset($_SERVER['REQUEST_URI']) && strstr($_SERVER['REQUEST_URI'], 'logout.php') === false) |
| 52 | 52 | { |
| 53 | 53 | $this->addLink('Login', $this->loginUrl); |