Update paging function.

This commit is contained in:
Nate 2019-10-22 01:41:47 -06:00
parent 32f9a483a5
commit 567ce5620d
1 changed files with 2 additions and 2 deletions

View File

@ -161,10 +161,10 @@ function paging($num_rows, $param, $rows_per_page, $mini = false, $result_count
"</script>\n";
//determine size
if ($mini) {
$code = $prev.$next."\n".$script;
$code = "<span style='white-space: nowrap;'>".$prev.$next."</span>\n".$script;
}
else {
$code .= "<center nowrap=\"nowrap\">";
$code .= "<center style='white-space: nowrap;'>";
$code .= " ".$prev;
$code .= " &nbsp;&nbsp;&nbsp;";
$code .= " <input id='paging_page_num' class='formfld' style='max-width: 50px; min-width: 50px; text-align: center;' type='text' value='".($page_number+1)."' onfocus='this.select();' onkeypress='return go(event);'>";