diff options
author | Tomasz Pala | 2013-06-16 21:57:38 +0000 |
---|---|---|
committer | Jehan-Guillaume de Rorthais | 2013-11-11 21:00:57 +0000 |
commit | 20d1f48b43ab7d51a26b044dc435f425333fd1f8 (patch) | |
tree | a57c740b1e4633b9707ad10de88e5034647f578e | |
parent | d33d65c3e5b43fc2334067add3b5cd3a732b12ea (diff) |
set some accesskeys /08-19.01.2011/
-rw-r--r-- | display.php | 2 | ||||
-rw-r--r-- | sqledit.php | 4 | ||||
-rw-r--r-- | tables.php | 6 | ||||
-rw-r--r-- | views.php | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/display.php b/display.php index 4fed188f..7ff97909 100644 --- a/display.php +++ b/display.php @@ -150,7 +150,7 @@ 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) { diff --git a/sqledit.php b/sqledit.php index de1773bc..ac244821 100644 --- a/sqledit.php +++ b/sqledit.php @@ -119,8 +119,8 @@ htmlspecialchars($_SESSION['sqlquery']), "</textarea>\n"; echo "<p><label for=\"paginate\"><input type=\"checkbox\" id=\"paginate\" name=\"paginate\"", (isset($_REQUEST['paginate']) ? ' checked="checked"' : ''), " /> {$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 @@ -405,7 +405,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>"; + 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"; @@ -414,7 +414,7 @@ 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"; } @@ -537,7 +537,7 @@ 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) { @@ -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"; } |