diff --git a/ChangeLog b/ChangeLog index f14d278eaf..9310dd0a4c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,11 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-08-30 Olivier Müller + * lib.inc.php3: now calls show_table_navigation() even if + $SelectNumRows is = 1. + * lang/*: added $strFullStrings and $strCuttedStrings + 2001-08-30 Loïc Chapeaux * lib.inc.php3: fits to coding standards. diff --git a/lang/brazilian_portuguese.inc.php3 b/lang/brazilian_portuguese.inc.php3 index fe5173c786..f5bb8861a2 100644 --- a/lang/brazilian_portuguese.inc.php3 +++ b/lang/brazilian_portuguese.inc.php3 @@ -305,4 +305,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/bulgarian-win1251.inc.php3 b/lang/bulgarian-win1251.inc.php3 index c1cab64cf1..a9cc94f00f 100644 --- a/lang/bulgarian-win1251.inc.php3 +++ b/lang/bulgarian-win1251.inc.php3 @@ -305,4 +305,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/catala.inc.php3 b/lang/catala.inc.php3 index 1d5c617366..c5a38209d4 100644 --- a/lang/catala.inc.php3 +++ b/lang/catala.inc.php3 @@ -300,4 +300,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/chinese_big5.inc.php3 b/lang/chinese_big5.inc.php3 index 5f25ee5aae..51ba54f411 100644 --- a/lang/chinese_big5.inc.php3 +++ b/lang/chinese_big5.inc.php3 @@ -301,4 +301,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = ' Use backquotes with tables and fields names '; //to translate $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/chinese_gb.inc.php3 b/lang/chinese_gb.inc.php3 index a2d4047c29..d049859abe 100644 --- a/lang/chinese_gb.inc.php3 +++ b/lang/chinese_gb.inc.php3 @@ -305,4 +305,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/czech-iso.inc.php3 b/lang/czech-iso.inc.php3 index 9c10a0a0cb..29c4810f6b 100644 --- a/lang/czech-iso.inc.php3 +++ b/lang/czech-iso.inc.php3 @@ -300,4 +300,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/czech-win1250.inc.php3 b/lang/czech-win1250.inc.php3 index d1ed5d2b1a..6d7bdabe3b 100644 --- a/lang/czech-win1250.inc.php3 +++ b/lang/czech-win1250.inc.php3 @@ -301,4 +301,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/danish.inc.php3 b/lang/danish.inc.php3 index 4bb96eba5f..347ec3cd69 100644 --- a/lang/danish.inc.php3 +++ b/lang/danish.inc.php3 @@ -300,4 +300,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/dutch.inc.php3 b/lang/dutch.inc.php3 index 591cdf3c25..e0ca126197 100644 --- a/lang/dutch.inc.php3 +++ b/lang/dutch.inc.php3 @@ -300,4 +300,6 @@ $strGzip = '"gzipped"'; $strNoDropDatabases = '"DROP DATABASE" statements are disabled.'; $strOffSet = 'offset'; $strUseBackquotes = 'Use backquotes with tables and fields\' names'; +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/english.inc.php3 b/lang/english.inc.php3 index 59f934bee2..49ee8b0df6 100644 --- a/lang/english.inc.php3 +++ b/lang/english.inc.php3 @@ -298,4 +298,6 @@ $strWelcome = 'Welcome to '; $strWrongUser = 'Wrong username/password. Access denied.'; $strYes = 'Yes'; +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/french.inc.php3 b/lang/french.inc.php3 index 48d64f8dac..0f8a1c4712 100644 --- a/lang/french.inc.php3 +++ b/lang/french.inc.php3 @@ -298,4 +298,6 @@ $strWelcome = 'Bienvenue $strWrongUser = 'Erreur d\'utilisateur/mot de passe. Accès refusé'; $strYes = 'Oui'; +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/galician.inc.php3 b/lang/galician.inc.php3 index 62e72cb1ad..aa5ec0477d 100644 --- a/lang/galician.inc.php3 +++ b/lang/galician.inc.php3 @@ -299,4 +299,6 @@ $strSort = 'Sort'; // To translate $strStrucExcelCSV = 'CSV for Ms Excel data'; // To translate $strTables = '%s table(s)'; // To translate $strUpdateQuery = 'Update Query'; // To translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/german.inc.php3 b/lang/german.inc.php3 index b922163f72..65c42b8597 100644 --- a/lang/german.inc.php3 +++ b/lang/german.inc.php3 @@ -299,4 +299,6 @@ $strWrongUser = 'Falscher Benutzername/Passwort. Zugriff verweigert.'; $strYes = 'Ja'; +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/italian.inc.php3 b/lang/italian.inc.php3 index 1ffb9bd55d..19411eb949 100644 --- a/lang/italian.inc.php3 +++ b/lang/italian.inc.php3 @@ -300,4 +300,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/japanese.inc.php3 b/lang/japanese.inc.php3 index ee9fd310f0..fafee0a454 100644 --- a/lang/japanese.inc.php3 +++ b/lang/japanese.inc.php3 @@ -304,4 +304,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/korean.inc.php3 b/lang/korean.inc.php3 index 162a081785..d8489b434e 100644 --- a/lang/korean.inc.php3 +++ b/lang/korean.inc.php3 @@ -304,4 +304,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/norwegian.inc.php3 b/lang/norwegian.inc.php3 index a12a0a4c4e..48befe4e6d 100644 --- a/lang/norwegian.inc.php3 +++ b/lang/norwegian.inc.php3 @@ -304,4 +304,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/polish.inc.php3 b/lang/polish.inc.php3 index c832755282..efaf440435 100644 --- a/lang/polish.inc.php3 +++ b/lang/polish.inc.php3 @@ -299,4 +299,6 @@ $strYes = 'Tak'; // To translate $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/portuguese.inc.php3 b/lang/portuguese.inc.php3 index 9d9ac1b8c7..ec800832cc 100644 --- a/lang/portuguese.inc.php3 +++ b/lang/portuguese.inc.php3 @@ -304,4 +304,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/romanian.inc.php3 b/lang/romanian.inc.php3 index 4d4876b6fd..7267c1e798 100644 --- a/lang/romanian.inc.php3 +++ b/lang/romanian.inc.php3 @@ -298,4 +298,6 @@ $strWelcome = 'Bun venit la '; $strWrongUser = 'Nume de utilizator/Parola incorecta. Accesul interzis.'; $strYes = 'Da'; +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/russian-koi8.inc.php3 b/lang/russian-koi8.inc.php3 index 82e19d175c..15479e5290 100644 --- a/lang/russian-koi8.inc.php3 +++ b/lang/russian-koi8.inc.php3 @@ -300,4 +300,6 @@ $strStrucExcelCSV = 'CSV for Ms Excel data'; $strTables = '%s table(s)'; //to translate $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/russian-win1251.inc.php3 b/lang/russian-win1251.inc.php3 index 5177defe06..22b308019b 100644 --- a/lang/russian-win1251.inc.php3 +++ b/lang/russian-win1251.inc.php3 @@ -300,4 +300,6 @@ $strStrucExcelCSV = 'CSV for Ms Excel data'; $strTables = '%s table(s)'; //to translate $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/slovak-iso.inc.php3 b/lang/slovak-iso.inc.php3 index 22acb6a833..2d72831ff9 100644 --- a/lang/slovak-iso.inc.php3 +++ b/lang/slovak-iso.inc.php3 @@ -301,4 +301,6 @@ $strStrucExcelCSV = 'CSV for Ms Excel data'; $strTables = '%s table(s)'; //to translate $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/spanish.inc.php3 b/lang/spanish.inc.php3 index 70c981f0d2..2af8e89c6e 100644 --- a/lang/spanish.inc.php3 +++ b/lang/spanish.inc.php3 @@ -300,4 +300,6 @@ $strBzip = '"bzipped"'; //to translate $strGzip = '"gzipped"'; //to translate $strOffSet = 'offset'; //to translate $strStrucExcelCSV = 'CSV for Ms Excel data'; +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/swedish.inc.php3 b/lang/swedish.inc.php3 index d0ba8cb289..45e4704a40 100644 --- a/lang/swedish.inc.php3 +++ b/lang/swedish.inc.php3 @@ -298,4 +298,6 @@ $strWelcome = 'V $strWrongUser = 'Fel användarnamn/lösenord. Åtkomst nekad.'; $strYes = 'Ja'; +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lang/thai.inc.php3 b/lang/thai.inc.php3 index 2b0943fc3c..e302aa9749 100644 --- a/lang/thai.inc.php3 +++ b/lang/thai.inc.php3 @@ -305,4 +305,6 @@ $strTables = '%s table(s)'; //to translate $strUseBackquotes = 'Use backquotes with tables and fields\' names'; $strServerChoice = 'Server Choice';//to translate $strPmaDocumentation = 'phpMyAdmin Documentation';//to translate +$strFullStrings = 'Full Strings';//to translate +$strCuttedStrings = 'Cutted Strings';//to translate ?> diff --git a/lib.inc.php3 b/lib.inc.php3 index 54d1b514fd..53ac009685 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -980,8 +980,8 @@ var errorMsg2 = 'table; } mysql_field_seek($dt_result, 0); - if (!$is_simple - && (!isset($SelectNumRows) || $SelectNumRows > 1)) { + if (!$is_simple) { + // && (!isset($SelectNumRows) || $SelectNumRows > 1)) { show_table_navigation($pos_next, $pos_prev, $dt_result); } else { echo "\n" . '

' . "\n"; @@ -1253,8 +1253,8 @@ var errorMsg2 = ' 1)) { + if (!$is_simple) { + // && (!isset($SelectNumRows) || $SelectNumRows > 1)) { show_table_navigation($pos_next, $pos_prev, $dt_result); } else { echo "\n" . '
' . "\n";