PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.8.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.8.2
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / summary-emails / base.php

base.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.8.2, at classes/views/summary-emails/base.php

66 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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