Browse Source

Merge pull request #4649 from nextcloud/update-links-to-12

Update documentation go.php URL to 12
pull/4659/head
Lukas Reschke 9 years ago
committed by GitHub
parent
commit
d4217830c6
  1. 2
      lib/private/legacy/defaults.php
  2. 6
      themes/example/defaults.php

2
lib/private/legacy/defaults.php

@ -61,7 +61,7 @@ class OC_Defaults {
$this->defaultiTunesAppId = '1125420102'; $this->defaultiTunesAppId = '1125420102';
$this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.nextcloud.client'; $this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.nextcloud.client';
$this->defaultDocBaseUrl = 'https://docs.nextcloud.com'; $this->defaultDocBaseUrl = 'https://docs.nextcloud.com';
$this->defaultDocVersion = '11'; // used to generate doc links
$this->defaultDocVersion = '12'; // used to generate doc links
$this->defaultSlogan = $this->l->t('a safe home for all your data'); $this->defaultSlogan = $this->l->t('a safe home for all your data');
$this->defaultLogoClaim = ''; $this->defaultLogoClaim = '';
$this->defaultColorPrimary = '#0082c9'; $this->defaultColorPrimary = '#0082c9';

6
themes/example/defaults.php

@ -121,7 +121,7 @@ class OC_Theme {
* @return string short footer * @return string short footer
*/ */
public function getShortFooter() { public function getShortFooter() {
$footer = '© 2016 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
$footer = '© 2017 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
'<br/>' . $this->getSlogan(); '<br/>' . $this->getSlogan();
return $footer; return $footer;
@ -132,14 +132,14 @@ class OC_Theme {
* @return string long footer * @return string long footer
*/ */
public function getLongFooter() { public function getLongFooter() {
$footer = '© 2016 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
$footer = '© 2017 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
'<br/>' . $this->getSlogan(); '<br/>' . $this->getSlogan();
return $footer; return $footer;
} }
public function buildDocLinkToKey($key) { public function buildDocLinkToKey($key) {
return $this->getDocBaseUrl() . '/server/11/go.php?to=' . $key;
return $this->getDocBaseUrl() . '/server/12/go.php?to=' . $key;
} }

Loading…
Cancel
Save