From ec09b18c9c44f85ceb6d9e7588a03a221cd1193f Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 12 Dec 2008 05:47:05 -0500 Subject: [PATCH] Disallow server changes for existing records in mail_domain_edit.php --- interface/web/sites/form/shell_user.tform.php | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/interface/web/sites/form/shell_user.tform.php b/interface/web/sites/form/shell_user.tform.php index 7ddc281..d9766a5 100644 --- a/interface/web/sites/form/shell_user.tform.php +++ b/interface/web/sites/form/shell_user.tform.php @@ -105,6 +105,12 @@ 'width' => '30', 'maxlength' => '255' ), + 'chroot' => array ( + 'datatype' => 'VARCHAR', + 'formtype' => 'SELECT', + 'default' => '', + 'value' => array('' => 'None', 'jailkit' => 'Jailkit', 'ssh-chroot' => 'SSH Chroot') + ), 'quota_size' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', @@ -138,7 +144,7 @@ ################################## # Begin Datatable fields ################################## - 'uid' => array ( + 'puser' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', @@ -149,7 +155,7 @@ 'width' => '30', 'maxlength' => '255' ), - 'gid' => array ( + 'pgroup' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', -- Gitblit v1.9.1