Update paging function.
This commit is contained in:
parent
32f9a483a5
commit
567ce5620d
|
|
@ -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 .= " ";
|
||||
$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);'>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue