equal
deleted
inserted
replaced
26 $doms = zone_count(0, LETTERSTART); |
26 $doms = zone_count(0, LETTERSTART); |
27 ?> |
27 ?> |
28 <h2><?php echo _('List all zones'); ?></h2> |
28 <h2><?php echo _('List all zones'); ?></h2> |
29 <?php |
29 <?php |
30 echo "<div class=\"showmax\">"; |
30 echo "<div class=\"showmax\">"; |
31 show_pages($doms,$rowamount); |
31 show_pages($doms,ROWAMOUNT); |
32 echo "</div>"; |
32 echo "</div>"; |
33 |
33 |
34 if ($num_all_domains > $rowamount) |
34 if ($num_all_domains > ROWAMOUNT) |
35 { |
35 { |
36 echo "<div class=\"showmax\">"; |
36 echo "<div class=\"showmax\">"; |
37 show_letters(LETTERSTART); |
37 show_letters(LETTERSTART); |
38 echo "</div>"; |
38 echo "</div>"; |
39 } |
39 } |
47 <th><?php echo _('Owner'); ?></th> |
47 <th><?php echo _('Owner'); ?></th> |
48 </tr> |
48 </tr> |
49 <tr> |
49 <tr> |
50 |
50 |
51 <?php |
51 <?php |
52 if ($num_all_domains < $rowamount) { |
52 if ($num_all_domains < ROWAMOUNT) { |
53 $doms = get_domains(0,"all",ROWSTART,$rowamount); |
53 $doms = get_domains(0,"all",ROWSTART,ROWAMOUNT); |
54 } else { |
54 } else { |
55 $doms = get_domains(0,LETTERSTART,ROWSTART,$rowamount); |
55 $doms = get_domains(0,LETTERSTART,ROWSTART,ROWAMOUNT); |
56 $num_show_domains = ($doms == -1) ? 0 : count($doms); |
56 $num_show_domains = ($doms == -1) ? 0 : count($doms); |
57 } |
57 } |
58 |
58 |
59 // If the user doesnt have any domains print a message saying so |
59 // If the user doesnt have any domains print a message saying so |
60 if ($doms < 0) |
60 if ($doms < 0) |
106 |
106 |
107 ?> |
107 ?> |
108 </table> |
108 </table> |
109 |
109 |
110 <?php |
110 <?php |
111 if ($num_all_domains < $rowamount) { |
111 if ($num_all_domains < ROWAMOUNT) { |
112 ?> |
112 ?> |
113 <p><?php printf(_('This lists shows all %s zones(s) you have access to.'), $num_all_domains); ?></p> |
113 <p><?php printf(_('This lists shows all %s zones(s) you have access to.'), $num_all_domains); ?></p> |
114 <?php |
114 <?php |
115 } |
115 } |
116 else |
116 else |