From 9e956a683be30ceef6c8f9ae1b38b153cb3956ea Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 11 Dec 2015 14:26:40 -0500 Subject: [PATCH] Update to add html markup for the page. --- controllers/front.php | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/controllers/front.php b/controllers/front.php index 4a9ed9d..03dc409 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -169,11 +169,50 @@ class staffords_employment_front $deps[] = $depTerm->name; } add_filter( 'wp_mail_content_type', array( $this, 'set_html_content_type' ) ); + $html_head = ' + + + + Online Application Form + + + +

+ + New Online Application Submission + +

+ + + + + + + + +
+ + '; + $html_foot = '
+
+ + + + +
+ + To ensure the delivery of these e-mails to your inbox, please add ' . $from . ' to your e-mail Address Book or Safe List. + +
+
+ + +'; wp_mail( $to, 'New Online Application Submission', - $message, + $html_head . nl2br( $message ) . $html_foot, $headers ); -- 2.17.1