From 5307f2a1c5b12fa0c408d628c1ac7726201c794d Mon Sep 17 00:00:00 2001 From: thomasb Date: Fri, 29 May 2009 09:37:32 +0000 Subject: Better icon for deleting folders + remove hard-coded icon path git-svn-id: https://svn.roundcube.net/trunk@2567 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/steps/mail/compose.inc') diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 8d43de050..f753b35dd 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -716,11 +716,13 @@ function rcmail_compose_attachment_list($attrib) if (is_array($_SESSION['compose']['attachments'])) { - if ($attrib['deleteicon']) + if ($attrib['deleteicon']) { $button = html::img(array( 'src' => $CONFIG['skin_path'] . $attrib['deleteicon'], 'alt' => rcube_label('delete') - )); + )); + $_SESSION['compose']['deleteicon'] = $CONFIG['skin_path'] . $attrib['deleteicon']; + } else $button = Q(rcube_label('delete')); -- cgit v1.2.3