This commit is contained in:
Mike Macgirvin 2010-07-10 03:26:21 -07:00
parent a4850cb3d7
commit 970a2d4f1e
4 changed files with 16 additions and 9 deletions

View file

@ -399,7 +399,7 @@ function paginate(&$a) {
}
for($i = $numstart; $i <= $numstop; $i++){
if($i == $pagenum)
if($i == $a->pager['page'])
$o .= '<span class="pager_current">'.(($i < 10) ? '&nbsp;'.$i : $i);
else
$o .= "<span class=\"pager_n\"><a href=\"$url"."&page=$i\">".(($i < 10) ? '&nbsp;'.$i : $i)."</a>";