1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Added mail preview window to admin->mailout.

This commit is contained in:
Cameron
2014-10-18 03:19:45 -07:00
parent 9eb415abae
commit f689d6ae9c
4 changed files with 49 additions and 3 deletions

View File

@@ -890,7 +890,9 @@ class mailoutAdminClass extends e107MailManager
if($k == 'mail_body')
{
$text .= $tp->toHtml($val,true);
// $text .= print_a($mailSource,true);
// $text .= $tp->toHtml($val,true);
$text .= "<iframe src='".e_ADMIN."mailout.php?mode=main&action=preview&id=".$mailSource['mail_source_id']."' width='100%' height='350'>Loading...</iframe>";
continue;
}