forked from extern/egroupware
Add title for filemode_icon and fix missing icons
This commit is contained in:
parent
50d02bff81
commit
a73884cdf8
@ -1380,6 +1380,7 @@ class mail_compose
|
|||||||
$attach['filemode_icon'] = !is_dir($attach['file']) &&
|
$attach['filemode_icon'] = !is_dir($attach['file']) &&
|
||||||
($content['filemode'] == Vfs\Sharing::READONLY || $content['filemode'] == Vfs\Sharing::WRITABLE)
|
($content['filemode'] == Vfs\Sharing::READONLY || $content['filemode'] == Vfs\Sharing::WRITABLE)
|
||||||
? Vfs\Sharing::LINK : $content['filemode'];
|
? Vfs\Sharing::LINK : $content['filemode'];
|
||||||
|
$attach['filemode_title'] = lang(Vfs\Sharing::$modes[$attach['filemode_icon']]['label']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$content['to'] = self::resolveEmailAddressList($content['to']);
|
$content['to'] = self::resolveEmailAddressList($content['to']);
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row class="row attachmentRow">
|
<row class="row attachmentRow">
|
||||||
<image src="$row_cont[filemode_icon]"/>
|
<image src="$row_cont[filemode_icon]" statustext="$row_cont[filemode_title]"/>
|
||||||
<description id="${row}[tmp_name]"/>
|
<description id="${row}[tmp_name]"/>
|
||||||
<description class="useEllipsis et2_link" id="${row}[name]" no_lang="1" onclick="app.mail.displayUploadedFile"/>
|
<description class="useEllipsis et2_link" id="${row}[name]" no_lang="1" onclick="app.mail.displayUploadedFile"/>
|
||||||
<vfs-size align="right" id="${row}[size]" />
|
<vfs-size align="right" id="${row}[size]" />
|
||||||
|
BIN
mail/templates/pixelegg/images/share_ro.png
Normal file
BIN
mail/templates/pixelegg/images/share_ro.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
BIN
mail/templates/pixelegg/images/share_rw.png
Normal file
BIN
mail/templates/pixelegg/images/share_rw.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Loading…
Reference in New Issue
Block a user