diff -r 391e744a1def -r 2a10febd6af9 list_zones.php
--- a/list_zones.php Sun May 18 11:51:59 2008 +0000
+++ b/list_zones.php Sun May 18 12:28:16 2008 +0000
@@ -58,6 +58,7 @@
echo "
" . _('Type') . " | \n";
echo " " . _('Records') . " | \n";
echo " " . _('Owner') . " | \n";
+ if ($iface_zonelist_serial == "1") echo " " . _('Serial') . " | \n";
echo " \n";
if ($count_zones_view <= $iface_rowamount) {
@@ -68,7 +69,8 @@
}
foreach ($zones as $zone)
{
- $zone_owners = get_fullnames_owners_from_domainid($zone["id"]);
+ $zone_owners = get_fullnames_owners_from_domainid($zone['id']);
+ if ($iface_zonelist_serial == "1") $serial = get_serial_by_zid($zone['id']);
echo " \n";
echo " \n";
@@ -84,6 +86,13 @@
echo " | " . strtolower($zone["type"]) . " | \n";
echo " " . $zone["count_records"] . " | \n";
echo " " . $zone_owners . " | \n";
+ if ($iface_zonelist_serial == "1") {
+ if ($serial != "") {
+ echo " " . $serial . " | \n";
+ } else {
+ echo " | \n";
+ }
+ }
echo "
\n";
}
echo " \n";