bug #985399 MIME-based in print view / need to select the pk
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-11-06 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
|
* libraries/display_tbl.lib.php:
|
||||||
|
bug #985399 MIME-based in print view / need to select the pk
|
||||||
|
|
||||||
2005-11-06 Marc Delisle <lem9@users.sourceforge.net>
|
2005-11-06 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/norwegian: Update, thanks to Sven-Erik Andersen
|
* lang/norwegian: Update, thanks to Sven-Erik Andersen
|
||||||
|
|
||||||
|
@@ -1066,23 +1066,21 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql)
|
|||||||
<?php
|
<?php
|
||||||
echo "\n";
|
echo "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1. Prepares the row (gets primary keys to use)
|
// 1. Prepares the row (gets primary keys to use)
|
||||||
|
// 1.1 Results from a "SELECT" statement -> builds the
|
||||||
|
// "primary" key to use in links
|
||||||
|
$uva_condition = urlencode(PMA_getUvaCondition($dt_result, $fields_cnt, $fields_meta, $row));
|
||||||
|
|
||||||
|
// 1.2 Defines the urls for the modify/delete link(s)
|
||||||
|
$url_query = PMA_generate_common_url($db, $table)
|
||||||
|
. '&pos=' . $pos
|
||||||
|
. '&session_max_rows=' . $session_max_rows
|
||||||
|
. '&disp_direction=' . $disp_direction
|
||||||
|
. '&repeat_cells=' . $repeat_cells
|
||||||
|
. '&dontlimitchars=' . $dontlimitchars;
|
||||||
|
|
||||||
if ($is_display['edit_lnk'] != 'nn' || $is_display['del_lnk'] != 'nn') {
|
if ($is_display['edit_lnk'] != 'nn' || $is_display['del_lnk'] != 'nn') {
|
||||||
// 1.1 Results from a "SELECT" statement -> builds the
|
|
||||||
// "primary" key to use in links
|
|
||||||
if ($is_display['edit_lnk'] == 'ur' /* || $is_display['edit_lnk'] == 'dr' */) {
|
|
||||||
$uva_condition = urlencode(PMA_getUvaCondition($dt_result, $fields_cnt, $fields_meta, $row));
|
|
||||||
} // end if (1.1)
|
|
||||||
|
|
||||||
// 1.2 Defines the urls for the modify/delete link(s)
|
|
||||||
$url_query = PMA_generate_common_url($db, $table)
|
|
||||||
. '&pos=' . $pos
|
|
||||||
. '&session_max_rows=' . $session_max_rows
|
|
||||||
. '&disp_direction=' . $disp_direction
|
|
||||||
. '&repeat_cells=' . $repeat_cells
|
|
||||||
. '&dontlimitchars=' . $dontlimitchars;
|
|
||||||
|
|
||||||
// We need to copy the value or else the == 'both' check will always return true
|
// We need to copy the value or else the == 'both' check will always return true
|
||||||
$propicon = (string)$GLOBALS['cfg']['PropertiesIconic'];
|
$propicon = (string)$GLOBALS['cfg']['PropertiesIconic'];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user