diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-10 11:11:14 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-10 11:11:14 +0200 |
commit | 32fdfac2cd446733436dc1b344d7f73b78655cb1 (patch) | |
tree | 40272ed6281f95990066fd487ba594937f9e2252 /lib/plugins/extension/helper/gui.php | |
parent | df7751c6c456e0107b11d547c159266b470470d9 (diff) | |
download | rpg-32fdfac2cd446733436dc1b344d7f73b78655cb1.tar.gz rpg-32fdfac2cd446733436dc1b344d7f73b78655cb1.tar.bz2 |
changed exception handling, redirect after post actions
Diffstat (limited to 'lib/plugins/extension/helper/gui.php')
-rw-r--r-- | lib/plugins/extension/helper/gui.php | 5 |
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); } } |