list_zones.php
changeset 143 bef105ffb017
parent 136 c795dd75a77e
child 163 32d4c63c50c9
equal deleted inserted replaced
142:edd0c3ee3e1d 143:bef105ffb017
    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";