diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-21 07:33:38 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-21 07:33:38 +0000 |
| commit | 02e9db7bf4b6c54928b67c64c7f0f917f796487d (patch) | |
| tree | 5775354b10bd5473ac07b5dd1590326e174575be /roundcubemail/program/steps/mail/compose.inc | |
| parent | 15951c5754935be7252f2d2817ba27c1e4c2d4e8 (diff) | |
- use more 'html' class
git-svn-id: https://svn.roundcube.net/trunk@1870 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/compose.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/compose.inc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 9ff4190ab..830168c24 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -765,11 +765,10 @@ function rcmail_compose_attachment_form($attrib) function rcmail_compose_attachment_field($attrib) { - // allow the following attributes to be added to the <input> tag - $attrib_str = create_attrib_string($attrib, array('id', 'class', 'style', 'size')); - - $out = '<input type="file" name="_attachments[]"'. $attrib_str . " />"; - return $out; + $attrib['type'] = 'file'; + $attrib['name'] = '_attachments[]'; + $field = new html_inputfield($attrib); + return $field->show(); } |
