@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | $this->defaultTextColorPrimary = '#ffffff'; |
| 73 | 73 | $this->defaultProductName = 'Nextcloud'; |
| 74 | 74 | |
| 75 | - $themePath = OC::$SERVERROOT . '/themes/' . OC_Util::getTheme() . '/defaults.php'; |
|
| 75 | + $themePath = OC::$SERVERROOT.'/themes/'.OC_Util::getTheme().'/defaults.php'; |
|
| 76 | 76 | if (file_exists($themePath)) { |
| 77 | 77 | // prevent defaults.php from printing output |
| 78 | 78 | ob_start(); |
@@ -247,9 +247,9 @@ discard block |
||
| 247 | 247 | if ($this->themeExist('getShortFooter')) { |
| 248 | 248 | $footer = $this->theme->getShortFooter(); |
| 249 | 249 | } else { |
| 250 | - $footer = '<a href="'. $this->getBaseUrl() . '" target="_blank"' . |
|
| 251 | - ' rel="noreferrer noopener">' .$this->getEntity() . '</a>'. |
|
| 252 | - ' – ' . $this->getSlogan(); |
|
| 250 | + $footer = '<a href="'.$this->getBaseUrl().'" target="_blank"'. |
|
| 251 | + ' rel="noreferrer noopener">'.$this->getEntity().'</a>'. |
|
| 252 | + ' – '.$this->getSlogan(); |
|
| 253 | 253 | } |
| 254 | 254 | |
| 255 | 255 | return $footer; |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | if ($this->themeExist('buildDocLinkToKey')) { |
| 278 | 278 | return $this->theme->buildDocLinkToKey($key); |
| 279 | 279 | } |
| 280 | - return $this->getDocBaseUrl() . '/server/' . $this->defaultDocVersion . '/go.php?to=' . $key; |
|
| 280 | + return $this->getDocBaseUrl().'/server/'.$this->defaultDocVersion.'/go.php?to='.$key; |
|
| 281 | 281 | } |
| 282 | 282 | |
| 283 | 283 | /** |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | } else { |
| 325 | 325 | $logo = \OC::$server->getURLGenerator()->imagePath('core', 'logo/logo.png'); |
| 326 | 326 | } |
| 327 | - return $logo . '?v=' . hash('sha1', implode('.', \OCP\Util::getVersion())); |
|
| 327 | + return $logo.'?v='.hash('sha1', implode('.', \OCP\Util::getVersion())); |
|
| 328 | 328 | } |
| 329 | 329 | |
| 330 | 330 | public function getTextColorPrimary() { |