From: Steve Sutton Date: Fri, 11 Dec 2015 19:26:40 +0000 (-0500) Subject: Update to add html markup for the page. X-Git-Tag: v0.3.3^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9e956a683be30ceef6c8f9ae1b38b153cb3956ea;p=WP-Plugins%2Fstaffords-employment.git Update to add html markup for the page. --- 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 );