PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.8
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.8
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Views / email / failedIntegration / body.php

body.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.8, at app/Views/email/failedIntegration/body.php

239 lines 12.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined('ABSPATH') or die;
4
5 // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template variables in view files
6 ?>
7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
8 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
9 <html xmlns="http://www.w3.org/1999/xhtml"
10 style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
11 <head>
12 <meta name="viewport" content="width=device-width"/>
13 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
14 <title>Failed Integration Summary</title>
15 <style type="text/css">
16 .failed_notifications_summary {
17 width: 100%;
18 text-align: left;
19 border-collapse: collapse;
20 }
21
22 .failed_notifications_summary tr td {
23 border: 1px solid #e0e0e0;
24 padding: 4px 10px;
25 }
26
27 .failed_notifications_summary tr th {
28 border: 1px solid #e0e0e0;
29 padding: 8px 10px;
30 }
31
32 thead {
33 background: #f6f6f6;
34 }
35
36 img {
37 max-width: 100%;
38 }
39
40 body {
41 -webkit-font-smoothing: antialiased;
42 -webkit-text-size-adjust: none;
43 width: 100% !important;
44 height: 100%;
45 line-height: 1.6em;
46 }
47
48 body {
49 background-color: #f6f6f6;
50 }
51
52 @media only screen and (max-width: 640px) {
53 body {
54 padding: 0 !important;
55 }
56
57 h1 {
58 font-weight: 800 !important;
59 margin: 20px 0 5px !important;
60 }
61
62 h2 {
63 font-weight: 800 !important;
64 margin: 20px 0 5px !important;
65 }
66
67 h3 {
68 font-weight: 800 !important;
69 margin: 20px 0 5px !important;
70 }
71
72 h4 {
73 font-weight: 800 !important;
74 margin: 20px 0 5px !important;
75 }
76
77 h1 {
78 font-size: 22px !important;
79 }
80
81 h2 {
82 font-size: 18px !important;
83 }
84
85 h3 {
86 font-size: 16px !important;
87 }
88
89 .container {
90 padding: 0 !important;
91 width: 100% !important;
92 }
93
94 .content {
95 padding: 0 !important;
96 }
97
98 .content-wrap {
99 padding: 10px !important;
100 }
101
102 }
103 </style>
104 </head>
105 <body itemscope itemtype="http://schema.org/EmailMessage"
106 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;"
107 bgcolor="#f6f6f6">
108 <table class="body-wrap"
109 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;"
110 bgcolor="#f6f6f6">
111 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
112 <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
113 valign="top"></td>
114 <td class="container" width="600"
115 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;"
116 valign="top">
117 <div class="content"
118 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
119 <table class="main" width="100%" cellpadding="0" cellspacing="0"
120 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;"
121 bgcolor="#fff">
122 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
123 <td class="alert alert-warning"
124 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 16px; vertical-align: top; color: #fff; font-weight: 500; text-align: center; border-radius: 3px 3px 0 0; background-color: #b7a13a; margin: 0; padding: 20px;"
125 align="center" bgcolor="#FF9F00" valign="top">
126 <?php esc_html_e('Failed Integrations', 'fluentform'); ?>
127 </td>
128 </tr>
129 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
130 <td class="content-wrap"
131 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;"
132 valign="top">
133 <table width="100%" cellpadding="0" cellspacing="0"
134 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
135 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
136 <td class="content-block"
137 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
138 valign="top">
139 <?php esc_html_e('You have some integrations that did not run successfully! Please take necessary steps.', 'fluentform'); ?>
140 </td>
141 </tr>
142 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
143 <td class="content-block"
144 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
145 valign="top">
146 <table class="failed_notifications_summary">
147 <thead>
148 <tr>
149 <th><?php esc_html_e('Feed', 'fluentform'); ?></th>
150 <th><?php esc_html_e('Form', 'fluentform'); ?></th>
151 <th><?php esc_html_e('Log', 'fluentform'); ?></th>
152 <th><?php esc_html_e('Link', 'fluentform'); ?></th>
153 </tr>
154 </thead>
155 <tbody>
156 <?php
157 /** @var Failed integration feeds $failed_feeds */
158 $i = 0;
159 foreach ($failed_feeds as $feed) {
160 $i ++;
161 if ($i > 10) {
162 break;
163 }
164 ?>
165 <tr>
166 <td><?php echo esc_html($feed->integration_name); ?></td>
167 <td><?php echo esc_html($feed->form->title); ?></td>
168 <td><?php echo esc_html($feed->note); ?></td>
169 <td> <a href="<?php echo esc_url($feed->submission_link); ?>"><?php esc_html_e('View','fluentform')?></a></td>
170 </tr>
171 <?php } ?>
172 </tbody>
173 </table>
174 </td>
175 </tr>
176
177
178
179 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
180 <td class="content-block"
181 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
182 valign="top">
183 <?php
184 if (count($failed_feeds) > 10) {
185 $viewAllApiLogs = sprintf(
186 /* translators: 1: opening anchor tag, 2: here, 3: closing anchor tag */
187 __('You have more error logs, please click %1$s%2$s%3$s to review.', 'fluentform'),
188 '<a href="' . admin_url('admin.php?page=fluent_forms_transfer&status=failed&start_date='.$first_item_time.'&end_date='.$last_item_time.'&#apilogs') . '">',
189 __('here', 'fluentform'),
190 '</a>'
191 );
192
193 $viewAllApiLogs = apply_filters('fluentform/email_summary_body_view_api_logs', $viewAllApiLogs);
194 ?>
195 <?php
196 echo wp_kses_post($viewAllApiLogs);
197 }
198 ?>
199 </td>
200 </tr>
201 </table>
202 </td>
203 </tr>
204 </table>
205 <div class="footer"
206 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
207 <table width="100%"
208 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
209 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
210 <td class="aligncenter content-block"
211 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;"
212 align="center" valign="top">
213 <?php
214 $footerText = sprintf(
215 /* translators: 1: opening anchor tag, 2: closing anchor tag, 3: opening anchor tag, 4: closing anchor tag */
216 __('This email has been sent from %1$syour website%2$s via Fluent Forms. You can disable this email from %3$shere%4$s', 'fluentform'),
217 '<a href="' . site_url() . '">',
218 '</a>',
219 '<a href="' . admin_url('admin.php?page=fluent_forms_settings') . '">',
220 '</a>'
221 );
222 $footerText = apply_filters('fluentform/email_summary_footer_text', $footerText);
223 ?>
224 <p>
225 <?php echo wp_kses_post($footerText); ?>
226 </p>
227 </td>
228 </tr>
229 </table>
230 </div>
231 </div>
232 </td>
233 <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
234 valign="top"></td>
235 </tr>
236 </table>
237 </body>
238 </html>
239