diff options
Diffstat (limited to 'display.php')
| -rw-r--r-- | display.php | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/display.php b/display.php index 1a76d822..89bf92ac 100644 --- a/display.php +++ b/display.php @@ -815,8 +815,20 @@ $scripts .= "</script>\n"; // If a table is specified, then set the title differently - if (isset($_REQUEST['subject']) && isset($_REQUEST[$_REQUEST['subject']])) - $misc->printHeader($lang['strtables'], $scripts); + if (isset($_REQUEST['subject']) && isset($_REQUEST[$_REQUEST['subject']])) { + if ($_REQUEST['subject'] == 'table') { + $misc->printHeader( + $lang['strtables'].': '.$_REQUEST[$_REQUEST['subject']], + $scripts + ); + } + else if ($_REQUEST['subject'] == 'view') { + $misc->printHeader( + $lang['strviews'].': '.$_REQUEST[$_REQUEST['subject']], + $scripts + ); + } + } else $misc->printHeader($lang['strqueryresults']); |
