Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-07-29 18:54:30 +0300
committerBjoern Schiessle <schiessle@owncloud.com>2015-07-29 19:07:04 +0300
commit8fb89056bd2f99b1df7dc7a3970fc293272c8ab6 (patch)
tree8f38f85f97de089a7d81bc4571630ba680fee5c6 /themes
parent3ef680d96623eb6350015843f56b55b593a053bd (diff)
make knowledge base url configurable
Diffstat (limited to 'themes')
-rw-r--r--themes/example/defaults.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/example/defaults.php b/themes/example/defaults.php
index 0dd0d46bd9c..21d80416e12 100644
--- a/themes/example/defaults.php
+++ b/themes/example/defaults.php
@@ -28,6 +28,7 @@ class OC_Theme {
private $themeSyncClientUrl;
private $themeSlogan;
private $themeMailHeaderColor;
+ private $themeKnowledgeBaseUrl;
/* put your custom text in these variables */
function __construct() {
@@ -39,6 +40,7 @@ class OC_Theme {
$this->themeSyncClientUrl = 'https://owncloud.org/install';
$this->themeSlogan = 'Your custom cloud, personalized for you!';
$this->themeMailHeaderColor = '#745bca';
+ $this->themeKnowledgeBaseUrl = 'https://doc.owncloud.org';
}
/* nothing after this needs to be adjusted */
@@ -92,4 +94,8 @@ class OC_Theme {
return $this->themeMailHeaderColor;
}
+ public function getKnowledgeBaseUrl() {
+ return $this->themeKnowledgeBaseUrl;
+ }
+
}