| 1 |
<?php |
| 2 |
/** |
| 3 |
* Email template for the the Cost Tracking Notification Emails. |
| 4 |
* |
| 5 |
* To overwrite this template, make a new template with the same filename and place it in the ../wp-content/uploads/mainwp/templates/email/ directory. |
| 6 |
* |
| 7 |
* @package MainWP/Extensions |
| 8 |
*/ |
| 9 |
|
| 10 |
defined( 'ABSPATH' ) || exit; |
| 11 |
|
| 12 |
$child_site_tokens = false; |
| 13 |
|
| 14 |
if ( empty( $heading ) ) { |
| 15 |
$heading = 'MainWP Cost Tracker Notification'; |
| 16 |
} |
| 17 |
|
| 18 |
?> |
| 19 |
|
| 20 |
<!DOCTYPE html> |
| 21 |
<html lang="en"> |
| 22 |
<head> |
| 23 |
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" /> |
| 24 |
<title><?php echo esc_html( get_bloginfo( 'name', 'display' ) ); ?></title> |
| 25 |
</head> |
| 26 |
<body offset="0" style="margin:0;background-color:#f7f7f7;font-family:'Lato',sans-serif;"> |
| 27 |
<div id="mainwp-email-wrapper" style="padding: 30px 0;"> |
| 28 |
<?php |
| 29 |
/** |
| 30 |
* HTTP Check Email Header |
| 31 |
* |
| 32 |
* Fires at the top of the HTTP check (after update checks) email template. |
| 33 |
* |
| 34 |
* @since 4.0 |
| 35 |
*/ |
| 36 |
do_action( 'mainwp_module_cost_tracker_email_header' ); |
| 37 |
// old html style for email clients display. |
| 38 |
?> |
| 39 |
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" style="margin-top:30px;margin-bottom:30px;" aria-hidden="true"> |
| 40 |
<tr> |
| 41 |
<td align="center" valign="top"> |
| 42 |
<table border="0" cellpadding="0" cellspacing="0" width="600" style="background-color:#ffffff;border:1px solid #dedede;box-shadow: 0 1px 4px rgba(0,0,0,0.1);border-radius:3px;padding-bottom:30px;" aria-hidden="true"> |
| 43 |
<!-- Header --> |
| 44 |
<tr> |
| 45 |
<td style="text-align:center;vertical-align:top;"> |
| 46 |
<table style="border:0;width:600px;padding:0;border-spacing:0;"> |
| 47 |
<tr> |
| 48 |
<td id="header_wrapper" style="padding: 36px 48px; display: block; background: #1c1d1b;"> |
| 49 |
<h1 style="text-align:center;color:#fff;"><?php echo esc_html( $heading ); ?></h1> |
| 50 |
</td> |
| 51 |
</tr> |
| 52 |
</table> |
| 53 |
</td> |
| 54 |
</tr> |
| 55 |
<!-- End Header --> |
| 56 |
<!-- Body --> |
| 57 |
<tr> |
| 58 |
<td style="vertical-align:top;text-align:left;padding:30px 30px 0 30px;"> |
| 59 |
<br /><br /> |
| 60 |
<?php echo $content_text; //phpcs:ignore -- ok. ?> |
| 61 |
</td> |
| 62 |
</tr> |
| 63 |
<tr> |
| 64 |
<td style="vertical-align:top;text-align:left;padding:30px 30px 0 30px;"> |
| 65 |
</td> |
| 66 |
</tr> |
| 67 |
<!-- End Body --> |
| 68 |
</table> |
| 69 |
</td> |
| 70 |
</tr> |
| 71 |
</table> |
| 72 |
<div style="text-align:center;font-size:11px;margin-bottom:30px;"> |
| 73 |
<?php esc_html_e( 'Developed by', 'mainwp' ); ?> <a href="https://mainwp.com/" style="color:#7fb100;"><?php esc_html_e( 'MainWP', 'mainwp' ); ?></a>. <?php esc_html_e( 'Sent from your Dashboard.', 'mainwp' ); // NOSONAR - noopener - open safe. ?> |
| 74 |
</div> |
| 75 |
<?php |
| 76 |
/** |
| 77 |
* HTTP Check Email Footer |
| 78 |
* |
| 79 |
* Fires at the bottom of the HTTP check (after update checks) email template. |
| 80 |
* |
| 81 |
* @since 4.0 |
| 82 |
*/ |
| 83 |
do_action( 'mainwp_module_cost_tracker_email_footer' ); |
| 84 |
?> |
| 85 |
</div> |
| 86 |
</body> |
| 87 |
</html> |
| 88 |
<?php |
| 89 |
|