Fixed bug #720672 - moved headers

This commit is contained in:
Michal Čihař 2003-04-14 12:59:09 +00:00
parent 69511576d9
commit 870b321052
2 changed files with 4 additions and 3 deletions

View File

@ -22,6 +22,7 @@ $Source$
* lang/catalan: Updated, thanks to Xavier Navarro.
* footer.inc.php3: Fixed for quotes, HTML entities and other weird
characters in db/table name.
* libraries/display_tbl.lib.php3: Fixed bug #720672 - moved headers.
2003-04-14 Garvin Hicking <me@supergarv.de>
* libraries/common.lib.php3: Fixed SHOW TABLE STATUS LIKE ... FROM ...

View File

@ -485,7 +485,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
// ... before the result table
if (($is_display['edit_lnk'] == 'nn' && $is_display['del_lnk'] == 'nn')
&& $is_display['text_btn'] == '1') {
$vertical_display['emptypre'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 2 : 1;
$vertical_display['emptypre'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 2 : 0;
if ($disp_direction == 'horizontal' || $disp_direction == 'horizontalflipped') {
?>
<td colspan="<?php echo $fields_cnt; ?>" align="center">
@ -513,7 +513,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
// ... at the left column of the result table header if possible
// and required
else if ($GLOBALS['cfg']['ModifyDeleteAtLeft'] && $is_display['text_btn'] == '1') {
$vertical_display['emptypre'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 2 : 1;
$vertical_display['emptypre'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 2 : 0;
if ($disp_direction == 'horizontal' || $disp_direction == 'horizontalflipped') {
echo "\n";
?>
@ -534,7 +534,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
// ... else if no button, displays empty(ies) col(s) if required
else if ($GLOBALS['cfg']['ModifyDeleteAtLeft']
&& ($is_display['edit_lnk'] != 'nn' || $is_display['del_lnk'] != 'nn')) {
$vertical_display['emptypre'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 2 : 1;
$vertical_display['emptypre'] = ($is_display['edit_lnk'] != 'nn' && $is_display['del_lnk'] != 'nn') ? 2 : 0;
if ($disp_direction == 'horizontal' || $disp_direction == 'horizontalflipped') {
echo "\n";
?>