From c55643d8d71572c5355d31cf6e24a81a201ff944 Mon Sep 17 00:00:00 2001 From: andyg5000 <andyg5000@gmail.com> Date: Thu, 20 Sep 2018 10:51:57 -0400 Subject: [PATCH] Make the data year in the template dynamic by using date(). --- themes/example/defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/example/defaults.php b/themes/example/defaults.php index 370c9aeecfa..74c29fbc56a 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 = '© 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; -- GitLab