diff -r 3673b1c9246c -r c795dd75a77e list_zones.php
--- a/list_zones.php Thu Apr 10 19:42:47 2008 +0000
+++ b/list_zones.php Fri Apr 11 10:19:14 2008 +0000
@@ -39,14 +39,14 @@
if ($perm_view == "none") {
echo "
" . _('You do not have the permission to see any zones.') . "
\n";
-} elseif ($count_zones_view > ROWAMOUNT && $count_zones_all_letterstart == "0") {
+} elseif ($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0") {
echo " " . _('There are no zones to show in this listing.') . "
\n";
} else {
echo " \n";
- show_pages($count_zones_all_letterstart,ROWAMOUNT);
+ show_pages($count_zones_all_letterstart,$iface_rowamount);
echo "
\n";
- if ($count_zones_view > ROWAMOUNT) {
+ if ($count_zones_view > $iface_rowamount) {
echo "";
show_letters(LETTERSTART);
echo "
";
@@ -61,10 +61,10 @@
echo " \n";
echo " \n";
- if ($count_zones_view <= ROWAMOUNT) {
- $zones = get_zones($perm_view,$_SESSION['userid'],"all",ROWSTART,ROWAMOUNT);
+ if ($count_zones_view <= $iface_rowamount) {
+ $zones = get_zones($perm_view,$_SESSION['userid'],"all",ROWSTART,$iface_rowamount);
} else {
- $zones = get_zones($perm_view,$_SESSION['userid'],LETTERSTART,ROWSTART,ROWAMOUNT);
+ $zones = get_zones($perm_view,$_SESSION['userid'],LETTERSTART,ROWSTART,$iface_rowamount);
$count_zones_shown = ($zones == -1) ? 0 : count($zones);
}
foreach ($zones as $zone)