diff --git a/ChangeLog b/ChangeLog index 5a5c6ff53..c3cd33ae7 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,11 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-03-09 Marc Delisle + * libraries/common.lib.php, libraries/display*, lang/*: + bug 887933: avoid generating a nested form, and show a warning + when user should define a primary key to get the Edit and Delete links + 2004-03-09 Michal Cihar * libraries/dbi/mysql.dbi.lib.php: Remove possible double charset conversion. diff --git a/lang/afrikaans-iso-8859-1.inc.php b/lang/afrikaans-iso-8859-1.inc.php index bf03d257d..e706c5fea 100644 --- a/lang/afrikaans-iso-8859-1.inc.php +++ b/lang/afrikaans-iso-8859-1.inc.php @@ -737,4 +737,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/afrikaans-utf-8.inc.php b/lang/afrikaans-utf-8.inc.php index 8b81372df..dd303b3b6 100644 --- a/lang/afrikaans-utf-8.inc.php +++ b/lang/afrikaans-utf-8.inc.php @@ -738,4 +738,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/albanian-iso-8859-1.inc.php b/lang/albanian-iso-8859-1.inc.php index c129d1a54..caf6dfbf3 100644 --- a/lang/albanian-iso-8859-1.inc.php +++ b/lang/albanian-iso-8859-1.inc.php @@ -730,4 +730,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/albanian-utf-8.inc.php b/lang/albanian-utf-8.inc.php index 7e77f966f..6179863c8 100644 --- a/lang/albanian-utf-8.inc.php +++ b/lang/albanian-utf-8.inc.php @@ -731,4 +731,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/arabic-utf-8.inc.php b/lang/arabic-utf-8.inc.php index c24a402a5..25cbbecb5 100644 --- a/lang/arabic-utf-8.inc.php +++ b/lang/arabic-utf-8.inc.php @@ -732,4 +732,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/arabic-windows-1256.inc.php b/lang/arabic-windows-1256.inc.php index e30c59811..1e71ad4b9 100644 --- a/lang/arabic-windows-1256.inc.php +++ b/lang/arabic-windows-1256.inc.php @@ -731,4 +731,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/azerbaijani-iso-8859-9.inc.php b/lang/azerbaijani-iso-8859-9.inc.php index 3c1593397..0a1b9155a 100644 --- a/lang/azerbaijani-iso-8859-9.inc.php +++ b/lang/azerbaijani-iso-8859-9.inc.php @@ -726,4 +726,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/azerbaijani-utf-8.inc.php b/lang/azerbaijani-utf-8.inc.php index 59ef571fb..5c712b43a 100644 --- a/lang/azerbaijani-utf-8.inc.php +++ b/lang/azerbaijani-utf-8.inc.php @@ -727,4 +727,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/basque-iso-8859-1.inc.php b/lang/basque-iso-8859-1.inc.php index e5faf52db..1a57e1697 100644 --- a/lang/basque-iso-8859-1.inc.php +++ b/lang/basque-iso-8859-1.inc.php @@ -729,4 +729,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/basque-utf-8.inc.php b/lang/basque-utf-8.inc.php index 3ccd3a250..79c1f2ae4 100644 --- a/lang/basque-utf-8.inc.php +++ b/lang/basque-utf-8.inc.php @@ -730,4 +730,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/bosnian-utf-8.inc.php b/lang/bosnian-utf-8.inc.php index e3678c215..2e676bed4 100644 --- a/lang/bosnian-utf-8.inc.php +++ b/lang/bosnian-utf-8.inc.php @@ -736,4 +736,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/bosnian-windows-1250.inc.php b/lang/bosnian-windows-1250.inc.php index 095143c8e..98a1868e4 100644 --- a/lang/bosnian-windows-1250.inc.php +++ b/lang/bosnian-windows-1250.inc.php @@ -735,4 +735,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/brazilian_portuguese-iso-8859-1.inc.php b/lang/brazilian_portuguese-iso-8859-1.inc.php index 8f1178045..3155dcabe 100644 --- a/lang/brazilian_portuguese-iso-8859-1.inc.php +++ b/lang/brazilian_portuguese-iso-8859-1.inc.php @@ -751,4 +751,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/brazilian_portuguese-utf-8.inc.php b/lang/brazilian_portuguese-utf-8.inc.php index 8435f6fb5..c99803bdf 100644 --- a/lang/brazilian_portuguese-utf-8.inc.php +++ b/lang/brazilian_portuguese-utf-8.inc.php @@ -752,4 +752,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/bulgarian-koi8-r.inc.php b/lang/bulgarian-koi8-r.inc.php index 2aff0bff4..64317511b 100644 --- a/lang/bulgarian-koi8-r.inc.php +++ b/lang/bulgarian-koi8-r.inc.php @@ -734,4 +734,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/bulgarian-utf-8.inc.php b/lang/bulgarian-utf-8.inc.php index 6cbe6f194..9a0d7bea7 100644 --- a/lang/bulgarian-utf-8.inc.php +++ b/lang/bulgarian-utf-8.inc.php @@ -735,4 +735,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/bulgarian-windows-1251.inc.php b/lang/bulgarian-windows-1251.inc.php index 13c0fb7c5..7471a1ac6 100644 --- a/lang/bulgarian-windows-1251.inc.php +++ b/lang/bulgarian-windows-1251.inc.php @@ -734,4 +734,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/catalan-iso-8859-1.inc.php b/lang/catalan-iso-8859-1.inc.php index de8152ead..e83189959 100644 --- a/lang/catalan-iso-8859-1.inc.php +++ b/lang/catalan-iso-8859-1.inc.php @@ -722,4 +722,5 @@ $strZeroRemovesTheLimit = 'Nota: Establint aquestes opcions a 0 (zero) treu el l $strZip = '"comprimit amb zip"'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/catalan-utf-8.inc.php b/lang/catalan-utf-8.inc.php index 527fe0472..9ecce3443 100644 --- a/lang/catalan-utf-8.inc.php +++ b/lang/catalan-utf-8.inc.php @@ -723,4 +723,5 @@ $strZeroRemovesTheLimit = 'Nota: Establint aquestes opcions a 0 (zero) treu el l $strZip = '"comprimit amb zip"'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/chinese_big5-utf-8.inc.php b/lang/chinese_big5-utf-8.inc.php index 88d3543cb..bf199066c 100644 --- a/lang/chinese_big5-utf-8.inc.php +++ b/lang/chinese_big5-utf-8.inc.php @@ -729,4 +729,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/chinese_big5.inc.php b/lang/chinese_big5.inc.php index 6579dfb27..d6e43cd8a 100644 --- a/lang/chinese_big5.inc.php +++ b/lang/chinese_big5.inc.php @@ -728,4 +728,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/chinese_gb-utf-8.inc.php b/lang/chinese_gb-utf-8.inc.php index 9353eec3e..89a240d12 100644 --- a/lang/chinese_gb-utf-8.inc.php +++ b/lang/chinese_gb-utf-8.inc.php @@ -729,4 +729,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/chinese_gb.inc.php b/lang/chinese_gb.inc.php index 6da526801..979bd248b 100644 --- a/lang/chinese_gb.inc.php +++ b/lang/chinese_gb.inc.php @@ -728,4 +728,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/croatian-iso-8859-2.inc.php b/lang/croatian-iso-8859-2.inc.php index 7ba98dae8..a718360b0 100644 --- a/lang/croatian-iso-8859-2.inc.php +++ b/lang/croatian-iso-8859-2.inc.php @@ -750,4 +750,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/croatian-utf-8.inc.php b/lang/croatian-utf-8.inc.php index c5715e6ac..d69ae8f6e 100644 --- a/lang/croatian-utf-8.inc.php +++ b/lang/croatian-utf-8.inc.php @@ -751,4 +751,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/croatian-windows-1250.inc.php b/lang/croatian-windows-1250.inc.php index 1b66010f4..94e336c4e 100644 --- a/lang/croatian-windows-1250.inc.php +++ b/lang/croatian-windows-1250.inc.php @@ -750,4 +750,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/czech-iso-8859-2.inc.php b/lang/czech-iso-8859-2.inc.php index 93d71e372..9ff4c1534 100644 --- a/lang/czech-iso-8859-2.inc.php +++ b/lang/czech-iso-8859-2.inc.php @@ -728,4 +728,5 @@ $strYes = 'Ano'; $strZeroRemovesTheLimit = 'Poznmka: Nastaven tchto parametr na 0 (nulu) odstran omezen.'; $strZip = '"zazipovno"'; +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/czech-utf-8.inc.php b/lang/czech-utf-8.inc.php index 71dc36ae4..0f99b3d05 100644 --- a/lang/czech-utf-8.inc.php +++ b/lang/czech-utf-8.inc.php @@ -729,4 +729,5 @@ $strYes = 'Ano'; $strZeroRemovesTheLimit = 'Poznámka: Nastavení těchto parametrů na 0 (nulu) odstraní omezení.'; $strZip = '"zazipováno"'; +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/czech-windows-1250.inc.php b/lang/czech-windows-1250.inc.php index 44d587e8a..c2c200f16 100644 --- a/lang/czech-windows-1250.inc.php +++ b/lang/czech-windows-1250.inc.php @@ -728,4 +728,5 @@ $strYes = 'Ano'; $strZeroRemovesTheLimit = 'Poznmka: Nastaven tchto parametr na 0 (nulu) odstran omezen.'; $strZip = '"zazipovno"'; +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/danish-iso-8859-1.inc.php b/lang/danish-iso-8859-1.inc.php index 83b88a31c..06523997f 100644 --- a/lang/danish-iso-8859-1.inc.php +++ b/lang/danish-iso-8859-1.inc.php @@ -726,4 +726,5 @@ $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/danish-utf-8.inc.php b/lang/danish-utf-8.inc.php index 133ce6a8b..80e015e5f 100644 --- a/lang/danish-utf-8.inc.php +++ b/lang/danish-utf-8.inc.php @@ -727,4 +727,5 @@ $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/dutch-iso-8859-1.inc.php b/lang/dutch-iso-8859-1.inc.php index ad366de5a..263ff1585 100644 --- a/lang/dutch-iso-8859-1.inc.php +++ b/lang/dutch-iso-8859-1.inc.php @@ -729,4 +729,5 @@ $strZip = '"Gezipt"'; $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/dutch-utf-8.inc.php b/lang/dutch-utf-8.inc.php index d18e000db..a43926a97 100644 --- a/lang/dutch-utf-8.inc.php +++ b/lang/dutch-utf-8.inc.php @@ -730,4 +730,5 @@ $strZip = '"Gezipt"'; $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/english-iso-8859-1.inc.php b/lang/english-iso-8859-1.inc.php index c24620b68..aef41bb98 100644 --- a/lang/english-iso-8859-1.inc.php +++ b/lang/english-iso-8859-1.inc.php @@ -719,7 +719,8 @@ $strZip = '"zipped"'; $strTransformation_application_octetstream__download = 'Display a link to download the binary data of a field. First option is the filename of the binary file. Second option is a possible fieldname of a table row containing the filename. If you provide a second option you need to have the first option set to an empty string'; //to translate $strMaximumSize = 'Max: %s%s'; -$strConnectionError = 'Cannot connect: invalid settings.'; //to translate +$strConnectionError = 'Cannot connect: invalid settings.'; $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; -$strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; +$strNeedPrimaryKey = 'You should define a primary key for this table.'; ?> diff --git a/lang/english-utf-8.inc.php b/lang/english-utf-8.inc.php index 3fdd60da1..9d8528e7d 100644 --- a/lang/english-utf-8.inc.php +++ b/lang/english-utf-8.inc.php @@ -723,4 +723,5 @@ $strMaximumSize = 'Max: %s%s'; $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/estonian-iso-8859-1.inc.php b/lang/estonian-iso-8859-1.inc.php index cfab2e8be..8a3787e05 100644 --- a/lang/estonian-iso-8859-1.inc.php +++ b/lang/estonian-iso-8859-1.inc.php @@ -722,4 +722,5 @@ $strZeroRemovesTheLimit = 'M $strZip = '"zipitud"'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/estonian-utf-8.inc.php b/lang/estonian-utf-8.inc.php index f552a8b75..43c46f9a7 100644 --- a/lang/estonian-utf-8.inc.php +++ b/lang/estonian-utf-8.inc.php @@ -723,4 +723,5 @@ $strZeroRemovesTheLimit = 'Märkus: Märkides antud seaded 0 (null) , eemaldate $strZip = '"zipitud"'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/finnish-iso-8859-1.inc.php b/lang/finnish-iso-8859-1.inc.php index 72ecdf05a..59a2f739d 100644 --- a/lang/finnish-iso-8859-1.inc.php +++ b/lang/finnish-iso-8859-1.inc.php @@ -747,4 +747,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/finnish-utf-8.inc.php b/lang/finnish-utf-8.inc.php index 3b4e85d51..af2f5661d 100644 --- a/lang/finnish-utf-8.inc.php +++ b/lang/finnish-utf-8.inc.php @@ -748,4 +748,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/french-iso-8859-1.inc.php b/lang/french-iso-8859-1.inc.php index 9e2bc5587..8936e2ce1 100644 --- a/lang/french-iso-8859-1.inc.php +++ b/lang/french-iso-8859-1.inc.php @@ -727,4 +727,5 @@ $strTransformation_application_octetstream__download = 'Display a link to downlo $strDropDatabaseStrongWarning = 'Vous tes sur le point de DTRUIRE une base de donnes!'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/french-utf-8.inc.php b/lang/french-utf-8.inc.php index 7b7049c52..b73b569e9 100644 --- a/lang/french-utf-8.inc.php +++ b/lang/french-utf-8.inc.php @@ -728,4 +728,5 @@ $strTransformation_application_octetstream__download = 'Display a link to downlo $strDropDatabaseStrongWarning = 'Vous êtes sur le point de DÉTRUIRE une base de données!'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/galician-iso-8859-1.inc.php b/lang/galician-iso-8859-1.inc.php index 28aa78575..0d6891632 100644 --- a/lang/galician-iso-8859-1.inc.php +++ b/lang/galician-iso-8859-1.inc.php @@ -729,4 +729,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/galician-utf-8.inc.php b/lang/galician-utf-8.inc.php index 05cb9b659..750ce0cc2 100644 --- a/lang/galician-utf-8.inc.php +++ b/lang/galician-utf-8.inc.php @@ -730,4 +730,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/georgian-utf-8.inc.php b/lang/georgian-utf-8.inc.php index 03488ab08..003bfaab4 100644 --- a/lang/georgian-utf-8.inc.php +++ b/lang/georgian-utf-8.inc.php @@ -751,4 +751,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/german-iso-8859-1.inc.php b/lang/german-iso-8859-1.inc.php index 5a2b49904..ffaa87e7d 100644 --- a/lang/german-iso-8859-1.inc.php +++ b/lang/german-iso-8859-1.inc.php @@ -730,4 +730,5 @@ $strZeroRemovesTheLimit = 'Anmerkung: Der Wert 0 (null) entfernt die Beschr $strZip = 'Zip-komprimiert'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/german-utf-8.inc.php b/lang/german-utf-8.inc.php index db6a0fc28..9115fc1cd 100644 --- a/lang/german-utf-8.inc.php +++ b/lang/german-utf-8.inc.php @@ -731,4 +731,5 @@ $strZeroRemovesTheLimit = 'Anmerkung: Der Wert 0 (null) entfernt die Beschränku $strZip = 'Zip-komprimiert'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/greek-iso-8859-7.inc.php b/lang/greek-iso-8859-7.inc.php index d6b9815c3..4681825df 100644 --- a/lang/greek-iso-8859-7.inc.php +++ b/lang/greek-iso-8859-7.inc.php @@ -731,4 +731,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/greek-utf-8.inc.php b/lang/greek-utf-8.inc.php index 7fc993821..5f48e3e1f 100644 --- a/lang/greek-utf-8.inc.php +++ b/lang/greek-utf-8.inc.php @@ -732,4 +732,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/hebrew-iso-8859-8-i.inc.php b/lang/hebrew-iso-8859-8-i.inc.php index c71398d3c..a20744a08 100644 --- a/lang/hebrew-iso-8859-8-i.inc.php +++ b/lang/hebrew-iso-8859-8-i.inc.php @@ -747,4 +747,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/hindi-utf-8.inc.php b/lang/hindi-utf-8.inc.php index 94957ae13..635aacabf 100644 --- a/lang/hindi-utf-8.inc.php +++ b/lang/hindi-utf-8.inc.php @@ -755,4 +755,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/hungarian-iso-8859-2.inc.php b/lang/hungarian-iso-8859-2.inc.php index 31f80bb3a..4e4179dc9 100644 --- a/lang/hungarian-iso-8859-2.inc.php +++ b/lang/hungarian-iso-8859-2.inc.php @@ -735,4 +735,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/hungarian-utf-8.inc.php b/lang/hungarian-utf-8.inc.php index 8b9119bf3..8722efb30 100644 --- a/lang/hungarian-utf-8.inc.php +++ b/lang/hungarian-utf-8.inc.php @@ -736,4 +736,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/indonesian-iso-8859-1.inc.php b/lang/indonesian-iso-8859-1.inc.php index 88cedda67..90b920c23 100644 --- a/lang/indonesian-iso-8859-1.inc.php +++ b/lang/indonesian-iso-8859-1.inc.php @@ -722,4 +722,5 @@ $strZip = '"Dikompress dengan Zip"'; = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/indonesian-utf-8.inc.php b/lang/indonesian-utf-8.inc.php index 9cdf56231..8e6d5977c 100644 --- a/lang/indonesian-utf-8.inc.php +++ b/lang/indonesian-utf-8.inc.php @@ -723,4 +723,5 @@ $strZip = '"Dikompress dengan Zip"'; $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/italian-iso-8859-1.inc.php b/lang/italian-iso-8859-1.inc.php index 83d7d49c8..6c394b31e 100644 --- a/lang/italian-iso-8859-1.inc.php +++ b/lang/italian-iso-8859-1.inc.php @@ -727,4 +727,5 @@ $strZip = '"compresso con zip"'; $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/italian-utf-8.inc.php b/lang/italian-utf-8.inc.php index f769a6a46..587b3e14e 100644 --- a/lang/italian-utf-8.inc.php +++ b/lang/italian-utf-8.inc.php @@ -728,4 +728,5 @@ $strZip = '"compresso con zip"'; $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/japanese-euc.inc.php b/lang/japanese-euc.inc.php index 4cfb6b771..21f0de593 100644 --- a/lang/japanese-euc.inc.php +++ b/lang/japanese-euc.inc.php @@ -735,4 +735,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/japanese-sjis.inc.php b/lang/japanese-sjis.inc.php index c0376f309..232764fe9 100644 --- a/lang/japanese-sjis.inc.php +++ b/lang/japanese-sjis.inc.php @@ -735,4 +735,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/japanese-utf-8.inc.php b/lang/japanese-utf-8.inc.php index 77f51f7e2..0aec40669 100644 --- a/lang/japanese-utf-8.inc.php +++ b/lang/japanese-utf-8.inc.php @@ -736,4 +736,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/korean-euc-kr.inc.php b/lang/korean-euc-kr.inc.php index 5557d9980..3418c735c 100644 --- a/lang/korean-euc-kr.inc.php +++ b/lang/korean-euc-kr.inc.php @@ -745,4 +745,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/korean-utf-8.inc.php b/lang/korean-utf-8.inc.php index 832f4a3f4..f9d11ad2d 100644 --- a/lang/korean-utf-8.inc.php +++ b/lang/korean-utf-8.inc.php @@ -746,4 +746,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/latvian-utf-8.inc.php b/lang/latvian-utf-8.inc.php index 230e8a15d..5874f0495 100644 --- a/lang/latvian-utf-8.inc.php +++ b/lang/latvian-utf-8.inc.php @@ -728,4 +728,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/latvian-windows-1257.inc.php b/lang/latvian-windows-1257.inc.php index c2225d3d1..779a9722d 100644 --- a/lang/latvian-windows-1257.inc.php +++ b/lang/latvian-windows-1257.inc.php @@ -727,4 +727,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/lithuanian-utf-8.inc.php b/lang/lithuanian-utf-8.inc.php index 7b013272b..8e174ff1d 100644 --- a/lang/lithuanian-utf-8.inc.php +++ b/lang/lithuanian-utf-8.inc.php @@ -723,4 +723,5 @@ $strZip = '"zip"'; = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/lithuanian-windows-1257.inc.php b/lang/lithuanian-windows-1257.inc.php index dedfe68b0..81083f607 100644 --- a/lang/lithuanian-windows-1257.inc.php +++ b/lang/lithuanian-windows-1257.inc.php @@ -722,4 +722,5 @@ $strZip = '"zip"'; = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/malay-iso-8859-1.inc.php b/lang/malay-iso-8859-1.inc.php index 906e0125e..8f8c77e01 100644 --- a/lang/malay-iso-8859-1.inc.php +++ b/lang/malay-iso-8859-1.inc.php @@ -748,4 +748,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/malay-utf-8.inc.php b/lang/malay-utf-8.inc.php index 9ceea14ed..0985e38e4 100644 --- a/lang/malay-utf-8.inc.php +++ b/lang/malay-utf-8.inc.php @@ -749,4 +749,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/norwegian-iso-8859-1.inc.php b/lang/norwegian-iso-8859-1.inc.php index 78d23deb2..3b96b5074 100644 --- a/lang/norwegian-iso-8859-1.inc.php +++ b/lang/norwegian-iso-8859-1.inc.php @@ -728,4 +728,5 @@ $strZip = 'Komprimert (zip)'; $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/norwegian-utf-8.inc.php b/lang/norwegian-utf-8.inc.php index 2402daecd..3e87e97f5 100644 --- a/lang/norwegian-utf-8.inc.php +++ b/lang/norwegian-utf-8.inc.php @@ -729,4 +729,5 @@ $strZip = 'Komprimert (zip)'; $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/persian-utf-8.inc.php b/lang/persian-utf-8.inc.php index a9a799e7d..ad7b60f64 100644 --- a/lang/persian-utf-8.inc.php +++ b/lang/persian-utf-8.inc.php @@ -753,4 +753,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/persian-windows-1256.inc.php b/lang/persian-windows-1256.inc.php index 5111594dc..ca8177690 100644 --- a/lang/persian-windows-1256.inc.php +++ b/lang/persian-windows-1256.inc.php @@ -752,4 +752,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/polish-iso-8859-2.inc.php b/lang/polish-iso-8859-2.inc.php index 73021c6c6..9a9618737 100644 --- a/lang/polish-iso-8859-2.inc.php +++ b/lang/polish-iso-8859-2.inc.php @@ -723,4 +723,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/polish-utf-8.inc.php b/lang/polish-utf-8.inc.php index 7a5ef77f2..2c38d5475 100644 --- a/lang/polish-utf-8.inc.php +++ b/lang/polish-utf-8.inc.php @@ -724,4 +724,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/portuguese-iso-8859-1.inc.php b/lang/portuguese-iso-8859-1.inc.php index fb226b4d3..67c80e76b 100644 --- a/lang/portuguese-iso-8859-1.inc.php +++ b/lang/portuguese-iso-8859-1.inc.php @@ -742,4 +742,5 @@ $strWindowNotFound = 'The target browser window could not be updated. Maybe you $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/portuguese-utf-8.inc.php b/lang/portuguese-utf-8.inc.php index 201d65d0a..3ad08b969 100644 --- a/lang/portuguese-utf-8.inc.php +++ b/lang/portuguese-utf-8.inc.php @@ -743,4 +743,5 @@ $strWindowNotFound = 'The target browser window could not be updated. Maybe you = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/romanian-iso-8859-1.inc.php b/lang/romanian-iso-8859-1.inc.php index db721673a..d2f76acbd 100644 --- a/lang/romanian-iso-8859-1.inc.php +++ b/lang/romanian-iso-8859-1.inc.php @@ -724,4 +724,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/romanian-utf-8.inc.php b/lang/romanian-utf-8.inc.php index 72cfd3f72..1b4cad2f2 100644 --- a/lang/romanian-utf-8.inc.php +++ b/lang/romanian-utf-8.inc.php @@ -725,4 +725,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/russian-cp-866.inc.php b/lang/russian-cp-866.inc.php index 3643cf95e..1984dc860 100644 --- a/lang/russian-cp-866.inc.php +++ b/lang/russian-cp-866.inc.php @@ -730,4 +730,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/russian-koi8-r.inc.php b/lang/russian-koi8-r.inc.php index 9b7496a41..64df0c0db 100644 --- a/lang/russian-koi8-r.inc.php +++ b/lang/russian-koi8-r.inc.php @@ -730,4 +730,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/russian-utf-8.inc.php b/lang/russian-utf-8.inc.php index 4cbfb8c11..8c5d7863c 100644 --- a/lang/russian-utf-8.inc.php +++ b/lang/russian-utf-8.inc.php @@ -731,4 +731,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/russian-windows-1251.inc.php b/lang/russian-windows-1251.inc.php index 5ae356761..d55ec092b 100644 --- a/lang/russian-windows-1251.inc.php +++ b/lang/russian-windows-1251.inc.php @@ -730,4 +730,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/serbian_cyrillic-utf-8.inc.php b/lang/serbian_cyrillic-utf-8.inc.php index 8b74de25f..1c70b27f5 100644 --- a/lang/serbian_cyrillic-utf-8.inc.php +++ b/lang/serbian_cyrillic-utf-8.inc.php @@ -730,4 +730,5 @@ $strZeroRemovesTheLimit = 'Напомена: Постављање ових оп $strZip = '"зиповано"'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/serbian_cyrillic-windows-1251.inc.php b/lang/serbian_cyrillic-windows-1251.inc.php index d242eb3f1..64b7fde50 100644 --- a/lang/serbian_cyrillic-windows-1251.inc.php +++ b/lang/serbian_cyrillic-windows-1251.inc.php @@ -729,4 +729,5 @@ $strZeroRemovesTheLimit = ' $strZip = '""'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/serbian_latin-utf-8.inc.php b/lang/serbian_latin-utf-8.inc.php index 396fd13f9..7acf6f180 100644 --- a/lang/serbian_latin-utf-8.inc.php +++ b/lang/serbian_latin-utf-8.inc.php @@ -730,4 +730,5 @@ $strZeroRemovesTheLimit = 'Napomena: Postavljanje ovih opcija na 0 (nulu) uklanj $strZip = '"zipovano"'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/serbian_latin-windows-1250.inc.php b/lang/serbian_latin-windows-1250.inc.php index d19c5c144..a4a35480f 100644 --- a/lang/serbian_latin-windows-1250.inc.php +++ b/lang/serbian_latin-windows-1250.inc.php @@ -729,4 +729,5 @@ $strZeroRemovesTheLimit = 'Napomena: Postavljanje ovih opcija na 0 (nulu) uklanj $strZip = '"zipovano"'; $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/slovak-iso-8859-2.inc.php b/lang/slovak-iso-8859-2.inc.php index 160805954..216daa04f 100644 --- a/lang/slovak-iso-8859-2.inc.php +++ b/lang/slovak-iso-8859-2.inc.php @@ -727,4 +727,5 @@ $strZip = '"zo zipovan $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/slovak-utf-8.inc.php b/lang/slovak-utf-8.inc.php index dfeea6a0a..03f426375 100644 --- a/lang/slovak-utf-8.inc.php +++ b/lang/slovak-utf-8.inc.php @@ -728,4 +728,5 @@ $strZip = '"zo zipované"'; $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/slovak-windows-1250.inc.php b/lang/slovak-windows-1250.inc.php index acd1da310..77f384769 100644 --- a/lang/slovak-windows-1250.inc.php +++ b/lang/slovak-windows-1250.inc.php @@ -727,4 +727,5 @@ $strZip = '"zo zipovan $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/slovenian-iso-8859-2.inc.php b/lang/slovenian-iso-8859-2.inc.php index 305a35ebd..02b7770bd 100644 --- a/lang/slovenian-iso-8859-2.inc.php +++ b/lang/slovenian-iso-8859-2.inc.php @@ -725,4 +725,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/slovenian-utf-8.inc.php b/lang/slovenian-utf-8.inc.php index c743edb10..a3a240455 100644 --- a/lang/slovenian-utf-8.inc.php +++ b/lang/slovenian-utf-8.inc.php @@ -726,4 +726,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/slovenian-windows-1250.inc.php b/lang/slovenian-windows-1250.inc.php index fb7d8f220..24273e833 100644 --- a/lang/slovenian-windows-1250.inc.php +++ b/lang/slovenian-windows-1250.inc.php @@ -725,4 +725,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/spanish-iso-8859-1.inc.php b/lang/spanish-iso-8859-1.inc.php index 1691d4686..507cc09dd 100644 --- a/lang/spanish-iso-8859-1.inc.php +++ b/lang/spanish-iso-8859-1.inc.php @@ -726,4 +726,5 @@ $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/spanish-utf-8.inc.php b/lang/spanish-utf-8.inc.php index 0de9149cd..6bd700223 100644 --- a/lang/spanish-utf-8.inc.php +++ b/lang/spanish-utf-8.inc.php @@ -727,4 +727,5 @@ $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/swedish-iso-8859-1.inc.php b/lang/swedish-iso-8859-1.inc.php index 1314c82b3..5002437c4 100644 --- a/lang/swedish-iso-8859-1.inc.php +++ b/lang/swedish-iso-8859-1.inc.php @@ -722,4 +722,5 @@ $strZip = '"zippad"'; $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/swedish-utf-8.inc.php b/lang/swedish-utf-8.inc.php index edde7fd40..4ed70e75f 100644 --- a/lang/swedish-utf-8.inc.php +++ b/lang/swedish-utf-8.inc.php @@ -723,4 +723,5 @@ $strZip = '"zippad"'; = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/thai-tis-620.inc.php b/lang/thai-tis-620.inc.php index 0f87de67c..3d83706e2 100644 --- a/lang/thai-tis-620.inc.php +++ b/lang/thai-tis-620.inc.php @@ -735,4 +735,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/thai-utf-8.inc.php b/lang/thai-utf-8.inc.php index cfe2c805b..1c7b23d74 100644 --- a/lang/thai-utf-8.inc.php +++ b/lang/thai-utf-8.inc.php @@ -736,4 +736,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/turkish-iso-8859-9.inc.php b/lang/turkish-iso-8859-9.inc.php index 84b609b45..59c621f04 100644 --- a/lang/turkish-iso-8859-9.inc.php +++ b/lang/turkish-iso-8859-9.inc.php @@ -735,4 +735,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/turkish-utf-8.inc.php b/lang/turkish-utf-8.inc.php index 4a899f2e7..a5ba0c93c 100644 --- a/lang/turkish-utf-8.inc.php +++ b/lang/turkish-utf-8.inc.php @@ -736,4 +736,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/ukrainian-utf-8.inc.php b/lang/ukrainian-utf-8.inc.php index 31c3ff1ab..919c004dd 100644 --- a/lang/ukrainian-utf-8.inc.php +++ b/lang/ukrainian-utf-8.inc.php @@ -728,4 +728,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/lang/ukrainian-windows-1251.inc.php b/lang/ukrainian-windows-1251.inc.php index 0b4e91b19..6ffaa39ef 100644 --- a/lang/ukrainian-windows-1251.inc.php +++ b/lang/ukrainian-windows-1251.inc.php @@ -727,4 +727,5 @@ $strMaximumSize = 'Maximum size: %s%s'; //to translate $strConnectionError = 'Cannot connect: invalid settings.'; //to translate $strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!'; //to translate $strAddHeaderComment = 'Add custom comment into header (\\n splits lines)'; //to translate +$strNeedPrimaryKey = 'You should define a primary key for this table.'; //to translate ?> diff --git a/libraries/common.lib.php b/libraries/common.lib.php index faaa9c9a4..8885f88f9 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1705,17 +1705,19 @@ if (typeof(document.getElementById) != 'undefined' * @param string the URL * @param string the link message * @param string js confirmation + * @param boolean we set this to FALSE when we are already in a form, + * to avoid generating nested forms * * @return string the results to be echoed or saved in an array */ - function PMA_linkOrButton($url, $message, $js_conf) + function PMA_linkOrButton($url, $message, $js_conf, $allow_button = TRUE) { if (strlen($url) <= 2047) { $onclick_url = (empty($js_conf) ? '' : ' onclick="return confirmLink(this, \'' . $js_conf . '\')"'); $link_or_button = ' ' . "\n" . ' ' . $message . '' . "\n"; } - else { + elseif ($allow_button) { $edit_url_parts = parse_url($url); $query_parts = explode('&', $edit_url_parts['query']); $link_or_button = '
' . "\n" . '
' . "\n"; } + } else { + $link_or_button = ' ? '; } // end if... else... - return $link_or_button; + return $link_or_button; } // end of the 'PMA_linkOrButton()' function diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index 911289013..bb7a8a4b4 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -1502,7 +1502,7 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) if (isset($edit_url)) { $vertical_display['edit'][$row_no] .= ' ' . "\n" - . PMA_linkOrButton($edit_url, $edit_str, '') + . PMA_linkOrButton($edit_url, $edit_str, '', FALSE) . $bookmark_go . ' ' . "\n"; } else { @@ -1511,7 +1511,7 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) if (isset($del_url)) { $vertical_display['delete'][$row_no] .= ' ' . "\n" - . PMA_linkOrButton($del_url, $del_str, (isset($js_conf) ? $js_conf : '')) + . PMA_linkOrButton($del_url, $del_str, (isset($js_conf) ? $js_conf : ''), FALSE) . ' ' . "\n"; } else { unset($vertical_display['delete'][$row_no]); diff --git a/libraries/display_tbl_links.lib.php b/libraries/display_tbl_links.lib.php index aeeda959b..5484c3c2e 100644 --- a/libraries/display_tbl_links.lib.php +++ b/libraries/display_tbl_links.lib.php @@ -9,13 +9,13 @@ if (!empty($del_url) && $is_display['del_lnk'] != 'kp') { } if (!empty($edit_url)) { echo ' ' . "\n" - . PMA_linkOrButton($edit_url, $edit_str, '') + . PMA_linkOrButton($edit_url, $edit_str, '', FALSE) . $bookmark_go . ' ' . "\n"; } if (!empty($del_url)) { echo ' ' . "\n" - . PMA_linkOrButton($del_url, $del_str, (isset($js_conf) ? $js_conf : '')) + . PMA_linkOrButton($del_url, $del_str, (isset($js_conf) ? $js_conf : ''), FALSE) . ' ' . "\n"; } ?>