From fe686efe6f4ba6affe8f07b74a380cd8fa3e1920 Mon Sep 17 00:00:00 2001
From: mike_p <mike_p@ispconfig3>
Date: Mon, 31 May 2010 05:27:45 -0400
Subject: [PATCH] make heading match other pages (ie use h2 instead of p)

---
 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