summaryrefslogtreecommitdiff
path: root/program/steps/mail/upload.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-07-01 12:38:38 +0000
committerthomascube <thomas@roundcube.net>2006-07-01 12:38:38 +0000
commit50844277ca2ce9b98f5d732b07ffe7a4627ff72c (patch)
tree5fe05ba352d2a2d3b9a574d3df459a3c812e1914 /program/steps/mail/upload.inc
parent25d8ba63b3c4831050e5d190cd42cf2b0b0f3a30 (diff)
Changed label and icon for attachment removal and some styles
Diffstat (limited to 'program/steps/mail/upload.inc')
-rw-r--r--program/steps/mail/upload.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/upload.inc b/program/steps/mail/upload.inc
index 7fe7d3dcc..39164bb46 100644
--- a/program/steps/mail/upload.inc
+++ b/program/steps/mail/upload.inc
@@ -46,7 +46,7 @@ foreach ($_FILES['_attachments']['tmp_name'] as $i => $filepath)
'path' => $tmpfname);
$button = sprintf('<img src="%s/images/icons/remove-attachment.png" alt="%s" border="0" style="padding-right:2px;vertical-align:middle">', $CONFIG['skin_path'], rcube_label('delete'));
- $content = sprintf('<a href="#" onclick="%s.command(\\\'remove-attachment\\\',\\\'%s\\\')" title="%s">%s</a>%s',$JS_OBJECT_NAME, $_FILES['_attachments']['name'][$i], rcube_label('deletefolder'), $button, $_FILES['_attachments']['name'][$i]);
+ $content = sprintf('<a href="#" onclick="%s.command(\\\'remove-attachment\\\',\\\'%s\\\')" title="%s">%s</a>%s',$JS_OBJECT_NAME, $_FILES['_attachments']['name'][$i], rcube_label('delete'), $button, $_FILES['_attachments']['name'][$i]);
$response .= sprintf('parent.%s.add2attachment_list(\'%s\',\'%s\');',$JS_OBJECT_NAME, $_FILES['_attachments']['name'][$i], $content);
}
}