diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-09-01 04:56:12 -0700 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-09-01 04:56:12 -0700 |
commit | 471628e9ab6d6414712ee1c2e91ba958295d70e2 (patch) | |
tree | ab5aa08d0ceee40ae8f75a44d0be7ddf05ec7698 /program | |
parent | 993cb6627bc70e86fa8c3db1e21272834fcc3fb3 (diff) | |
parent | df618da530cccfcf5829abe009df875f57cbf8ec (diff) |
Merge pull request #101 from Dennis1993/patch-9
Removed not allowed syntax
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/compose.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/func.inc | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index e0b808e62..7068a25fd 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -1420,7 +1420,7 @@ function rcmail_compose_attachment_form($attrib) $out = html::div($attrib, $OUTPUT->form_tag(array('id' => $attrib['id'].'Frm', 'name' => 'uploadform', 'method' => 'post', 'enctype' => 'multipart/form-data'), - html::div(null, rcmail_compose_attachment_field(array('size' => $attrib['attachmentfieldsize']))) . + html::div(null, rcmail_compose_attachment_field()) . html::div('hint', rcube_label(array('name' => 'maxuploadsize', 'vars' => array('size' => $max_filesize)))) . (get_boolean($attrib['buttons']) ? html::div('buttons', $button->show(rcube_label('close'), array('class' => 'button', 'onclick' => "$('#$attrib[id]').hide()")) . ' ' . diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index d18f50fa4..018a31b84 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1926,7 +1926,6 @@ function rcmail_message_import_form($attrib = array()) $fileinput = new html_inputfield(array( 'type' => 'file', 'name' => '_file[]', - 'size' => $attrib['attachmentfieldsize'], 'multiple' => 'multiple', 'accept' => ".eml, .mbox, message/rfc822, text/*", )); |