cvs: phpweb /include layout.inc shared-manual.inc
| From: | Gabor Hojtsy | Date: | Thu, 17 Oct 2002 12:16:20 +0000 |
| Subject: | cvs: phpweb /include layout.inc shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-13117@lists.php.net to get a copy of this message | ||
goba Thu Oct 17 08:16:20 2002 EDT
Modified files:
/phpweb/include layout.inc shared-manual.inc
Log:
Adding shortcut keys to search and lookup input fields.
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.99 phpweb/include/layout.inc:1.100
--- phpweb/include/layout.inc:1.99 Mon Sep 9 13:35:41 2002
+++ phpweb/include/layout.inc Thu Oct 17 08:16:19 2002
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.99 2002/09/09 17:35:41 cmv Exp $ */
+/* $Id: layout.inc,v 1.100 2002/10/17 12:16:19 goba Exp $ */
# spacer()
# print a IMG tag for a sized spacer GIF
@@ -241,8 +241,8 @@
<td align="right" valign="top" colspan="2"><font
color="#ffffff">
<form method="post" action="/search.php" class="thin">
<input type="hidden" name="lang" value="<?php if(empty($LANG)) echo
htmlspecialchars(default_language()); else echo htmlspecialchars($LANG); ?>">
-<small>search for</small>
-<input class="small" type="text" name="pattern" value=""
size="30" />
+<small><span title="Keyboard shortcut: Alt+S (Win), Cmd+S
(Apple)"><u>s</u>earch for</span></small>
+<input class="small" type="text" name="pattern" value=""
size="30" accesskey="s"/>
<small>in the</small>
<select name="show" class="small">
<option value="quickref" selected>function list
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.147 phpweb/include/shared-manual.inc:1.148
--- phpweb/include/shared-manual.inc:1.147 Tue Sep 24 13:54:28 2002
+++ phpweb/include/shared-manual.inc Thu Oct 17 08:16:19 2002
@@ -34,7 +34,8 @@
$SIDEBAR_DATA.= '<tr valign="top"><td><small>' .
'<input type="hidden" name="lang" value="' . $LANG .
'">' .
- 'lookup: <input type="text" class="small"
name="function" size="10"> ' .
+ '<span title="Keyboard shortcut: Alt+L (Win), Cmd+L
(Apple)"><u>l</u>ookup:</span> ' .
+ '<input type="text" class="small" name="function"
size="10" accesskey="l"> ' .
make_submit('small_submit.gif', 'lookup', 'bottom') .
'<br></small></td></tr>';