PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.7.0
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.7.0
2.11.0 2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 All 78 releases
fluent-community / app / Views / email / template.php

template.php in FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses 2.7.0, at app/Views/email/template.php

202 lines 8.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
2 <!doctype html>
3 <html lang="en">
4 <head>
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <style media="all" type="text/css">
8 @media all {
9 .btn-primary table td:hover {
10 background-color: #2B2E33 !important;
11 }
12
13 .btn-primary a:hover {
14 background-color: #2B2E33 !important;
15 border-color: #2B2E33 !important;
16 }
17 }
18 @media only screen and (max-width: 640px) {
19 .main p,
20 .main td,
21 .main span {
22 font-size: 16px !important;
23 }
24
25 .wrapper {
26 padding: 8px !important;
27 }
28
29 .content {
30 padding: 0 !important;
31 }
32
33 .container {
34 padding: 0 !important;
35 padding-top: 8px !important;
36 width: 100% !important;
37 }
38
39 .main {
40 border-left-width: 0 !important;
41 border-radius: 0 !important;
42 border-right-width: 0 !important;
43 }
44
45 .btn table {
46 max-width: 100% !important;
47 width: 100% !important;
48 }
49
50 .btn a {
51 font-size: 16px !important;
52 max-width: 100% !important;
53 width: 100% !important;
54 }
55 }
56 @media all {
57 .ExternalClass {
58 width: 100%;
59 }
60
61 .ExternalClass,
62 .ExternalClass p,
63 .ExternalClass span,
64 .ExternalClass font,
65 .ExternalClass td,
66 .ExternalClass div {
67 line-height: 100%;
68 }
69
70 .apple-link a {
71 font-family: inherit !important;
72 font-size: inherit !important;
73 font-weight: inherit !important;
74 line-height: inherit !important;
75 }
76
77 #MessageViewBody a {
78 color: inherit;
79 text-decoration: none;
80 font-size: inherit;
81 font-family: inherit;
82 font-weight: inherit;
83 line-height: inherit;
84 }
85
86 img.wp-smiley {
87 vertical-align: middle;
88 }
89 }
90
91 img {
92 max-width: 100%;
93 height: auto;
94 }
95
96 .footer p {
97 margin: 0;
98 margin-top: 8px;
99 padding: 0;
100 font-size: 14px;
101 color: #9a9ea6;
102 text-align: center;
103 }
104 .footer p a {
105 color: #9a9ea6;
106 text-decoration: underline;
107 }
108 .footer .powered_by a {
109 color: #8e8e90;
110 }
111
112 .user_contents p {
113 margin: 7px 0;
114 }
115
116 blockquote {
117 margin: 0;
118 padding: 0;
119 border-left: 4px solid #959595;
120 padding-left: 16px;
121 }
122
123 blockquote p {
124 margin: 3px 0;
125 }
126
127 <?php if(\FluentCommunity\App\Services\Helper::isRtl()): ?>
128 .fcom_email {
129 direction: rtl;
130 }
131 <?php endif; ?>
132
133 </style>
134 </head>
135 <body style="font-family: Helvetica, sans-serif; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.3; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; background-color: #f4f5f6; margin: 0; padding: 0;">
136 <table class="fcom_email" role="presentation" border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f4f5f6; width: 100%;" width="100%" bgcolor="#f4f5f6">
137 <?php if($logo): ?>
138 <tr>
139 <td></td>
140 <td>
141 <a href="<?php echo esc_url(\FluentCommunity\App\Services\Helper::baseUrl()); ?>">
142 <img src="<?php echo esc_url($logo['url']); ?>" alt="<?php echo esc_attr($logo['alt']); ?>" style="display: block; margin: 0 auto;max-height: 60px; padding: 0; width: auto; margin-top: 12px;">
143 </a>
144 </td>
145 <td></td>
146 </tr>
147 <?php endif; ?>
148 <tr>
149 <td style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;" valign="top">
150 &nbsp;
151 </td>
152 <td class="container" style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top; max-width: 600px; padding: 0; padding-top: 24px; width: 600px; margin: 0 auto;" width="600" valign="top">
153 <div class="content" style="box-sizing: border-box; display: block; margin: 0 auto; max-width: 600px; padding-bottom: 20px; padding: 0 0 20px;">
154 <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="fcom_email main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; border: 1px solid #eaebed; border-radius: 16px; width: 100%;" width="100%">
155 <tr>
156 <td>
157 <?php if(!empty($headingContent)): ?>
158 <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%">
159 <tr>
160 <td class="wrapper" style="font-family: Helvetica, sans-serif; font-size: 16px; line-height: 1.4; vertical-align: top; box-sizing: border-box; padding: 20px 20px 10px;" valign="top">
161 <?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($headingContent, true); ?>
162 </td>
163 </tr>
164 </table>
165 <?php endif; ?>
166
167 <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%">
168 <tr>
169 <td class="wrapper user_contents" style="font-family: Helvetica, sans-serif; font-size: 16px; line-height: 1.4; vertical-align: top; box-sizing: border-box; padding: 24px;" valign="top">
170 <!--email_content_before-->
171 <?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($bodyContent, true); ?>
172 <!--email_content_after-->
173 </td>
174 </tr>
175 </table>
176 </td>
177 </tr>
178 </table>
179 <!--before-footer-lines-->
180 <?php if($footerLines): ?>
181 <div class="footer" style="clear: both; padding-top: 24px; padding-bottom: 24px; text-align: center; width: 100%;">
182 <!--before_footer_section-->
183 <table class="fcom_email" role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%">
184 <?php foreach ($footerLines as $fluentCommunityLine): ?>
185 <tr>
186 <td class="content-block" style="font-family: Helvetica, sans-serif; vertical-align: top; color: #9a9ea6; font-size: 14px; text-align: center;" valign="top" align="center">
187 <span class="apple-link" style="color: #9a9ea6; font-size: 14px; text-align: center;"><?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($fluentCommunityLine, true); ?></span>
188 </td>
189 </tr>
190 <?php endforeach; ?>
191 </table>
192 </div>
193 <?php endif; ?>
194 <!--after-footer-lines-->
195 </div>
196 </td>
197 <td style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;" valign="top">&nbsp;</td>
198 </tr>
199 </table>
200 </body>
201 </html>
202