Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorandyg5000 <andyg5000@gmail.com>2018-09-20 17:51:57 +0300
committerMorris Jobke <hey@morrisjobke.de>2019-02-01 17:07:36 +0300
commitc55643d8d71572c5355d31cf6e24a81a201ff944 (patch)
tree02c9784c5ea137ebaf295d6b63e6dfffcdc84ae6 /themes
parentba03c1a84cee11d5d0ef9b28d79c5df397869c73 (diff)
Make the data year in the template dynamic by using date().
Diffstat (limited to 'themes')
-rw-r--r--themes/example/defaults.php2
1 files changed, 1 insertions, 1 deletions
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;