| 1 |
<?php |
| 2 |
/** |
| 3 |
* Base template for summary emails |
| 4 |
* |
| 5 |
* @since 6.7 |
| 6 |
* @package Formidable |
| 7 |
* |
| 8 |
* @var array $args Content args. |
| 9 |
*/ |
| 10 |
|
| 11 |
if ( ! defined( 'ABSPATH' ) ) { |
| 12 |
die( 'You are not allowed to call this page directly.' ); |
| 13 |
} |
| 14 |
|
| 15 |
$frm_settings = FrmAppHelper::get_settings(); |
| 16 |
?> |
| 17 |
|
| 18 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 19 |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office"> |
| 20 |
|
| 21 |
<head> |
| 22 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 23 |
<meta name="viewport" content="width=device-width, minimal-ui, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;"> |
| 24 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 25 |
<meta name="format-detection" content="telephone=no, date=no, email=no, address=no"> |
| 26 |
<meta name="x-apple-disable-message-reformatting"> |
| 27 |
<title></title> |
| 28 |
<!--[if (mso 16)]> <style type="text/css"> a { text-decoration: none; } </style> <![endif]--> |
| 29 |
<!--[if gte mso 9]> <style> sup { font-size: 100% !important; } </style> <![endif]--> |
| 30 |
<!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG></o:AllowPNG> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> |
| 31 |
<!--[if gte mso 9]><style>sup { font-size: 100% !important; }</style><![endif]--> |
| 32 |
<link rel="preconnect" href="https://fonts.googleapis.com" /> |
| 33 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
| 34 |
<?php // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet ?> |
| 35 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet" /> |
| 36 |
|
| 37 |
<!-- Some clients doesn't fully support <style> tag --> |
| 38 |
<style type="text/css"> |
| 39 |
.frm_inbox_dismiss { display: none; } |
| 40 |
|
| 41 |
.frm-button-primary { <?php echo esc_attr( FrmEmailSummaryHelper::get_button_style() ); ?> } |
| 42 |
</style> |
| 43 |
</head> |
| 44 |
|
| 45 |
<body style="background-color: #f2f4f7; color: #475467; font-family: 'Inter', Arial, sans-serif; padding: 4.375em 0;"> |
| 46 |
<div style="background-color: #fff; max-width: 42.5em; border-radius: 1em; margin: auto;"> |
| 47 |
%%INNER_CONTENT%% |
| 48 |
|
| 49 |
<div style="<?php echo esc_attr( FrmEmailSummaryHelper::get_section_style( '' ) ); ?>padding-top: 0;"> |
| 50 |
<table style="background-color: #FEF7F4; color: #501E0C; border-radius: 1em; line-height: 1.5; padding: 1em; width: 100%;"> |
| 51 |
<tr> |
| 52 |
<td><?php esc_html_e( 'Need help? Get in touch with our team', 'formidable' ); ?></td> |
| 53 |
<td align="right"> |
| 54 |
<a href="<?php echo esc_url( $args['support_url'] ); ?>" style="color: #F15A24; font-weight: 700; text-decoration: none;"><?php esc_html_e( 'Contact support', 'formidable' ); ?></a> |
| 55 |
</td> |
| 56 |
</tr> |
| 57 |
</table> |
| 58 |
</div> |
| 59 |
|
| 60 |
<div style="<?php echo esc_attr( FrmEmailSummaryHelper::get_section_style() ); ?>"> |
| 61 |
<a href="<?php echo esc_url( $args['unsubscribe_url'] ); ?>" style="color: currentColor; font-size: 0.75em; line-height: 1.33; font-weight: 500;"><?php esc_html_e( 'Unsubscribe', 'formidable' ); ?></a> |
| 62 |
</div> |
| 63 |
</div> |
| 64 |
</body> |
| 65 |
</html> |
| 66 |
|