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