From 355efb9a7f74a2035f595bbd0d03375710d08587 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 25 Jan 2012 09:43:56 -0500 Subject: [PATCH] Merged revisions 2886-2909 from stable branch. --- interface/web/dns/dns_slave_edit.php | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/interface/web/dns/dns_slave_edit.php b/interface/web/dns/dns_slave_edit.php index dc43a4b..4564da1 100644 --- a/interface/web/dns/dns_slave_edit.php +++ b/interface/web/dns/dns_slave_edit.php @@ -106,6 +106,14 @@ } + if($this->id > 0) { + //* we are editing a existing record + $app->tpl->setVar("edit_disabled", 1); + $app->tpl->setVar("server_id_value", $this->dataRecord["server_id"]); + } else { + $app->tpl->setVar("edit_disabled", 0); + } + parent::onShowEnd(); } -- Gitblit v1.9.1