list_zones.php
changeset 76 0748816801b2
parent 75 a53200a76f9d
child 82 c255196bc447
--- 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 @@
    <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