summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/attachments.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-29 09:37:32 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-29 09:37:32 +0000
commit5307f2a1c5b12fa0c408d628c1ac7726201c794d (patch)
treeacb3daad600c6725cdc19da9565568bf7d584b7c /roundcubemail/program/steps/mail/attachments.inc
parent16ce907edc12afbe1bfedddfdf14733d45f9bddf (diff)
Better icon for deleting folders + remove hard-coded icon path
git-svn-id: https://svn.roundcube.net/trunk@2567 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/attachments.inc')
-rw-r--r--roundcubemail/program/steps/mail/attachments.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/attachments.inc b/roundcubemail/program/steps/mail/attachments.inc
index 81ac2fe5c..7cd089e04 100644
--- a/roundcubemail/program/steps/mail/attachments.inc
+++ b/roundcubemail/program/steps/mail/attachments.inc
@@ -91,7 +91,7 @@ if (is_array($_FILES['_attachments']['tmp_name'])) {
unset($attachment['status']);
$_SESSION['compose']['attachments'][$id] = $attachment;
- if (is_file($icon = $CONFIG['skin_path'] . '/images/icons/remove-attachment.png')) {
+ if (($icon = $_SESSION['compose']['deleteicon']) && is_file($icon)) {
$button = html::img(array(
'src' => $icon,
'alt' => rcube_label('delete')