diff -r 5533c4fff98f -r 4ec5ab29f634 list_zones.php
--- a/list_zones.php Thu Jun 28 09:19:48 2007 +0000
+++ b/list_zones.php Mon Jul 02 23:01:18 2007 +0000
@@ -57,30 +57,39 @@
-if (level(5))
-{
+ if (level(5))
+ {
?>
">" alt="[ echo _('Edit zone') . " " . $c['name']; ?> ]">
">" alt="[ echo _('Delete zone') . " " . $c['name']; ?>]">
|
-}
-else
-{
+ }
+ else
+ {
?>
|
-}
+ }
?>
echo $c["name"] ?> |
echo strtolower(get_domain_type($c["id"])) ?> |
echo $c["numrec"] ?> |
- echo get_owners_from_domainid($c["id"]) ?> |
-
- print "\n";
+
+
+ $zone_owners = get_owners_from_domainid($c["id"]);
+ if ($zone_owners == "")
+ {
+ echo " | ";
+ }
+ else
+ {
+ print "".$zone_owners." | ";
+ }
+ print "\n";
}
}