Browse Source

Update dynamic year in example theme

tags/v16.0.0alpha1
splitt3r 5 years ago
parent
commit
42eb1538ef
No account linked to committer's email address
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      themes/example/defaults.php

+ 7
- 3
themes/example/defaults.php View File

* @return string short footer * @return string short footer
*/ */
public function getShortFooter() { 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(); '<br/>' . $this->getSlogan();


return $footer; return $footer;
* @return string long footer * @return string long footer
*/ */
public function getLongFooter() { 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(); '<br/>' . $this->getSlogan();


return $footer; return $footer;
} }


/**
* Generate a documentation link for a given key
* @return string documentation link
*/
public function buildDocLinkToKey($key) { public function buildDocLinkToKey($key) {
return $this->getDocBaseUrl() . '/server/12/go.php?to=' . $key;
return $this->getDocBaseUrl() . '/server/15/go.php?to=' . $key;
} }





Loading…
Cancel
Save