diff options
author | splitt3r <splitt3r@users.noreply.github.com> | 2019-01-31 11:47:59 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-02-01 15:07:36 +0100 |
commit | 42eb1538efb12a30e6bbafe1eb2f801ae99fb445 (patch) | |
tree | 363e6fb60bd6621583a2e67d74e8e2f4176fa656 /themes/example | |
parent | c55643d8d71572c5355d31cf6e24a81a201ff944 (diff) | |
download | nextcloud-server-42eb1538efb12a30e6bbafe1eb2f801ae99fb445.tar.gz nextcloud-server-42eb1538efb12a30e6bbafe1eb2f801ae99fb445.zip |
Update dynamic year in example theme
Diffstat (limited to 'themes/example')
-rw-r--r-- | themes/example/defaults.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/themes/example/defaults.php b/themes/example/defaults.php index 74c29fbc56a..dd9c9b06291 100644 --- a/themes/example/defaults.php +++ b/themes/example/defaults.php @@ -90,7 +90,7 @@ class OC_Theme { * @return string short footer */ public function getShortFooter() { - $footer = '© ' . date('Y') . ' <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'. + $footer = '© ' . date('Y') . ' <a href="' . $this->getBaseUrl() . '" target="_blank">' . $this->getEntity() . '</a>' . '<br/>' . $this->getSlogan(); return $footer; @@ -101,14 +101,18 @@ class OC_Theme { * @return string long footer */ public function getLongFooter() { - $footer = '© 2017 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'. + $footer = '© ' . date('Y') . ' <a href="' . $this->getBaseUrl() . '" target="_blank">' . $this->getEntity() . '</a>' . '<br/>' . $this->getSlogan(); return $footer; } + /** + * Generate a documentation link for a given key + * @return string documentation link + */ public function buildDocLinkToKey($key) { - return $this->getDocBaseUrl() . '/server/12/go.php?to=' . $key; + return $this->getDocBaseUrl() . '/server/15/go.php?to=' . $key; } |