--- a/list_zones.php Mon Feb 11 19:52:20 2008 +0000
+++ b/list_zones.php Sun Feb 17 15:28:21 2008 +0000
@@ -28,10 +28,10 @@
<h2><?php echo _('List all zones'); ?></h2>
<?php
echo "<div class=\"showmax\">";
- show_pages($doms,ROWAMOUNT);
+ show_pages($doms,$rowamount);
echo "</div>";
-if ($num_all_domains > ROWAMOUNT)
+if ($num_all_domains > $rowamount)
{
echo "<div class=\"showmax\">";
show_letters(LETTERSTART);
@@ -49,10 +49,10 @@
<tr>
<?php
-if ($num_all_domains < ROWAMOUNT) {
- $doms = get_domains(0,"all",ROWSTART,ROWAMOUNT);
+if ($num_all_domains < $rowamount) {
+ $doms = get_domains(0,"all",ROWSTART,$rowamount);
} else {
- $doms = get_domains(0,LETTERSTART,ROWSTART,ROWAMOUNT);
+ $doms = get_domains(0,LETTERSTART,ROWSTART,$rowamount);
$num_show_domains = ($doms == -1) ? 0 : count($doms);
}
@@ -108,7 +108,7 @@
</table>
<?php
-if ($num_all_domains < ROWAMOUNT) {
+if ($num_all_domains < $rowamount) {
?>
<p><?php printf(_('This lists shows all %s zones(s) you have access to.'), $num_all_domains); ?></p>
<?php