diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-09-15 13:43:13 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-09-15 13:43:13 +0200 |
commit | 2efe332b495787dc5be77c3191ff319a62a56fca (patch) | |
tree | d26f8c1c0b464ce59e7b4c54fa918432f63eb458 /program/steps/mail/attachments.inc | |
parent | 1f22878608dcdcbffa6db82914d89cbd0d32b0e1 (diff) |
Display full attachment name using title attribute when name is too long to display (#1489320)
Diffstat (limited to 'program/steps/mail/attachments.inc')
-rw-r--r-- | program/steps/mail/attachments.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/program/steps/mail/attachments.inc b/program/steps/mail/attachments.inc index f83f6892e..85aa9542b 100644 --- a/program/steps/mail/attachments.inc +++ b/program/steps/mail/attachments.inc @@ -118,9 +118,12 @@ if (is_array($_FILES['_attachments']['tmp_name'])) { 'alt' => rcube_label('delete') )); } - else { + else if ($COMPOSE['textbuttons']) { $button = Q(rcube_label('delete')); } + else { + $button = ''; + } $content = html::a(array( 'href' => "#delete", |