#602570 by dww: Fix code style in _system_filetransfer_backend_form_common().
parent
2eb7c94ed5
commit
6cd77937db
|
@ -1404,24 +1404,20 @@ function _system_filetransfer_backend_form_common() {
|
||||||
'#title' => t('Host'),
|
'#title' => t('Host'),
|
||||||
'#default_value' => 'localhost',
|
'#default_value' => 'localhost',
|
||||||
);
|
);
|
||||||
|
$form['port'] = array(
|
||||||
$form['port'] = array (
|
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#title' => t('Port'),
|
'#title' => t('Port'),
|
||||||
'#default_value' => NULL,
|
'#default_value' => NULL,
|
||||||
);
|
);
|
||||||
|
$form['username'] = array(
|
||||||
$form['username'] = array (
|
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#title' => t('Username'),
|
'#title' => t('Username'),
|
||||||
);
|
);
|
||||||
|
$form['password'] = array(
|
||||||
$form['password'] = array (
|
|
||||||
'#type' => 'password',
|
'#type' => 'password',
|
||||||
'#title' => t('Password'),
|
'#title' => t('Password'),
|
||||||
'#description' => t('This is not saved in the database and is only used to test the connection'),
|
'#description' => t('This is not saved in the database and is only used to test the connection'),
|
||||||
);
|
);
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue