some more patching the patch regarding compose-ability of messages within the subfolders of drafts

This commit is contained in:
Klaus Leithoff 2008-05-21 10:11:23 +00:00
parent cee98e9293
commit d8db45d46b

View File

@ -560,7 +560,7 @@
$headerCount = count($headers['header']);
}
if ($userPreferences['sentFolder'] == $this->mailbox || $userPreferences['draftFolder'] == $this->mailbox) {
if ($this->bofelamimail->isSentFolder($this->mailbox) || $this->bofelamimail->isDraftFolder($this->mailbox)) {
$this->t->set_var('lang_from',lang("to"));
} else {
$this->t->set_var('lang_from',lang("from"));
@ -570,7 +570,7 @@
$this->t->set_var('header_rows',
$uiwidgets->messageTable(
$headers,
($userPreferences['sentFolder'] == $this->mailbox || $userPreferences['draftFolder'] == $this->mailbox),
($this->bofelamimail->isSentFolder($this->mailbox) || $this->bofelamimail->isDraftFolder($this->mailbox)),
$this->mailbox,
$userPreferences['message_newwindow'],
$userPreferences['rowOrderStyle']