mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
- 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
This commit is contained in:
@@ -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 .= ' | <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>';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user