From b51b6a1f8a6db2b33779565599e11721ee0d94fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 13 May 2004 15:08:39 +0000 Subject: [PATCH] Repeat Go button every 15 rows globally and not per record. --- ChangeLog | 2 ++ tbl_change.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 572c0003d..16c907ea4 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ $Source$ for generating INSERT and UPDATE queries (also fixes bug #953250). * tbl_replace_fields.php: When field is not set, it is not set :-) (bug #953295). + * tbl_change.php: Repeat Go button every 15 rows globally and not per + record. 2004-05-12 Marc Delisle * db_details_structure.php: bug #951143, undefined $header_url_qry diff --git a/tbl_change.php b/tbl_change.php index 73ada4202..fc665a139 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -260,7 +260,7 @@ foreach($loop_array AS $vrowcount => $vrow) { // (wanted to use an and instead, // but it didn't worked because of the ) - if ((($i % 15) == 0) && ($i != 0)) { + if ((($o_rows * $fields_cnt + $i) % 15 == 0) && ($i + $o_rows != 0)) { ?>