bug 816658

This commit is contained in:
Marc Delisle
2003-10-02 18:36:02 +00:00
parent 5157f55862
commit f4ceff0e84
2 changed files with 27 additions and 20 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2003-10-02 Marc Delisle <lem9@users.sourceforge.net>
* libraries/grab_globals.lib.php3: bug 807047, protect POST variables
against cookies of the same name
* libraries/display_tbl.lib.php3: bug 816658, the multi-row delete
icon should not be displayed in all cases
2003-10-01 Marc Delisle <lem9@users.sourceforge.net>
* lang/slovenian update, thanks to Kositer Uros

View File

@@ -588,8 +588,10 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
// Start of form for multi-rows delete
if ($is_display['del_lnk'] == 'dr') {
echo '<form method="post" action="tbl_row_delete.php3" name="rowsDeleteForm">' . "\n";
echo PMA_generate_common_hidden_inputs($db, $table, 1);
}
// 1. Displays the full/partial text button (part 1)...
if ($disp_direction == 'horizontal' || $disp_direction == 'horizontalflipped') {
@@ -1775,6 +1777,8 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
// 4. ----- Displays the link for multi-fields delete
if ($is_display['del_lnk'] == 'dr') {
$propicon = (string)$GLOBALS['cfg']['PropertiesIconic'];
// echo '&nbsp;&nbsp;&nbsp;<img src="./images/arrow_' . $GLOBALS['text_dir'] . '.gif" border="0" width="38" height="22" alt="' . $GLOBALS['strWithChecked'] . '" />';
@@ -1799,6 +1803,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
echo '<input type="hidden" name="url_query" value="' . $GLOBALS['url_query'] . '" />' . "\n";
echo '<br />' . "\n";
echo '</form>' . "\n";
}
// 5. ----- Displays the navigation bar at the bottom if required -----