@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | $this->defaultSlogan = $this->l->t('a safe home for all your data'); |
64 | 64 | $this->defaultColorPrimary = '#0082c9'; |
65 | 65 | |
66 | - $themePath = OC::$SERVERROOT . '/themes/' . OC_Util::getTheme() . '/defaults.php'; |
|
66 | + $themePath = OC::$SERVERROOT.'/themes/'.OC_Util::getTheme().'/defaults.php'; |
|
67 | 67 | if (file_exists($themePath)) { |
68 | 68 | // prevent defaults.php from printing output |
69 | 69 | ob_start(); |
@@ -234,9 +234,9 @@ discard block |
||
234 | 234 | if ($this->themeExist('getShortFooter')) { |
235 | 235 | $footer = $this->theme->getShortFooter(); |
236 | 236 | } else { |
237 | - $footer = '<a href="'. $this->getBaseUrl() . '" target="_blank"' . |
|
238 | - ' rel="noreferrer">' .$this->getEntity() . '</a>'. |
|
239 | - ' – ' . $this->getSlogan(); |
|
237 | + $footer = '<a href="'.$this->getBaseUrl().'" target="_blank"'. |
|
238 | + ' rel="noreferrer">'.$this->getEntity().'</a>'. |
|
239 | + ' – '.$this->getSlogan(); |
|
240 | 240 | } |
241 | 241 | |
242 | 242 | return $footer; |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | if ($this->themeExist('buildDocLinkToKey')) { |
265 | 265 | return $this->theme->buildDocLinkToKey($key); |
266 | 266 | } |
267 | - return $this->getDocBaseUrl() . '/server/' . $this->defaultDocVersion . '/go.php?to=' . $key; |
|
267 | + return $this->getDocBaseUrl().'/server/'.$this->defaultDocVersion.'/go.php?to='.$key; |
|
268 | 268 | } |
269 | 269 | |
270 | 270 | /** |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | * @return array scss variables to overwrite |
287 | 287 | */ |
288 | 288 | public function getScssVariables() { |
289 | - if($this->themeExist('getScssVariables')) { |
|
289 | + if ($this->themeExist('getScssVariables')) { |
|
290 | 290 | return $this->theme->getScssVariables(); |
291 | 291 | } |
292 | 292 | return []; |
@@ -307,11 +307,11 @@ discard block |
||
307 | 307 | return $this->theme->getLogo($useSvg); |
308 | 308 | } |
309 | 309 | |
310 | - if($useSvg) { |
|
310 | + if ($useSvg) { |
|
311 | 311 | $logo = \OC::$server->getURLGenerator()->imagePath('core', 'logo.svg'); |
312 | 312 | } else { |
313 | 313 | $logo = \OC::$server->getURLGenerator()->imagePath('core', 'logo.png'); |
314 | 314 | } |
315 | - return $logo . '?v=' . hash('sha1', implode('.', \OCP\Util::getVersion())); |
|
315 | + return $logo.'?v='.hash('sha1', implode('.', \OCP\Util::getVersion())); |
|
316 | 316 | } |
317 | 317 | } |