Make the data year in the template dynamic by using date().

This commit is contained in:
andyg5000 2018-09-20 10:51:57 -04:00 committed by Morris Jobke
parent ba03c1a84c
commit c55643d8d7
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class OC_Theme {
* @return string short footer
*/
public function getShortFooter() {
$footer = 2018 <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;