Browse files

The data dictionary is a print view page

  • Loading branch information...
1 parent 9fd9968 commit 0a087330fa262bb12aaf69b4d6ac03aa40f42006 @roccivic roccivic committed Dec 9, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 db_datadict.php
  2. +1 −1 libraries/structure.lib.php
View
3 db_datadict.php
@@ -15,6 +15,9 @@
include 'libraries/db_info.inc.php';
}
+$response = PMA_Response::getInstance();
+$header = $response->getHeader();
+$header->enablePrintView();
/**
* Gets the relations settings
View
2 libraries/structure.lib.php
@@ -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'),

0 comments on commit 0a08733

Please sign in to comment.