The data dictionary is a print view page

This commit is contained in:
Rouslan Placella 2012-12-09 13:47:52 +00:00
parent 9fd9968e02
commit 0a087330fa
2 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,9 @@ if (! isset($selected_tbl)) {
include 'libraries/db_info.inc.php';
}
$response = PMA_Response::getInstance();
$header = $response->getHeader();
$header->enablePrintView();
/**
* Gets the relations settings

View File

@ -376,7 +376,7 @@ function PMA_getHtmlForTablePrintViewLink($url_query)
*/
function PMA_getHtmlForDataDictionaryLink($url_query)
{
return '<a href="db_datadict.php?' . $url_query . '">'
return '<a href="db_datadict.php?' . $url_query . '" target="print_view">'
. PMA_Util::getIcon(
'b_tblanalyse.png',
__('Data Dictionary'),