]> git.joonet.de Git - adminer.git/commitdiff
Split actions for modified and selected rows
authorJakub Vrana <jakub@vrana.cz>
Mon, 8 Jul 2013 22:12:17 +0000 (15:12 -0700)
committerJakub Vrana <jakub@vrana.cz>
Mon, 8 Jul 2013 22:12:17 +0000 (15:12 -0700)
adminer/lang/cs.inc.php
adminer/lang/xx.inc.php
adminer/select.inc.php

index 699b669370cb69c868bfc8a9426888fb81c0641b..721c5efb3135701b72ac196f1b957218f3e52572 100644 (file)
@@ -245,6 +245,7 @@ $translations = array(
        'File must be in UTF-8 encoding.' => 'Soubor musí být v kódování UTF-8.',
        
        // 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.',
        '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 and continue edit' => 'Uložit a pokračovat v editaci',
        'Save and insert next' => 'Uložit a vložit další',
+       'Selected' => 'Označené',
        'Clone' => 'Klonovat',
        'Delete' => 'Smazat',
        'You have no privileges to update this table.' => 'Nemáte oprávnění editovat tuto tabulku.',
index 88f5db0213d302e874cb290d94ea4488783c8b57..d84bf2a737f93377681b0801e6f3a1de80872d4f 100644 (file)
@@ -245,6 +245,7 @@ $translations = array(
        'File must be in UTF-8 encoding.' => 'xx',
        
        // in-place editing in select
+       'Modify' => 'xx',
        'Ctrl+click on a value to modify it.' => 'xx',
        'Use edit link to modify this value.' => 'xx',
        
@@ -263,6 +264,7 @@ $translations = array(
        'Save' => 'xx',
        'Save and continue edit' => 'xx',
        'Save and insert next' => 'xx',
+       'Selected' => 'xx',
        'Clone' => 'xx',
        'Delete' => 'xx',
        'You have no privileges to update this table.' => 'xx',
index 12837ae5a611f157eee1d12e18b961b1f5a22736..f359cdbc5e326223ccfd369d48b4e238c1ecdf46 100644 (file)
@@ -281,7 +281,7 @@ if (!$columns) {
                        $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 "<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();
                        $functions = array();
                        reset($select);
@@ -484,8 +484,10 @@ if (!$columns) {
                        
                        if ($adminer->selectCommandPrint()) {
                                ?>
-<fieldset><legend><?php echo lang('Edit'); ?></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"'); ?>>
+<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.') . '"'); ?>>
+</div></fieldset>
+<fieldset><legend><?php echo lang('Selected'); ?></legend><div>
 <input type="submit" name="edit" value="<?php echo lang('Edit'); ?>">
 <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/)) + ')');">