equal
deleted
inserted
replaced
37 |
37 |
38 echo " <h2>" . _('List zones') . "</h2>\n"; |
38 echo " <h2>" . _('List zones') . "</h2>\n"; |
39 |
39 |
40 if ($perm_view == "none") { |
40 if ($perm_view == "none") { |
41 echo " <p>" . _('You do not have the permission to see any zones.') . "</p>\n"; |
41 echo " <p>" . _('You do not have the permission to see any zones.') . "</p>\n"; |
42 } elseif ($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0") { |
42 } elseif (($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0") || $count_zones_view == 0) { |
43 echo " <p>" . _('There are no zones to show in this listing.') . "</p>\n"; |
43 echo " <p>" . _('There are no zones to show in this listing.') . "</p>\n"; |
44 } else { |
44 } else { |
45 echo " <div class=\"showmax\">\n"; |
45 echo " <div class=\"showmax\">\n"; |
46 show_pages($count_zones_all_letterstart,$iface_rowamount); |
46 show_pages($count_zones_all_letterstart,$iface_rowamount); |
47 echo " </div>\n"; |
47 echo " </div>\n"; |