Skip to content

Commit

Permalink
fix one image url and add tooltips to icons I did not understand righ…
Browse files Browse the repository at this point in the history
…t away
  • Loading branch information
ralfbecker committed Sep 16, 2024
1 parent 55186b7 commit 4747cb2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions mail/inc/class.mail_ui.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2052,7 +2052,7 @@ public function header2gridelements($_headers, $cols, $_folderName, $_folderType

$imageHTMLBlock = '';
//error_log(__METHOD__.__LINE__.array2string($header));
if (in_array("attachments", $cols))
if (in_array('attachments', $cols))
{
if (!empty($header['attachments']) && (in_array($header['mimetype'], array(
'multipart/mixed', 'multipart/signed', 'multipart/related', 'multipart/report',
Expand Down Expand Up @@ -2085,11 +2085,11 @@ public function header2gridelements($_headers, $cols, $_folderName, $_folderType
// show priority flag
if ($header['priority'] < 3)
{
$image = Api\Html::image('mail','prio_high');
$image = Api\Html::image('mail','prio_high', lang('High priority'));
}
elseif ($header['priority'] > 3)
{
$image = Api\Html::image('mail','prio_low');
$image = Api\Html::image('mail','prio_low', lang('Low priority'));
}
else
{
Expand All @@ -2099,9 +2099,9 @@ public function header2gridelements($_headers, $cols, $_folderName, $_folderType
$imageflagged ='';
if ($header['flagged'])
{
$imageflagged = Api\Html::image('mail','unread_flagged_small');
$imageflagged = Api\Html::image('mail','unread_flagged_small', lang('Unread'));
}
$data["attachments"] = $image.$attachmentFlag.$imageflagged; // icon for attachments available
$data['attachments'] = $image.$attachmentFlag.$imageflagged; // icon for attachments available
}

// sent or draft or template folder -> to address
Expand Down
2 changes: 2 additions & 0 deletions mail/lang/egw_de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ handling of external http images / mixed content in mails mail de Behandlung von
header mail de Kopfzeilen
header lines mail de Kopfzeilen anzeigen
high mail de hoch
high priority mail de Hohe Priorität
hold %1 to drag files to your computer mail de %1 halten um Dateien auf Ihren Computer zu ziehen
home page folders mail de Darstellung von E-Mails auf der Startseite
hostname or ip mail de Hostname oder IP
Expand Down Expand Up @@ -333,6 +334,7 @@ learning as spam failed because of %1 mail de Als Spam lernen fehlgeschlagen, da
less than mail de kleiner als
limit mailing list results when searching for addresses mail de Limitierung der Ergebnisse von Gruppen und Verteilerlisten bei der Suche nach Adressen
list of actions to be switched/activated on by default (eg. mail compose save as infolog action) mail de Liste der Aktionen, die standardmäßig eingeschaltet bzw. aktiviert werden sollen (z.B. E-Mail verfassen und als InfoLog speichern).
low priority mail de Niedrige Priorität
mail common de E-Mail
mail acl mail de Zugriffsrechte
mail filter mail de Filter
Expand Down
2 changes: 2 additions & 0 deletions mail/lang/egw_en.lang
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ handling of external http images / mixed content in mails mail en Handling of ex
header mail en Header
header lines mail en Header lines
high mail en High
high priority mail en High priority
hold %1 to drag files to your computer mail en Hold %1 to drag files to your computer
home page folders mail en home page folders
hostname or ip mail en Hostname or IP
Expand Down Expand Up @@ -333,6 +334,7 @@ learning as spam failed because of %1 mail en Learning as spam failed because of
less than mail en less than
limit mailing list results when searching for addresses mail en Limit mailing list results when searching for addresses
list of actions to be switched/activated on by default (eg. mail compose save as infolog action) mail en List of actions to be switched/activated on by default (eg. email compose "Save as InfoLog" action).
low priority mail en Low priority
mail common en Mail
mail acl mail en Email access rights
mail filter mail en Filter
Expand Down
2 changes: 1 addition & 1 deletion mail/templates/default/preview.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ blockquote blockquote blockquote blockquote blockquote blockquote{

.mail_externalImagesMsg button.closeBtn {
float: right;
background-image: url(../api/templates/default/images/close.svg);
background-image: url(../node_modules/bootstrap-icons/icons/x-lg.svg);
height: 30px;
width: 50px;
background-repeat: no-repeat;
Expand Down

0 comments on commit 4747cb2

Please sign in to comment.