[feladat @ 249]
Added a small check to make sure a nice message is shown if the users does not have view access to any zone (in list_zones.php).
--- a/list_zones.php Mon Apr 28 18:18:06 2008 +0000
+++ b/list_zones.php Mon Apr 28 18:47:19 2008 +0000
@@ -39,7 +39,7 @@
if ($perm_view == "none") {
echo " <p>" . _('You do not have the permission to see any zones.') . "</p>\n";
-} elseif ($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0") {
+} elseif (($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0") || $count_zones_view == 0) {
echo " <p>" . _('There are no zones to show in this listing.') . "</p>\n";
} else {
echo " <div class=\"showmax\">\n";