From 604faaea4571e0611adc317bc47b4a1da51f620d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Thu, 11 Apr 2002 20:29:44 +0000 Subject: [PATCH] cosmetic change to allow better word wrapping --- ChangeLog | 6 +++++- libraries/display_tbl.lib.php3 | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 363c4300d..891398755 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,9 +5,13 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-04-11 Loïc Chapeaux + * libraries/display_tbl.lib.php3, line 957: cosmetic change to allow word + wrapping thanks to Adam Burley . + 2002-04-11 Alexander M. Turek * libraries/display_tbl.lib.php3, line 1293: fixed bug #542524 (Wrong - interval is displayed). Thanks to Matthias Schniedermeyer for his report + interval is displayed). Thanks to Matthias Schniedermeyer for his report. 2002-04-11 Marc Delisle * header.inc.php3, bug #540718, merge css patch thanks to Loïc diff --git a/libraries/display_tbl.lib.php3 b/libraries/display_tbl.lib.php3 index 1f3a08509..e331f3f86 100644 --- a/libraries/display_tbl.lib.php3 +++ b/libraries/display_tbl.lib.php3 @@ -989,7 +989,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){ // characters for tabulations and / else { $row[$pointer] = htmlspecialchars($row[$pointer]); - $row[$pointer] = str_replace("\011", '    ', str_replace(' ', ' ', $row[$pointer])); + $row[$pointer] = str_replace("\011", '    ', str_replace(' ', '  ', $row[$pointer])); $row[$pointer] = ereg_replace("((\015\012)|(\015)|(\012))", '
', $row[$pointer]); } $vertical_display['data'][$foo][$i] = ' '; @@ -1289,7 +1289,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){ } $last_shown_rec = ($GLOBALS['session_max_rows'] == 'all' || $pos_next > $total) ? $total - : $pos_next-1; + : $pos_next - 1; PMA_showMessage($GLOBALS['strShowingRecords'] . " $pos - $last_shown_rec ($total " . $GLOBALS['strTotal'] . $selectstring . ')'); } else { PMA_showMessage($GLOBALS['strSQLQuery']);