Skip to content

Commit

Permalink
Open "print view" pages in a separate window
Browse files Browse the repository at this point in the history
  • Loading branch information
roccivic committed Oct 30, 2012
1 parent 05bf283 commit fcc88e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libraries/DisplayResults.class.php
Expand Up @@ -5206,7 +5206,7 @@ private function _getResultsOperations($the_disp_mode, $analyzed_sql)
PMA_Util::getIcon(
'b_print.png', __('Print view'), true
),
'',
array('target' => 'print_view'),
true,
true,
'print_view'
Expand All @@ -5224,7 +5224,7 @@ private function _getResultsOperations($the_disp_mode, $analyzed_sql)
'b_print.png',
__('Print view (with full texts)'), true
),
'',
array('target' => 'print_view'),
true,
true,
'print_view'
Expand Down
4 changes: 2 additions & 2 deletions libraries/structure.lib.php
Expand Up @@ -359,7 +359,7 @@ function PMA_getHtmlForCheckTablesHavingOverheadlink($overhead_check)
function PMA_getHtmlForTablePrintViewLink($url_query)
{
return '<p>'
. '<a href="db_printview.php?' . $url_query . '">'
. '<a href="db_printview.php?' . $url_query . '" target="print_view">'
. PMA_Util::getIcon(
'b_print.png',
__('Print view'),
Expand Down Expand Up @@ -1485,7 +1485,7 @@ function PMA_getHtmlForEditView($url_params)
function PMA_getHtmlForOptionalActionLinks($url_query, $tbl_is_view,
$db_is_information_schema, $tbl_storage_engine, $cfgRelation
) {
$html_output = '<a href="tbl_printview.php?' . $url_query . '">'
$html_output = '<a href="tbl_printview.php?' . $url_query . '" target="print_view">'
. PMA_Util::getIcon('b_print.png', __('Print view'), true)
. '</a>';

Expand Down

0 comments on commit fcc88e1

Please sign in to comment.