From 7745ae9dfd2fa66e06874d54eeb85f292b95abb9 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Tue, 6 Aug 2013 19:17:38 +0200 Subject: Update compose.inc Deleted size Attribute for file input --- program/steps/mail/compose.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index c9d8c0b45..246cb88bf 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -1422,7 +1422,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()")) . ' ' . -- cgit v1.2.3 From 0822c46ad6ea6410c5e0ae748b4b525039704735 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Tue, 6 Aug 2013 19:18:17 +0200 Subject: Update func.inc deleted size attribute in file input --- program/steps/mail/func.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'program') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index e14d25ee3..39037d959 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1924,7 +1924,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/*", )); -- cgit v1.2.3