cvs: phpweb / bugs.php

From: Date: Thu, 12 Jul 2001 18:47:14 +0000
Subject: cvs: phpweb / bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5504@lists.php.net to get a copy of this message
jimw Thu Jul 12 14:47:14 2001 EDT Modified files: /phpweb bugs.php Log: probably should jump by limit increments, too Index: phpweb/bugs.php diff -u phpweb/bugs.php:1.161 phpweb/bugs.php:1.162 --- phpweb/bugs.php:1.161 Thu Jul 12 11:16:41 2001 +++ phpweb/bugs.php Thu Jul 12 14:47:13 2001 @@ -733,10 +733,10 @@ echo "<tr bgcolor=\"#cccccc\"><td align=\"center\" colspan=\"9\">"; echo '<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>'; if ($begin > 0) { - echo "<td align=\"left\"><a href=\"$link&amp;begin=",max(0,$begin-30),"\">&laquo; Show Previous $limit Entries</a></td>"; + echo "<td align=\"left\"><a href=\"$link&amp;begin=",max(0,$begin-$limit),"\">&laquo; Show Previous $limit Entries</a></td>"; } if ($rows >= $limit) { - echo "<td align=\"right\"><a href=\"$link&amp;begin=",$begin+30,"\">Show Next $limit Entries &raquo;</a></td>"; + echo "<td align=\"right\"><a href=\"$link&amp;begin=",$begin+$limit,"\">Show Next $limit Entries &raquo;</a></td>"; } echo "</tr></table></td></tr>"; }

« previous php.mirrors (#5504) next »