diff options
author | thomascube <thomas@roundcube.net> | 2011-12-16 18:38:59 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-12-16 18:38:59 +0000 |
commit | f94e442469deca30b39f3fa08aade83cbd0ede70 (patch) | |
tree | 33a1d290c73ff935ffc01eaf114deaa0203f2778 /program/steps/mail/attachments.inc | |
parent | e10f1385ec91b77b2114e1841697ef4cb46ba48b (diff) |
Add more classes and options to HTML elements for better styleability
Diffstat (limited to 'program/steps/mail/attachments.inc')
-rw-r--r-- | program/steps/mail/attachments.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/attachments.inc b/program/steps/mail/attachments.inc index ed4a81186..52de1c1f8 100644 --- a/program/steps/mail/attachments.inc +++ b/program/steps/mail/attachments.inc @@ -126,6 +126,7 @@ if (is_array($_FILES['_attachments']['tmp_name'])) { 'href' => "#delete", 'onclick' => sprintf("return %s.command('remove-attachment','rcmfile%s', this)", JS_OBJECT_NAME, $id), 'title' => rcube_label('delete'), + 'class' => 'delete', ), $button); $content .= Q($attachment['name']); @@ -134,6 +135,7 @@ if (is_array($_FILES['_attachments']['tmp_name'])) { 'html' => $content, 'name' => $attachment['name'], 'mimetype' => $attachment['mimetype'], + 'classname' => rcmail_filetype2classname($attachment['mimetype'], $attachment['name']), 'complete' => true), $uploadid); } else { // upload failed |