Преглед изворни кода

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

tags/v16.0.0alpha1
andyg5000 пре 5 година
родитељ
комит
c55643d8d7
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      themes/example/defaults.php

+ 1
- 1
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;

Loading…
Откажи
Сачувај