diff --git a/manager/application/views/scripts/mail/full.phtml b/manager/application/views/scripts/mail/full.phtml index 1bfed87..01d8ff2 100644 --- a/manager/application/views/scripts/mail/full.phtml +++ b/manager/application/views/scripts/mail/full.phtml @@ -23,14 +23,14 @@ else { headers as $header) { - print " \n"; - print " detailslink . "\">" . $header->fromaddress . ""; - print " " . $header->toaddress . ""; - print " " . $header->subject . ""; - print " " . $header->date . ""; - print " " . $header->Size . ""; - print " deletelink . "\">"; - print " \n"; + print " \n"; + print " detailslink . "\">" . $header->fromaddress . ""; + print " " . $header->toaddress . ""; + print " " . htmlspecialchars(quoted_printable_decode($header->subject), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') . ""; + print " " . $header->date . ""; + print " " . $header->Size . ""; + print " deletelink . "\">"; + print " \n"; } } ?> diff --git a/manager/application/views/scripts/mail/index.phtml b/manager/application/views/scripts/mail/index.phtml index 427d0e9..3eecfdc 100644 --- a/manager/application/views/scripts/mail/index.phtml +++ b/manager/application/views/scripts/mail/index.phtml @@ -23,14 +23,14 @@ else { headers as $header) { - print " \n"; - print " detailslink . "\">" . $header->fromaddress . ""; - print " " . $header->toaddress . ""; - print " " . $header->subject . ""; - print " " . $header->date . ""; - print " " . $header->Size . ""; - print " deletelink . "\">"; - print " \n"; + print " \n"; + print " detailslink . "\">" . $header->fromaddress . ""; + print " " . $header->toaddress . ""; + print " " . htmlspecialchars(quoted_printable_decode($header->subject), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') . ""; + print " " . $header->date . ""; + print " " . $header->Size . ""; + print " deletelink . "\">"; + print " \n"; } } ?>