summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper/gui.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/extension/helper/gui.php')
-rw-r--r--lib/plugins/extension/helper/gui.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/plugins/extension/helper/gui.php b/lib/plugins/extension/helper/gui.php
index 7ad238af4..2c2a19bf8 100644
--- a/lib/plugins/extension/helper/gui.php
+++ b/lib/plugins/extension/helper/gui.php
@@ -168,9 +168,10 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin {
* @param string $tab tab to load, empty for current tab
* @param array $params associative array of parameter to set
* @param string $sep seperator to build the URL
+ * @param bool $absolute create absolute URLs?
* @return string
*/
- public function tabURL($tab = '', $params = array(), $sep = '&') {
+ public function tabURL($tab = '', $params = array(), $sep = '&', $absolute=false) {
global $ID;
global $INPUT;
@@ -181,7 +182,7 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin {
'tab' => $tab,
'q' => $INPUT->str('q')
);
- return wl($ID, array_merge($defaults, $params), false, $sep);
+ return wl($ID, array_merge($defaults, $params), $absolute, $sep);
}
}