From 40950edbab39b71eaa05ad40ac64fa0caf86b329 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sun, 12 Jun 2016 19:12:35 +0200 Subject: [PATCH 1/3] Revert "Remove "Help" link from personal sidebar" This reverts commit 34ad3f7ada1363b887b58f171ba1fd5ba71a3447. --- lib/private/app.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/private/app.php b/lib/private/app.php index a126b5b0495..5d0909de2a5 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -381,9 +381,7 @@ class OC_App { $settings = array(); // by default, settings only contain the help menu - /* - * FIXME: Add help sidebar back once documentation is properly branded. - * if (OC_Util::getEditionString() === '' && + if (OC_Util::getEditionString() === '' && \OC::$server->getSystemConfig()->getValue('knowledgebaseenabled', true) == true ) { $settings = array( @@ -395,7 +393,7 @@ class OC_App { "icon" => $urlGenerator->imagePath("settings", "help.svg") ) ); - }*/ + } // if the user is logged-in if (OC_User::isLoggedIn()) { From b60b0f558e1f7fa814fe2b7144c7ef37ab31ed79 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sun, 12 Jun 2016 19:15:31 +0200 Subject: [PATCH 2/3] Link to Nextcloud domains in the help section --- core/doc/admin/index.html | 2 +- core/doc/user/index.html | 4 ++-- settings/templates/help.php | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/doc/admin/index.html b/core/doc/admin/index.html index 7785f2ce2f1..a5c91e82219 100644 --- a/core/doc/admin/index.html +++ b/core/doc/admin/index.html @@ -1,2 +1,2 @@ Here goes the admin documentation. -In the meantime go to ownCloud.org/support +In the meantime go to docs.nextcloud.org diff --git a/core/doc/user/index.html b/core/doc/user/index.html index ede62f05aee..e2580fed4ab 100644 --- a/core/doc/user/index.html +++ b/core/doc/user/index.html @@ -1,2 +1,2 @@ -Here goes the user documentation -In the meantime go to ownCloud.org/support +Here goes the user documentation. +In the meantime go to docs.nextcloud.org diff --git a/settings/templates/help.php b/settings/templates/help.php index 79584aba84d..f248abc066c 100644 --- a/settings/templates/help.php +++ b/settings/templates/help.php @@ -16,19 +16,19 @@
  • - + t('Online documentation')); ?> ↗
  • - + t('Forum')); ?> ↗
  • - t('Issue tracker')); ?> ↗ @@ -36,7 +36,7 @@
  • - + t('Commercial support')); ?> ↗
  • From b4eefc00cdb8570b139683de68cf4e358806f699 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sun, 12 Jun 2016 19:19:46 +0200 Subject: [PATCH 3/3] Link to Nextcloud docs --- lib/private/defaults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/defaults.php b/lib/private/defaults.php index 7eee2dc75c7..3e31291c648 100644 --- a/lib/private/defaults.php +++ b/lib/private/defaults.php @@ -59,8 +59,8 @@ class OC_Defaults { $this->defaultiOSClientUrl = 'https://itunes.apple.com/us/app/owncloud/id543672169?mt=8'; $this->defaultiTunesAppId = '543672169'; $this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.owncloud.android'; - $this->defaultDocBaseUrl = 'https://doc.owncloud.org'; - $this->defaultDocVersion = $version[0] . '.' . $version[1]; // used to generate doc links + $this->defaultDocBaseUrl = 'https://docs.nextcloud.org'; + $this->defaultDocVersion = $version[0]; // used to generate doc links $this->defaultSlogan = $this->l->t('a safe home for all your data'); $this->defaultLogoClaim = ''; $this->defaultMailHeaderColor = '#0082c9'; /* header color of mail notifications */