mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Display warning for missing UPDATE privilege (bug #3466883)
This commit is contained in:
@@ -77,7 +77,9 @@ if ($row === false) {
|
||||
|
||||
<form action="" method="post" enctype="multipart/form-data" id="form">
|
||||
<?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";
|
||||
foreach ($fields as $name => $field) {
|
||||
echo "<tr><th>" . $adminer->fieldName($field);
|
||||
|
@@ -263,6 +263,7 @@ $translations = array(
|
||||
'Save and insert next' => 'Uložit a vložit další',
|
||||
'Clone' => 'Klonovat',
|
||||
'Delete' => 'Smazat',
|
||||
'You have no privileges to update this table.' => 'Nemáte oprávnění editovat tuto tabulku.',
|
||||
|
||||
'E-mail' => 'E-mail',
|
||||
'From' => 'Odesílatel',
|
||||
|
@@ -263,6 +263,7 @@ $translations = array(
|
||||
'Save and insert next' => 'xx',
|
||||
'Clone' => 'xx',
|
||||
'Delete' => 'xx',
|
||||
'You have no privileges to update this table.' => 'xx',
|
||||
|
||||
'E-mail' => 'xx',
|
||||
'From' => 'xx',
|
||||
|
Reference in New Issue
Block a user