summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-07-29 17:54:30 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-07-29 18:07:04 +0200
commit8fb89056bd2f99b1df7dc7a3970fc293272c8ab6 (patch)
tree8f38f85f97de089a7d81bc4571630ba680fee5c6 /themes
parent3ef680d96623eb6350015843f56b55b593a053bd (diff)
downloadnextcloud-server-8fb89056bd2f99b1df7dc7a3970fc293272c8ab6.tar.gz
nextcloud-server-8fb89056bd2f99b1df7dc7a3970fc293272c8ab6.zip
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;
+ }
+
}