Split actions for modified and selected rows
This commit is contained in:
parent
19c4890018
commit
10f500dfea
|
@ -245,6 +245,7 @@ $translations = array(
|
||||||
'File must be in UTF-8 encoding.' => 'Soubor musí být v kódování UTF-8.',
|
'File must be in UTF-8 encoding.' => 'Soubor musí být v kódování UTF-8.',
|
||||||
|
|
||||||
// in-place editing in select
|
// in-place editing in select
|
||||||
|
'Modify' => 'Změnit',
|
||||||
'Ctrl+click on a value to modify it.' => 'Ctrl+klikněte na políčko, které chcete změnit.',
|
'Ctrl+click on a value to modify it.' => 'Ctrl+klikněte na políčko, které chcete změnit.',
|
||||||
'Use edit link to modify this value.' => 'Ke změně této hodnoty použijte odkaz upravit.',
|
'Use edit link to modify this value.' => 'Ke změně této hodnoty použijte odkaz upravit.',
|
||||||
|
|
||||||
|
@ -263,6 +264,7 @@ $translations = array(
|
||||||
'Save' => 'Uložit',
|
'Save' => 'Uložit',
|
||||||
'Save and continue edit' => 'Uložit a pokračovat v editaci',
|
'Save and continue edit' => 'Uložit a pokračovat v editaci',
|
||||||
'Save and insert next' => 'Uložit a vložit další',
|
'Save and insert next' => 'Uložit a vložit další',
|
||||||
|
'Selected' => 'Označené',
|
||||||
'Clone' => 'Klonovat',
|
'Clone' => 'Klonovat',
|
||||||
'Delete' => 'Smazat',
|
'Delete' => 'Smazat',
|
||||||
'You have no privileges to update this table.' => 'Nemáte oprávnění editovat tuto tabulku.',
|
'You have no privileges to update this table.' => 'Nemáte oprávnění editovat tuto tabulku.',
|
||||||
|
|
|
@ -245,6 +245,7 @@ $translations = array(
|
||||||
'File must be in UTF-8 encoding.' => 'xx',
|
'File must be in UTF-8 encoding.' => 'xx',
|
||||||
|
|
||||||
// in-place editing in select
|
// in-place editing in select
|
||||||
|
'Modify' => 'xx',
|
||||||
'Ctrl+click on a value to modify it.' => 'xx',
|
'Ctrl+click on a value to modify it.' => 'xx',
|
||||||
'Use edit link to modify this value.' => 'xx',
|
'Use edit link to modify this value.' => 'xx',
|
||||||
|
|
||||||
|
@ -263,6 +264,7 @@ $translations = array(
|
||||||
'Save' => 'xx',
|
'Save' => 'xx',
|
||||||
'Save and continue edit' => 'xx',
|
'Save and continue edit' => 'xx',
|
||||||
'Save and insert next' => 'xx',
|
'Save and insert next' => 'xx',
|
||||||
|
'Selected' => 'xx',
|
||||||
'Clone' => 'xx',
|
'Clone' => 'xx',
|
||||||
'Delete' => 'xx',
|
'Delete' => 'xx',
|
||||||
'You have no privileges to update this table.' => 'xx',
|
'You have no privileges to update this table.' => 'xx',
|
||||||
|
|
|
@ -281,7 +281,7 @@ if (!$columns) {
|
||||||
$backward_keys = $adminer->backwardKeys($TABLE, $table_name);
|
$backward_keys = $adminer->backwardKeys($TABLE, $table_name);
|
||||||
|
|
||||||
echo "<table id='table' cellspacing='0' class='nowrap checkable' onclick='tableClick(event);' ondblclick='tableClick(event, true);' onkeydown='return editingKeydown(event);'>\n";
|
echo "<table id='table' cellspacing='0' class='nowrap checkable' onclick='tableClick(event);' ondblclick='tableClick(event, true);' onkeydown='return editingKeydown(event);'>\n";
|
||||||
echo "<thead><tr>" . (!$group && $select ? "" : "<td><input type='checkbox' id='all-page' onclick='formCheck(this, /check/);'> <a href='" . h($_GET["modify"] ? remove_from_uri("modify") : $_SERVER["REQUEST_URI"] . "&modify=1") . "'>" . lang('edit') . "</a>");
|
echo "<thead><tr>" . (!$group && $select ? "" : "<td><input type='checkbox' id='all-page' onclick='formCheck(this, /check/);'> <a href='" . h($_GET["modify"] ? remove_from_uri("modify") : $_SERVER["REQUEST_URI"] . "&modify=1") . "'>" . lang('Modify') . "</a>");
|
||||||
$names = array();
|
$names = array();
|
||||||
$functions = array();
|
$functions = array();
|
||||||
reset($select);
|
reset($select);
|
||||||
|
@ -484,8 +484,10 @@ if (!$columns) {
|
||||||
|
|
||||||
if ($adminer->selectCommandPrint()) {
|
if ($adminer->selectCommandPrint()) {
|
||||||
?>
|
?>
|
||||||
<fieldset><legend><?php echo lang('Edit'); ?></legend><div>
|
<fieldset<?php echo ($_GET["modify"] ? '' : ' class="jsonly"'); ?>><legend><?php echo lang('Modify'); ?></legend><div>
|
||||||
<input type="submit" value="<?php echo lang('Save'); ?>"<?php echo ($_GET["modify"] ? '' : ' title="' . lang('Ctrl+click on a value to modify it.') . '" class="jsonly"'); ?>>
|
<input type="submit" value="<?php echo lang('Save'); ?>"<?php echo ($_GET["modify"] ? '' : ' title="' . lang('Ctrl+click on a value to modify it.') . '"'); ?>>
|
||||||
|
</div></fieldset>
|
||||||
|
<fieldset><legend><?php echo lang('Selected'); ?></legend><div>
|
||||||
<input type="submit" name="edit" value="<?php echo lang('Edit'); ?>">
|
<input type="submit" name="edit" value="<?php echo lang('Edit'); ?>">
|
||||||
<input type="submit" name="clone" value="<?php echo lang('Clone'); ?>">
|
<input type="submit" name="clone" value="<?php echo lang('Clone'); ?>">
|
||||||
<input type="submit" name="delete" value="<?php echo lang('Delete'); ?>" onclick="return confirm('<?php echo lang('Are you sure?'); ?> (' + (this.form['all'].checked ? '<?php echo $found_rows; ?>' : formChecked(this, /check/)) + ')');">
|
<input type="submit" name="delete" value="<?php echo lang('Delete'); ?>" onclick="return confirm('<?php echo lang('Are you sure?'); ?> (' + (this.form['all'].checked ? '<?php echo $found_rows; ?>' : formChecked(this, /check/)) + ')');">
|
||||||
|
|
Loading…
Reference in a new issue