summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorThomas <tb@woodcrest.local>2013-10-09 12:04:17 +0200
committerThomas <tb@woodcrest.local>2013-10-09 12:04:17 +0200
commitf540f86d19ae1d374ba3c78fe11eaf3f771af150 (patch)
tree6e476ed01ed962a9e8fb638e5c60e9c04aecebfc /program/steps
parentd016dcc6f6a3daf8c19e2ececd3c676cd274381a (diff)
Prepare message list to display IMAP folder
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/func.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 48afecb60..b677c4675 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -363,6 +363,8 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $a_show_cols=null
$cont = show_bytes($header->$col);
else if ($col == 'date')
$cont = format_date($header->date);
+ else if ($col == 'folder')
+ $cont = Q(rcube_charset::convert($header->folder, 'UTF7-IMAP'));
else
$cont = Q($header->$col);
@@ -386,7 +388,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $a_show_cols=null
$a_msg_flags['prio'] = (int) $header->priority;
$a_msg_flags['ctype'] = Q($header->ctype);
- $a_msg_flags['mbox'] = $mbox;
+ $a_msg_flags['mbox'] = $header->folder;
// merge with plugin result (Deprecated, use $header->flags)
if (!empty($header->list_flags) && is_array($header->list_flags))