Here Is Another Method Just Showing 1 Link To Click On Saying Download Attachment - filename
( ie [Download Attachment - roundcube.zip )
this is what the user will see not the filename which they were also able to click on as well as the download link, meaning it had 2 links to download the attachment
i come to an conclusion that i only needed 1 link and not 2 with the filename showing also
So here is how i achieved this method
Open show.inc ( program/steps/mail )
Find
$out .= sprintf('
%s'."\n",
htmlspecialchars($GET_URL),
$attach_prop->mime_id,
JS_OBJECT_NAME,
$attach_prop->mime_id,
$attach_prop->mimetype,
$attach_prop->filename);
Replace With
$out .= sprintf('
%s - %s'."\n",
htmlspecialchars($GET_URL),
$attach_prop->mime_id,
rcube_label('Download Attachment'),
$attach_prop->filename);
The Above Will Show [Download Attachment] - filename.zip
(instead of just file name without the filename being a link)
Hope This Helps