list_zones.php
changeset 108 b1015b3055af
parent 82 c255196bc447
child 119 f74e4f88b680
equal deleted inserted replaced
107:fee925b9bdef 108:b1015b3055af
    36 $count_zones_edit = zone_count_ng($perm_edit);
    36 $count_zones_edit = zone_count_ng($perm_edit);
    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 > ROWAMOUNT && $count_zones_all_letterstart == "0") {
       
    43 	echo "     <p>" . _('There are no zones to show in this listing.') . "</p>\n";
    42 } else {
    44 } else {
    43 	echo "     <div class=\"showmax\">\n";
    45 	echo "     <div class=\"showmax\">\n";
    44 	show_pages($count_zones_all_letterstart,ROWAMOUNT);
    46 	show_pages($count_zones_all_letterstart,ROWAMOUNT);
    45 	echo "     </div>\n";
    47 	echo "     </div>\n";
    46 
    48