diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-04-23 14:23:22 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-04-23 14:23:22 +0000 |
commit | de4299c81c010c6382a3d017cde8f2c3c957b91f (patch) | |
tree | 0435da41b52907e1b6c0739773a12dc980a35017 /phpBB/includes/functions.php | |
parent | d6af193b53ac4a3b9dff78254f4da9f4cd5f9337 (diff) | |
download | forums-de4299c81c010c6382a3d017cde8f2c3c957b91f.tar forums-de4299c81c010c6382a3d017cde8f2c3c957b91f.tar.gz forums-de4299c81c010c6382a3d017cde8f2c3c957b91f.tar.bz2 forums-de4299c81c010c6382a3d017cde8f2c3c957b91f.tar.xz forums-de4299c81c010c6382a3d017cde8f2c3c957b91f.zip |
- build explain links a bit different...
- fix btn_ip reference (it is btn_info now)
- removed sql_report.css (we use the acp css)
- updated the sql report layout
git-svn-id: file:///svn/phpbb/trunk@5838 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 1fe1082ea5..699dd4c9f5 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2612,7 +2612,11 @@ function page_footer() } } - $debug_output .= ' | <a href="' . (($_SERVER['REQUEST_URI']) ? htmlspecialchars($_SERVER['REQUEST_URI']) : "index.$phpEx$SID") . ((strpos($_SERVER['REQUEST_URI'], '?') !== false) ? '&' : '?') . 'explain=1">Explain</a>'; + $explain_url = $phpbb_root_path . str_replace('&', '&', $user->page['page']); + $explain_url = (strpos($explain_url, '?') !== false) ? str_replace('?', $SID . '&', $explain_url) : $explain_url . '?' . str_replace('?', '', $SID); + $explain_url .= ((strpos($explain_url, '?') === false) ? '?' : '&') . 'explain=1'; + + $debug_output .= ' | <a href="' . $explain_url . '>Explain</a>'; } } |