| Nuno Lopes 2006-02-28, 7:56 am |
| nlopess Tue Feb 28 11:43:32 2006 UTC
Modified files:
/phpweb results.php
Log:
fix link to other results pages
http://cvs.php.net/viewcvs.cgi/phpw...7&diff_format=u
Index: phpweb/results.php
diff -u phpweb/results.php:1.6 phpweb/results.php:1.7
--- phpweb/results.php:1.6 Tue Feb 28 08:23:28 2006
+++ phpweb/results.php Tue Feb 28 11:43:32 2006
@@ -1,5 +1,5 @@
<?php
-// $Id: results.php,v 1.6 2006/02/28 08:23:28 rasmus Exp $
+// $Id: results.php,v 1.7 2006/02/28 11:43:32 nlopess Exp $
$_SERVER['BASE_PAGE'] = 'results.php';
include $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
#include $_SERVER['DOCUMENT_ROOT'] . '/include/loadavg.inc';
@@ -92,7 +92,7 @@
if($start > $res['ResultSet']['totalResultsAvailable
']) {
break;
}
- printf('<li><a href="/results.php?q=%s&start=%d&p=$scope">%d</a></li>', $q, $start, $z);
+ printf('<li><a href="/results.php?q=%s&start=%d&p=%s">%d</a></li>', $q, $start, $scope, $z);
$start += $per_page;
}
echo '</ul></div>';
|