cvs: phpweb /include shared-manual.inc
| From: | Hannes Magnusson | Date: | Mon, 25 Jun 2007 15:07:41 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-35820@lists.php.net to get a copy of this message | ||
bjori Mon Jun 25 15:07:41 2007 UTC
Modified files:
/phpweb/include shared-manual.inc
Log:
Make sure there is previous/next manual page
http://cvs.php.net/viewvc.cgi/phpweb/include/shared-manual.inc?r1=1.232&r2=1.233&diff_format=u
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.232 phpweb/include/shared-manual.inc:1.233
--- phpweb/include/shared-manual.inc:1.232 Tue Feb 6 13:52:33 2007
+++ phpweb/include/shared-manual.inc Mon Jun 25 15:07:40 2007
@@ -1,6 +1,6 @@
<?php // -*- C++ -*-
-// $Id: shared-manual.inc,v 1.232 2007/02/06 13:52:33 bjori Exp $
+// $Id: shared-manual.inc,v 1.233 2007/06/25 15:07:40 bjori Exp $
/*
@@ -133,14 +133,14 @@
// Start navbar with
echo "<!--UdmComment-->\n<div class=\"manualnavbar
manualnavbar_$location\">\n <span class=\"next\">\n";
- if ($PGI['next'][1]) {
+ if (isset($PGI['next']) && isset($PGI['next'][1])) {
echo " <a href=\"{$PGI['next'][0]}\">" .
$PGI['next'][1] .
make_image('caret-r.gif', '>') .
"</a>\n";
}
echo " </span>\n <span class=\"prev\">\n";
- if ($PGI['prev'][1]) {
+ if (isset($PGI['prev']) && isset($PGI['prev'][1])) {
echo " <a href=\"{$PGI['prev'][0]}\">" .
make_image('caret-l.gif', '<') .
$PGI['prev'][1] . "</a>\n";