diff -r 44302dd20d62 -r 94c1ff984286 includes/functions.php --- a/includes/functions.php Mon Apr 13 17:28:24 2009 -0400 +++ b/includes/functions.php Tue Apr 14 21:02:13 2009 -0400 @@ -430,9 +430,10 @@ global $db, $session, $paths, $template, $plugins; // Common objects global $lang; - // POST check added in 1.1.x because Firefox asks us if we want to "resend the form + // POST check added in 1.1.x because Firefox 3.0 asks us if we want to "resend the form // data to the new location", which can be confusing for some users. - if ( $timeout == 0 && empty($_POST) ) + $is_firefox_3 = ( strstr(@$_SERVER['HTTP_USER_AGENT'], 'Firefox/3.') ) ? true : false; + if ( $timeout == 0 && ( empty($_POST) || !$is_firefox_3 ) ) { header('Location: ' . $url); header('Content-length: 0'); @@ -2288,7 +2289,7 @@ $list[] = $lower + $i; } } - $url = sprintf($result_url, '0'); + $url = sprintf($result_url, $start_add); $link = ( 0 == $current_page ) ? "" . $lang->get('paginate_btn_first') . "" : "« " . $lang->get('paginate_btn_first') . ""; $blk->assign_vars(array( 'CLASS'=>$cls, @@ -2330,7 +2331,7 @@ } - $inner .= '