- Add password type field support in rcmail_get_edit_field() (#1488276)

pull/1/head
alecpl 13 years ago
parent 4f1b7a447d
commit 672dc411f9

@ -857,6 +857,9 @@ function rcmail_get_edit_field($col, $value, $attrib, $type='text')
$input->add('---', '');
$input->add(array_values($attrib['options']), array_keys($attrib['options']));
}
else if ($attrib['type'] == 'password') {
$input = new html_passwordfield($attrib);
}
else {
if ($attrib['type'] != 'text' && $attrib['type'] != 'hidden')
$attrib['type'] = 'text';

Loading…
Cancel
Save