Skip to content
Snippets Groups Projects
Unverified Commit 42eb1538 authored by splitt3r's avatar splitt3r Committed by Morris Jobke
Browse files

Update dynamic year in example theme

parent c55643d8
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment