projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make our Date header RFC-compliant. Redundant timezone info does not comply with...
[squirrelmail.git]
/
functions
/
template
/
message_list_util.php
diff --git
a/functions/template/message_list_util.php
b/functions/template/message_list_util.php
index 8ffa17a4b8fd977fd00bb9f7331278ed47e12198..b2ea09e82451cea279bb6a48ccc12b8dddfe05a8 100644
(file)
--- a/
functions/template/message_list_util.php
+++ b/
functions/template/message_list_util.php
@@
-26,13
+26,13
@@
function calcMessageListColumnWidth($aOrder) {
$aWidthTpl = array(
SQM_COL_CHECK => 1,
SQM_COL_FROM => 25,
$aWidthTpl = array(
SQM_COL_CHECK => 1,
SQM_COL_FROM => 25,
- SQM_COL_DATE => 1
0
,
+ SQM_COL_DATE => 1
5
,
SQM_COL_SUBJ => 100,
SQM_COL_FLAGS => 2,
SQM_COL_SIZE => 5,
SQM_COL_PRIO => 1,
SQM_COL_ATTACHMENT => 1,
SQM_COL_SUBJ => 100,
SQM_COL_FLAGS => 2,
SQM_COL_SIZE => 5,
SQM_COL_PRIO => 1,
SQM_COL_ATTACHMENT => 1,
- SQM_COL_INT_DATE => 1
0
,
+ SQM_COL_INT_DATE => 1
5
,
SQM_COL_TO => 25,
SQM_COL_CC => 25,
SQM_COL_BCC => 25
SQM_COL_TO => 25,
SQM_COL_CC => 25,
SQM_COL_BCC => 25
@@
-174,13
+174,13
@@
function getPriorityIcon ($priority, $icon_theme_path) {
switch ($priority) {
case 1:
case 2:
switch ($priority) {
case 1:
case 2:
- $icon = getIcon($icon_theme_path, 'prio_high.png', create_span('!', 'high_priority'));
+ $icon = getIcon($icon_theme_path, 'prio_high.png', create_span('!', 'high_priority')
, _("High priority")
);
break;
case 5:
break;
case 5:
- $icon = getIcon($icon_theme_path, 'prio_low.png', create_span('↓', 'low_priority'));
+ $icon = getIcon($icon_theme_path, 'prio_low.png', create_span('↓', 'low_priority')
, _("Low priority")
);
break;
default:
break;
default:
- $icon = getIcon($icon_theme_path, 'transparent.png', '',
''
, 5);
+ $icon = getIcon($icon_theme_path, 'transparent.png', '',
_("Normal priority")
, 5);
break;
}
break;
}
@@
-200,9
+200,9
@@
function getAttachmentIcon ($attach, $icon_theme_path) {
$icon = '';
$icon_file = $attach ? 'attach.png' : 'transparent.png';
$icon = '';
$icon_file = $attach ? 'attach.png' : 'transparent.png';
+ $alt_text = $attach ? _("Attachment") : _("No attachment");
$text = $attach ? '+' : '';
$text = $attach ? '+' : '';
- $icon = getIcon($icon_theme_path, $icon_file, $text);
+ $icon = getIcon($icon_theme_path, $icon_file, $text
, $alt_text
);
return $icon;
}
return $icon;
}
-