summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Pala2013-06-16 21:57:38 +0000
committerJehan-Guillaume de Rorthais2013-11-11 21:00:57 +0000
commit20d1f48b43ab7d51a26b044dc435f425333fd1f8 (patch)
treea57c740b1e4633b9707ad10de88e5034647f578e
parentd33d65c3e5b43fc2334067add3b5cd3a732b12ea (diff)
set some accesskeys /08-19.01.2011/
-rw-r--r--display.php2
-rw-r--r--sqledit.php4
-rw-r--r--tables.php6
-rw-r--r--views.php4
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"' : ''), " />&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
diff --git a/tables.php b/tables.php
index c3aedfb1..a8aa397a 100644
--- a/tables.php
+++ b/tables.php
@@ -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) {
diff --git a/views.php b/views.php
index 15afe46a..53307a2f 100644
--- 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";
}