From dfc959fe83ced236c25195f26c14cc3538b53e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Tue, 21 Aug 2001 23:53:20 +0000 Subject: [PATCH] beautify a but the design of the table in browse mode --- lib.inc.php3 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib.inc.php3 b/lib.inc.php3 index 8ec9d58af..6802c1c2c 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -980,7 +980,7 @@ var errorMsg2 = ' - +
numeric == 1) { - echo ' ' . "\n"; + echo ' ' . "\n"; } else if ($GLOBALS['cfgShowBlob'] == FALSE && eregi('BLOB', $primary->type)) { // loic1 : mysql_fetch_fields returns BLOB in place of TEXT // fields type, however TEXT fields must be displayed even @@ -1182,21 +1182,21 @@ var errorMsg2 = 'table) . ' LIKE \'' . sql_addslashes($primary->name, TRUE) . '\'') or mysql_die(); $true_field_type = mysql_fetch_array($result_type); if (eregi('BLOB', $true_field_type['Type'])) { - echo ' ' . "\n"; + echo ' ' . "\n"; } else { if (strlen($row[$i]) > $GLOBALS['cfgLimitChars']) { $row[$i] = substr($row[$i], 0, $GLOBALS['cfgLimitChars']) . '...'; } // loic1 : displays / - // echo ' ' . "\n"; + // echo ' ' . "\n"; $row[$i] = ereg_replace("((\015\012)|(\015)|(\012))+", '
', htmlspecialchars($row[$i])); - echo ' ' . "\n"; + echo ' ' . "\n"; } } else { // loic1 : displays / - // echo ' ' . "\n"; + // echo ' ' . "\n"; $row[$i] = ereg_replace("((\015\012)|(\015)|(\012))+", '
', htmlspecialchars($row[$i])); - echo ' ' . "\n"; + echo ' ' . "\n"; } } // end for // Possibility to have the modify/delete button on the left added
 ' . $row[$i] . ' ' . $row[$i] . ' [BLOB] [BLOB] ' . htmlspecialchars($row[$i]) . ' ' . htmlspecialchars($row[$i]) . ' ' . $row[$i] . ' ' . $row[$i] . ' ' . htmlspecialchars($row[$i]) . ' ' . htmlspecialchars($row[$i]) . ' ' . $row[$i] . ' ' . $row[$i] . '