From fb430e55d273d451ace79f31408bf2143cac1977 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Tue, 1 Mar 2011 07:46:42 +0100 Subject: [PATCH] don't show input-fields for editing ftp@domain users as it should not be done, fixes #617 --- lib/formfields/customer/ftp/formfield.ftp_edit.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/formfields/customer/ftp/formfield.ftp_edit.php b/lib/formfields/customer/ftp/formfield.ftp_edit.php index 5015870e..ca154635 100644 --- a/lib/formfields/customer/ftp/formfield.ftp_edit.php +++ b/lib/formfields/customer/ftp/formfield.ftp_edit.php @@ -28,17 +28,6 @@ return array( 'type' => 'label', 'value' => $result['username'], ), - 'ftp_username' => array( - 'visible' => ($settings['customer']['ftpatdomain'] == '1' ? true : false), - 'label' => $lng['login']['username'], - 'type' => 'text' - ), - 'ftp_domain' => array( - 'visible' => ($settings['customer']['ftpatdomain'] == '1' ? true : false), - 'label' => $lng['domains']['domainname'], - 'type' => 'select', - 'select_var' => (isset($domains) ? $domains : ""), - ), 'path' => array( 'label' => $lng['panel']['path'], 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '
'.$pathSelect['value'] : ''),