From 9994de85fcf14a98dcc54cc7399b87e34d9b3c29 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 17 Mar 2009 09:23:07 -0400
Subject: [PATCH] Updated all language files.

---
 interface/web/sites/shell_user_edit.php |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/interface/web/sites/shell_user_edit.php b/interface/web/sites/shell_user_edit.php
index d288baa..e2613cb 100644
--- a/interface/web/sites/shell_user_edit.php
+++ b/interface/web/sites/shell_user_edit.php
@@ -93,6 +93,13 @@
 		} else {
 			$app->tpl->setVar("username_prefix", $shelluser_prefix);
 		}
+		
+		if($this->id > 0) {
+			//* we are editing a existing record
+			$app->tpl->setVar("parent_domain_id_disabled", 'disabled="disabled"');
+		} else {
+			$app->tpl->setVar("parent_domain_id_disabled", '');
+		}
 
 		parent::onShowEnd();
 	}

--
Gitblit v1.9.1