1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00

Move whitespace to CSS

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1189 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-10-13 19:43:33 +00:00
parent 32d5b9ccb6
commit 50881f8942
4 changed files with 5 additions and 13 deletions

View File

@@ -212,9 +212,9 @@ if (!$columns) {
if (!strlen($val)) {
$val = " ";
} elseif (strlen($text_length) && ereg('text|blob', $field["type"]) && is_utf8($val)) {
$val = whitespace(shorten_utf8($val, max(0, intval($text_length)))); // usage of LEFT() would reduce traffic but complicate query
$val = shorten_utf8($val, max(0, intval($text_length))); // usage of LEFT() would reduce traffic but complicate query
} else {
$val = whitespace(h($val));
$val = h($val);
}
if (!$link) { // link related items