diff --git a/adminer/lang/en.inc.php b/adminer/lang/en.inc.php index 89f5cd9ea..3b0fca1e1 100644 --- a/adminer/lang/en.inc.php +++ b/adminer/lang/en.inc.php @@ -8,4 +8,5 @@ '%d item(s) have been affected.' => array('%d item has been affected.', '%d items have been affected.'), '%d row(s) have been imported.' => array('%d row has been imported.', '%d rows have been imported.'), '%d e-mail(s) have been sent.' => array('%d e-mail has been sent.', '%d e-mails have been sent.'), + '%d in total' => '%d in total', ); diff --git a/adminer/select.inc.php b/adminer/select.inc.php index a166a16ae..aab2a6267 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -221,7 +221,7 @@ if ($val == "") { $val = " "; } elseif ($text_length != "" && ereg('text|blob', $field["type"]) && is_utf8($val)) { - $val = 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 - expected average speedup: .001 s VS .01 s on local network } else { $val = h($val); } diff --git a/todo.txt b/todo.txt index fd0cc1ba4..348b0e63e 100644 --- a/todo.txt +++ b/todo.txt @@ -10,6 +10,7 @@ Use event $intervals + microseconds in relative date functions Optionally check IP address Disable spell checking in SQL textareas - spellcheck="false" Blob download and image display in edit form (important for Editor with hidden fields in select) +Add title to Logout, edit (in select) and select (in menu) in style "hever" ? Column and table names auto-completition in SQL textarea ? Aliasing of built-in functions can save 7 KB, function minification can save 7 KB, substitution of repetitive $a["a"] can save 4 KB, substitution of $_GET and friends can save 2 KB, JS packer can save 1 KB, not enclosing HTML attribute values can save 1.2 KB, replacing \\n by \n can save .3 KB ? Branch binary_compile: LZW compression of translations can save 30 KB, LZW compression of all texts can save 11 KB, remove of base64_decode() + using chars 127-255 in minification can save 1 KB