cvs: pearweb /include pear-manual.php
| From: | Martin Jansen | Date: | Fri, 16 Apr 2004 17:48:30 +0000 |
| Subject: | cvs: pearweb /include pear-manual.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-18326@lists.php.net to get a copy of this message | ||
mj Fri Apr 16 13:48:30 2004 EDT
Modified files:
/pearweb/include pear-manual.php
Log:
* Using the same value for two accesskey attributes confuses Mozilla.
PR: #1214
# Patch by: danielc
http://cvs.php.net/diff.php/pearweb/include/pear-manual.php?r1=1.33&r2=1.34&ty=u
Index: pearweb/include/pear-manual.php
diff -u pearweb/include/pear-manual.php:1.33 pearweb/include/pear-manual.php:1.34
--- pearweb/include/pear-manual.php:1.33 Fri Apr 16 07:40:54 2004
+++ pearweb/include/pear-manual.php Fri Apr 16 13:48:30 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-manual.php,v 1.33 2004/04/16 11:40:54 mj Exp $
+ $Id: pear-manual.php,v 1.34 2004/04/16 17:48:30 mj Exp $
*/
require_once "site.php";
@@ -123,7 +123,7 @@
make_image('caret-l.gif', 'previous') .
@htmlspecialchars($PREV[1], ENT_QUOTES, $CHARSET),
false,
- 'accesskey="r"'
+ ($loc == 'top' ? 'accesskey="r"' : false)
);
echo
' <small>(P<u>r</u>evious)</small>';
}
@@ -139,7 +139,7 @@
@htmlspecialchars($NEXT[1], ENT_QUOTES, $CHARSET) .
make_image('caret-r.gif', 'next'),
false,
- 'accesskey="x"'
+ ($loc == 'top' ? 'accesskey="x"' : false)
);
}
echo "\n";