for($i = 1; $i <= $last_page; $i++) {
-
if($current_page == $i)
$style = "style=\"font-size: 125%;\"";
elseif($current_page-1 == $i || $current_page+1 == $i)
}
- $this->tmpl->assign('page_selector', $page_select);
+ /* only show the page selector if we have more then one page */
+ if($last_page > 1)
+ $this->tmpl->assign('page_selector', $page_select);
}
$current_tags = "";