]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update documentation go.php URL to 12 4649/head
authorLukas Reschke <lukas@statuscode.ch>
Tue, 2 May 2017 06:17:59 +0000 (08:17 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Tue, 2 May 2017 06:17:59 +0000 (08:17 +0200)
Fixes https://github.com/nextcloud/server/issues/4646

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
lib/private/legacy/defaults.php
themes/example/defaults.php

index 7835707b19d66db08226161921a10edfa76ce2d7..cc4991efd3e1c7485c2852fd24b44b395a7570bf 100644 (file)
@@ -61,7 +61,7 @@ class OC_Defaults {
                $this->defaultiTunesAppId = '1125420102';
                $this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.nextcloud.client';
                $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->defaultLogoClaim = '';
                $this->defaultColorPrimary = '#0082c9';
index 6e0364a3dca0e16d6d410a46765f1c7e58d0292c..27d0cccaf607f77d79ac003c58fbc1e8f4b7b8c2 100644 (file)
@@ -121,7 +121,7 @@ class OC_Theme {
         * @return string short footer
         */
        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();
 
                return $footer;
@@ -132,14 +132,14 @@ class OC_Theme {
         * @return string long footer
         */
        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();
 
                return $footer;
        }
 
        public function buildDocLinkToKey($key) {
-               return $this->getDocBaseUrl() . '/server/11/go.php?to=' . $key;
+               return $this->getDocBaseUrl() . '/server/12/go.php?to=' . $key;
        }