|
@@ 124-131 (lines=8) @@
|
| 121 |
|
* |
| 122 |
|
* @return string |
| 123 |
|
*/ |
| 124 |
|
public function getLogo() { |
| 125 |
|
$logo = $this->config->getAppValue('theming', 'logoMime'); |
| 126 |
|
if(!$logo || !$this->rootFolder->nodeExists('/themedinstancelogo')) { |
| 127 |
|
return $this->urlGenerator->imagePath('core','logo.svg'); |
| 128 |
|
} else { |
| 129 |
|
return $this->urlGenerator->linkToRoute('theming.Theming.getLogo'); |
| 130 |
|
} |
| 131 |
|
} |
| 132 |
|
|
| 133 |
|
/** |
| 134 |
|
* Themed background image url |
|
@@ 138-145 (lines=8) @@
|
| 135 |
|
* |
| 136 |
|
* @return string |
| 137 |
|
*/ |
| 138 |
|
public function getBackground() { |
| 139 |
|
$backgroundLogo = $this->config->getAppValue('theming', 'backgroundMime'); |
| 140 |
|
if(!$backgroundLogo || !$this->rootFolder->nodeExists('/themedbackgroundlogo')) { |
| 141 |
|
return $this->urlGenerator->imagePath('core','background.jpg'); |
| 142 |
|
} else { |
| 143 |
|
return $this->urlGenerator->linkToRoute('theming.Theming.getLoginBackground'); |
| 144 |
|
} |
| 145 |
|
} |
| 146 |
|
|
| 147 |
|
/** |
| 148 |
|
* Increases the cache buster key |