mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* Mail: Fix missing SaveAll and DownloadAsZip actions of attachments
This commit is contained in:
parent
1b0c1b9960
commit
b6d673f98a
@ -2477,6 +2477,12 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
'smime_type' => $value['smime_type']
|
||||
);
|
||||
$attachmentHTML[$key]['link_save'] ="<a href='".Egw::link('/index.php',$linkData)."' title='".$attachmentHTML[$key]['filename']."'>".Api\Html::image('mail','fileexport')."</a>";
|
||||
// add save-all and download zip icon for first attachment only
|
||||
// if more than one attachments.
|
||||
if ($key == 0 && count($attachments) > 1)
|
||||
{
|
||||
$attachmentHTML[$key]['classSaveAllPossiblyDisabled'] = "";
|
||||
}
|
||||
}
|
||||
$attachmentHTMLBlock="<table width='100%'>";
|
||||
foreach ((array)$attachmentHTML as $row)
|
||||
|
Loading…
Reference in New Issue
Block a user