--- 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 " <th>" . _('Type') . "</th>\n";
echo " <th>" . _('Records') . "</th>\n";
echo " <th>" . _('Owner') . "</th>\n";
+ if ($iface_zonelist_serial == "1") echo " <th>" . _('Serial') . "</th>\n";
echo " </tr>\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 " <tr>\n";
echo " <td>\n";
@@ -84,6 +86,13 @@
echo " <td class=\"y\">" . strtolower($zone["type"]) . "</td>\n";
echo " <td class=\"y\">" . $zone["count_records"] . "</td>\n";
echo " <td class=\"y\">" . $zone_owners . "</td>\n";
+ if ($iface_zonelist_serial == "1") {
+ if ($serial != "") {
+ echo " <td class=\"y\">" . $serial . "</td>\n";
+ } else {
+ echo " <td class=\"n\"> </td>\n";
+ }
+ }
echo " </tr>\n";
}
echo " </table>\n";