From 6a8d0d8ece062b80628f7a4400c70d6942ab59ad Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 12 Mar 2009 13:29:52 -0400
Subject: [PATCH] improved opensuse install instructions and fixed template problems.

---
 interface/web/mail/mail_domain_edit.php |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/interface/web/mail/mail_domain_edit.php b/interface/web/mail/mail_domain_edit.php
index 477e0b7..a7b2da1 100644
--- a/interface/web/mail/mail_domain_edit.php
+++ b/interface/web/mail/mail_domain_edit.php
@@ -113,9 +113,10 @@
 		
 		if($this->id > 0) {
 			//* we are editing a existing record
-			$app->tpl->setVar("edit_disabled", 'disabled="disabled"');
+			$app->tpl->setVar("edit_disabled", 1);
+			$app->tpl->setVar("server_id_value", $this->dataRecord["server_id"]);
 		} else {
-			$app->tpl->setVar("edit_disabled", '');
+			$app->tpl->setVar("edit_disabled", 0);
 		}
 		
 		parent::onShowEnd();

--
Gitblit v1.9.1