Display warning for missing UPDATE privilege (bug #3466883)
This commit is contained in:
parent
0069d9f13e
commit
ce83605174
|
@ -77,7 +77,9 @@ if ($row === false) {
|
||||||
|
|
||||||
<form action="" method="post" enctype="multipart/form-data" id="form">
|
<form action="" method="post" enctype="multipart/form-data" id="form">
|
||||||
<?php
|
<?php
|
||||||
if ($fields) {
|
if (!$fields) {
|
||||||
|
echo "<p class='error'>" . lang('You have no privileges to update this table.') . "\n";
|
||||||
|
} else {
|
||||||
echo "<table cellspacing='0' onkeydown='return editingKeydown(event);'>\n";
|
echo "<table cellspacing='0' onkeydown='return editingKeydown(event);'>\n";
|
||||||
foreach ($fields as $name => $field) {
|
foreach ($fields as $name => $field) {
|
||||||
echo "<tr><th>" . $adminer->fieldName($field);
|
echo "<tr><th>" . $adminer->fieldName($field);
|
||||||
|
|
|
@ -263,6 +263,7 @@ $translations = array(
|
||||||
'Save and insert next' => 'Uložit a vložit další',
|
'Save and insert next' => 'Uložit a vložit další',
|
||||||
'Clone' => 'Klonovat',
|
'Clone' => 'Klonovat',
|
||||||
'Delete' => 'Smazat',
|
'Delete' => 'Smazat',
|
||||||
|
'You have no privileges to update this table.' => 'Nemáte oprávnění editovat tuto tabulku.',
|
||||||
|
|
||||||
'E-mail' => 'E-mail',
|
'E-mail' => 'E-mail',
|
||||||
'From' => 'Odesílatel',
|
'From' => 'Odesílatel',
|
||||||
|
|
|
@ -263,6 +263,7 @@ $translations = array(
|
||||||
'Save and insert next' => 'xx',
|
'Save and insert next' => 'xx',
|
||||||
'Clone' => 'xx',
|
'Clone' => 'xx',
|
||||||
'Delete' => 'xx',
|
'Delete' => 'xx',
|
||||||
|
'You have no privileges to update this table.' => 'xx',
|
||||||
|
|
||||||
'E-mail' => 'xx',
|
'E-mail' => 'xx',
|
||||||
'From' => 'xx',
|
'From' => 'xx',
|
||||||
|
|
|
@ -6,6 +6,7 @@ Shorten printed values in varchar fields
|
||||||
Display table default values on wide screens
|
Display table default values on wide screens
|
||||||
Display date in SQL history
|
Display date in SQL history
|
||||||
HTML5 input fields
|
HTML5 input fields
|
||||||
|
Display warning for missing UPDATE privilege
|
||||||
Fix switching language on first load
|
Fix switching language on first load
|
||||||
Support enabled mbstring.func_overload
|
Support enabled mbstring.func_overload
|
||||||
MySQL: Prolong comment length since MySQL 5.5
|
MySQL: Prolong comment length since MySQL 5.5
|
||||||
|
|
Loading…
Reference in a new issue