sorry, the are needed, otherwise netscape doesn't display the background of empty cells
This commit is contained in:
10
lib.inc.php3
10
lib.inc.php3
@@ -1203,7 +1203,7 @@ var errorMsg2 = '<?php echo(str_replace('\'', '\\\'', $GLOBALS['strNotValidNumbe
|
|||||||
}
|
}
|
||||||
$primary = mysql_fetch_field($dt_result, $i);
|
$primary = mysql_fetch_field($dt_result, $i);
|
||||||
if ($primary->numeric == 1) {
|
if ($primary->numeric == 1) {
|
||||||
echo ' <td align="right">' . $row[$i] . '</td>' . "\n";
|
echo ' <td align="right">' . $row[$i] . ' </td>' . "\n";
|
||||||
} else if ($GLOBALS['cfgShowBlob'] == FALSE && eregi('BLOB', $primary->type)) {
|
} else if ($GLOBALS['cfgShowBlob'] == FALSE && eregi('BLOB', $primary->type)) {
|
||||||
// loic1 : mysql_fetch_fields returns BLOB in place of TEXT
|
// loic1 : mysql_fetch_fields returns BLOB in place of TEXT
|
||||||
// fields type, however TEXT fields must be displayed even
|
// fields type, however TEXT fields must be displayed even
|
||||||
@@ -1219,15 +1219,15 @@ var errorMsg2 = '<?php echo(str_replace('\'', '\\\'', $GLOBALS['strNotValidNumbe
|
|||||||
$row[$i] = substr($row[$i], 0, $GLOBALS['cfgLimitChars']) . '...';
|
$row[$i] = substr($row[$i], 0, $GLOBALS['cfgLimitChars']) . '...';
|
||||||
}
|
}
|
||||||
// loic1 : displays <cr>/<lf>
|
// loic1 : displays <cr>/<lf>
|
||||||
// echo ' <td>' . htmlspecialchars($row[$i]) . '</td>' . "\n";
|
// echo ' <td>' . htmlspecialchars($row[$i]) . ' </td>' . "\n";
|
||||||
$row[$i] = ereg_replace("((\015\012)|(\015)|(\012))+", '<br />', htmlspecialchars($row[$i]));
|
$row[$i] = ereg_replace("((\015\012)|(\015)|(\012))+", '<br />', htmlspecialchars($row[$i]));
|
||||||
echo ' <td>' . $row[$i] . '</td>' . "\n";
|
echo ' <td>' . $row[$i] . ' </td>' . "\n";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// loic1 : displays <cr>/<lf>
|
// loic1 : displays <cr>/<lf>
|
||||||
// echo ' <td>' . htmlspecialchars($row[$i]) . '</td>' . "\n";
|
// echo ' <td>' . htmlspecialchars($row[$i]) . ' </td>' . "\n";
|
||||||
$row[$i] = ereg_replace("((\015\012)|(\015)|(\012))+", '<br />', htmlspecialchars($row[$i]));
|
$row[$i] = ereg_replace("((\015\012)|(\015)|(\012))+", '<br />', htmlspecialchars($row[$i]));
|
||||||
echo ' <td>' . $row[$i] . '</td>' . "\n";
|
echo ' <td>' . $row[$i] . ' </td>' . "\n";
|
||||||
}
|
}
|
||||||
} // end for
|
} // end for
|
||||||
// Possibility to have the modify/delete button on the left added
|
// Possibility to have the modify/delete button on the left added
|
||||||
|
Reference in New Issue
Block a user