diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-25 23:06:23 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-25 23:06:23 +0100 |
commit | 574883c47a45940f53a7603fb4e107cd7093a741 (patch) | |
tree | 855f465c3aff9b56314e38f5cd6cde15a4198717 /lib/private/defaults.php | |
parent | 7f7d674c2af4d4b9202cb55d5edf4965f92d3ab8 (diff) | |
download | nextcloud-server-574883c47a45940f53a7603fb4e107cd7093a741.tar.gz nextcloud-server-574883c47a45940f53a7603fb4e107cd7093a741.zip |
introduce new theme function to allow full creation of documentation links: buildDocLinkToKey()
Diffstat (limited to 'lib/private/defaults.php')
-rw-r--r-- | lib/private/defaults.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/defaults.php b/lib/private/defaults.php index 0b97497baa1..59630cda5c0 100644 --- a/lib/private/defaults.php +++ b/lib/private/defaults.php @@ -174,4 +174,11 @@ class OC_Defaults { return $footer; } + public function buildDocLinkToKey($key) { + if ($this->themeExist('buildDocLinkToKey')) { + return $this->theme->buildDocLinkToKey($key); + } + return $this->getDocBaseUrl() . '/server/6.0/go.php?to=' . $key; + } + } |