From de4299c81c010c6382a3d017cde8f2c3c957b91f Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 23 Apr 2006 14:23:22 +0000 Subject: - 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 --- phpBB/adm/index.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'phpBB/adm/index.php') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 2120232759..5a36a9e03e 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -140,7 +140,8 @@ function adm_page_header($page_title) function adm_page_footer($copyright_html = true) { - global $db, $config, $template, $SID, $user, $auth, $starttime, $phpbb_root_path, $phpEx, $cache; + global $db, $config, $template, $user, $auth, $cache; + global $SID, $starttime, $phpbb_root_path, $phpbb_admin_path, $phpEx; // Output page creation time if (defined('DEBUG')) @@ -169,7 +170,11 @@ function adm_page_footer($copyright_html = true) } } - $debug_output .= ' | Explain'; + $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 .= ' | Explain'; } } -- cgit v1.2.1