From 574883c47a45940f53a7603fb4e107cd7093a741 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Tue, 25 Feb 2014 23:06:23 +0100 Subject: introduce new theme function to allow full creation of documentation links: buildDocLinkToKey() --- lib/private/defaults.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/private/defaults.php') 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; + } + } -- cgit v1.2.3