Update dynamic year in example theme

This commit is contained in:
splitt3r 2019-01-31 11:47:59 +01:00 committed by Morris Jobke
parent c55643d8d7
commit 42eb1538ef
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 7 additions and 3 deletions

View File

@ -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;
}