From 23b83608e8f9fbf0d9954d20f55171cea5c0690c Mon Sep 17 00:00:00 2001 From: mike_p <mike_p@ispconfig3> Date: Sat, 29 May 2010 16:12:57 -0400 Subject: [PATCH] Create ids for the html so that css styling can be used --- server/plugins-available/bind_plugin.inc.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/plugins-available/bind_plugin.inc.php b/server/plugins-available/bind_plugin.inc.php index 2438973..7262cc1 100644 --- a/server/plugins-available/bind_plugin.inc.php +++ b/server/plugins-available/bind_plugin.inc.php @@ -90,7 +90,7 @@ $dns_config = $app->getconf->get_server_config($conf["server_id"], 'dns'); //* Write the domain file - if(!empty($zone['id'])) { + if(!empty($data['new']['id'])) { $tpl = new tpl(); $tpl->newTemplate("bind_pri.domain.master"); @@ -129,7 +129,7 @@ global $app, $conf; //* load the server configuration options - $app->uses("getconf"); + $app->uses("getconf,tpl"); $dns_config = $app->getconf->get_server_config($conf["server_id"], 'dns'); //* rebuild the named.conf file -- Gitblit v1.9.1