alecpl
2011-12-25 672dc411f9d26f557dbab0de4056714274a8fe92
- Add  password type field support in rcmail_get_edit_field() (#1488276)


1 files modified
3 ■■■■■ changed files
program/include/main.inc 3 ●●●●● patch | view | raw | blame | history
program/include/main.inc
@@ -856,6 +856,9 @@
    $input = new html_select($attrib);
    $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')