set some accesskeys /08-19.01.2011/
authorTomasz Pala <gotar@polanet.pl>
Sun, 16 Jun 2013 21:57:38 +0000 (23:57 +0200)
committerJehan-Guillaume de Rorthais <ioguix@free.fr>
Mon, 11 Nov 2013 21:00:57 +0000 (22:00 +0100)
display.php
sqledit.php
tables.php
views.php

index 4fed188f0e66c8d2dc25abd93be7d6343aea2162..7ff9790996f6883a7cd6153a377a32034771a35d 100644 (file)
                        echo "<input type=\"hidden\" name=\"strings\" value=\"", htmlspecialchars($_REQUEST['strings']), "\" />\n";
                        echo "<input type=\"hidden\" name=\"key\" value=\"", htmlspecialchars(urlencode(serialize($key))), "\" />\n";
                        echo "<p>";
-                       if (!$error) echo "<input type=\"submit\" name=\"save\" value=\"{$lang['strsave']}\" />\n";
+                       if (!$error) echo "<input type=\"submit\" name=\"save\" accesskey=\"r\" value=\"{$lang['strsave']}\" />\n";
                        echo "<input type=\"submit\" name=\"cancel\" value=\"{$lang['strcancel']}\" />\n";
 
                        if($fksprops !== false) {
index de1773bce602f1e32f1afdb594dc352ea5ed0cb2..ac2448211de7378404539c48da5f9d943b27869f 100644 (file)
                        htmlspecialchars($_SESSION['sqlquery']), "</textarea>\n";
                echo "<p><label for=\"paginate\"><input type=\"checkbox\" id=\"paginate\" name=\"paginate\"", (isset($_REQUEST['paginate']) ? ' checked="checked"' : ''), " />&nbsp;{$lang['strpaginate']}</label></p>\n";
                
-               echo "<p><input type=\"submit\" value=\"{$lang['strexecute']}\" />\n";
-               echo "<input type=\"reset\" value=\"{$lang['strreset']}\" /></p>\n";
+               echo "<p><input type=\"submit\" accesskey=\"r\" value=\"{$lang['strexecute']}\" />\n";
+               echo "<input type=\"reset\" accesskey=\"q\" value=\"{$lang['strreset']}\" /></p>\n";
                echo "</form>\n";
                
                // Default focus
index c3aedfb190fb59666c82377f18852e46f52136cd..a8aa397a40769420e9987b9f099e171b048e0d63 100644 (file)
                                        $attrs->moveNext();
                                }
                                // Select all checkbox
-                               echo "<tr><td colspan=\"5\"><input type=\"checkbox\" id=\"selectall\" name=\"selectall\" onclick=\"javascript:selectAll()\" /><label for=\"selectall\">{$lang['strselectallfields']}</label></td>";
+                               echo "<tr><td colspan=\"5\"><input type=\"checkbox\" id=\"selectall\" name=\"selectall\" accesskey=\"a\" onclick=\"javascript:selectAll()\" /><label for=\"selectall\">{$lang['strselectallfields']}</label></td>";
                                echo "</tr></table>\n";
                        }
                        else echo "<p>{$lang['strinvalidparam']}</p>\n";
                        echo "<input type=\"hidden\" name=\"table\" value=\"", htmlspecialchars($_REQUEST['table']), "\" />\n";
                        echo "<input type=\"hidden\" name=\"subject\" value=\"table\" />\n";
                        echo $misc->form;
-                       echo "<input type=\"submit\" name=\"select\" value=\"{$lang['strselect']}\" />\n";
+                       echo "<input type=\"submit\" name=\"select\" accesskey=\"r\" value=\"{$lang['strselect']}\" />\n";
                        echo "<input type=\"submit\" name=\"cancel\" value=\"{$lang['strcancel']}\" /></p>\n";
                        echo "</form>\n";
                }
                                echo "<input type=\"hidden\" name=\"protection_counter\" value=\"".$_SESSION['counter']."\" />\n";
                                echo "<input type=\"hidden\" name=\"table\" value=\"", htmlspecialchars($_REQUEST['table']), "\" />\n";
                                echo "<p><input type=\"submit\" name=\"insert\" value=\"{$lang['strinsert']}\" />\n";
-                               echo "<input type=\"submit\" name=\"insertandrepeat\" value=\"{$lang['strinsertandrepeat']}\" />\n";
+                               echo "<input type=\"submit\" name=\"insertandrepeat\" accesskey=\"r\" value=\"{$lang['strinsertandrepeat']}\" />\n";
                                echo "<input type=\"submit\" name=\"cancel\" value=\"{$lang['strcancel']}\" />\n";
                                
                                if($fksprops !== false) {
index 15afe46aee8b9cc6a343fccd5f6b729cd6770274..53307a2f9f9b4c3d49d9ef9b86217e0cdff00fe3 100644 (file)
--- a/views.php
+++ b/views.php
@@ -78,7 +78,7 @@
                                        $attrs->moveNext();
                                }
                                // Select all checkbox
-                               echo "<tr><td colspan=\"5\"><input type=\"checkbox\" id=\"selectall\" name=\"selectall\" onclick=\"javascript:selectAll()\" /><label for=\"selectall\">{$lang['strselectallfields']}</label></td></tr>";
+                               echo "<tr><td colspan=\"5\"><input type=\"checkbox\" id=\"selectall\" name=\"selectall\" accesskey=\"a\" onclick=\"javascript:selectAll()\" /><label for=\"selectall\">{$lang['strselectallfields']}</label></td></tr>";
                                echo "</table>\n";
                        }
                        else echo "<p>{$lang['strinvalidparam']}</p>\n";
@@ -87,7 +87,7 @@
                        echo "<input type=\"hidden\" name=\"view\" value=\"", htmlspecialchars($_REQUEST['view']), "\" />\n";
                        echo "<input type=\"hidden\" name=\"subject\" value=\"view\" />\n";
                        echo $misc->form;
-                       echo "<input type=\"submit\" name=\"select\" value=\"{$lang['strselect']}\" />\n";
+                       echo "<input type=\"submit\" name=\"select\" accesskey=\"r\" value=\"{$lang['strselect']}\" />\n";
                        echo "<input type=\"submit\" name=\"cancel\" value=\"{$lang['strcancel']}\" /></p>\n";
                        echo "</form>\n";
                }