# HG changeset patch # User rejo # Date 1203262706 0 # Node ID 0748816801b23e2784242b66c9c779bef383f911 # Parent a53200a76f9de891df2574a4ac4b23ecca9a3162 [feladat @ 123] Reverting to changeset:121. Problems that were fixed in changeset:122 were local problems only. diff -r a53200a76f9d -r 0748816801b2 edit.php --- a/edit.php Sun Feb 17 15:28:21 2008 +0000 +++ b/edit.php Sun Feb 17 15:38:26 2008 +0000 @@ -242,7 +242,7 @@
?id=" method="post"> @@ -250,7 +250,7 @@ diff -r a53200a76f9d -r 0748816801b2 inc/config-me.inc.php --- a/inc/config-me.inc.php Sun Feb 17 15:28:21 2008 +0000 +++ b/inc/config-me.inc.php Sun Feb 17 15:38:26 2008 +0000 @@ -64,9 +64,9 @@ // will be included, it will be used like: "style/$STYLE.css.php". $STYLE = "example"; -// $rowamount +// $ROWAMOUNT // Define which rowamount should be used in the listing of records. -$rowamount = 50; +$ROWAMOUNT = 50; /* DNS Record information */ diff -r a53200a76f9d -r 0748816801b2 inc/toolkit.inc.php --- a/inc/toolkit.inc.php Sun Feb 17 15:28:21 2008 +0000 +++ b/inc/toolkit.inc.php Sun Feb 17 15:38:26 2008 +0000 @@ -41,9 +41,10 @@ /************* * Constants * *************/ +define(ROWAMOUNT, $ROWAMOUNT); if (isset($_GET["start"])) { - define(ROWSTART, (($_GET["start"] - 1) * $rowamount)); + define(ROWSTART, (($_GET["start"] - 1) * ROWAMOUNT)); } else { define(ROWSTART, 0); } diff -r a53200a76f9d -r 0748816801b2 list_zones.php --- a/list_zones.php Sun Feb 17 15:28:21 2008 +0000 +++ b/list_zones.php Sun Feb 17 15:38:26 2008 +0000 @@ -28,10 +28,10 @@

"; - show_pages($doms,$rowamount); + show_pages($doms,ROWAMOUNT); echo ""; -if ($num_all_domains > $rowamount) +if ($num_all_domains > ROWAMOUNT) { echo "
"; show_letters(LETTERSTART); @@ -49,10 +49,10 @@

: .