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
|
||||||
|
|
||||||
|
@@ -1068,12 +1068,9 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 1. Prepares the row (gets primary keys to use)
|
// 1. Prepares the row (gets primary keys to use)
|
||||||
if ($is_display['edit_lnk'] != 'nn' || $is_display['del_lnk'] != 'nn') {
|
|
||||||
// 1.1 Results from a "SELECT" statement -> builds the
|
// 1.1 Results from a "SELECT" statement -> builds the
|
||||||
// "primary" key to use in links
|
// "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));
|
$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)
|
// 1.2 Defines the urls for the modify/delete link(s)
|
||||||
$url_query = PMA_generate_common_url($db, $table)
|
$url_query = PMA_generate_common_url($db, $table)
|
||||||
@@ -1083,6 +1080,7 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql)
|
|||||||
. '&repeat_cells=' . $repeat_cells
|
. '&repeat_cells=' . $repeat_cells
|
||||||
. '&dontlimitchars=' . $dontlimitchars;
|
. '&dontlimitchars=' . $dontlimitchars;
|
||||||
|
|
||||||
|
if ($is_display['edit_lnk'] != 'nn' || $is_display['del_lnk'] != 'nn') {
|
||||||
// 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