Changeset 2431 in subversion for trunk/roundcubemail/program/steps/mail/attachments.inc
- Timestamp:
- Apr 27, 2009 3:24:11 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/attachments.inc
r2401 r2431 80 80 'path' => $filepath, 81 81 'name' => $_FILES['_attachments']['name'][$i], 82 'mimetype' => rc_mime_content_type($ tmpfname, $_FILES['_attachments']['type'][$i])82 'mimetype' => rc_mime_content_type($filepath, $_FILES['_attachments']['type'][$i]) 83 83 ); 84 84 85 85 $attachment = $RCMAIL->plugins->exec_hook('upload_attachment', $attachment); 86 86 87 if ($attachment['status']) { 87 88 $id = $attachment['id']; … … 94 95 $button = html::img(array( 95 96 'src' => $icon, 96 'alt' => rcube_label('delete'), 97 'style' => "padding-right:2px;vertical-align:middle", 97 'alt' => rcube_label('delete') 98 98 )); 99 99 }
Note: See TracChangeset
for help on using the changeset viewer.
