PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.6.01
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.6.01
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 1.1.0 All 77 releases
fluent-community / app / Views / email / template.php

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

201 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 {
87 max-width: 100%;
88 }
89
90 img.wp-smiley {
91 vertical-align: middle;
92 }
93 }
94
95 .footer p {
96 margin: 0;
97 margin-top: 8px;
98 padding: 0;
99 font-size: 14px;
100 color: #9a9ea6;
101 text-align: center;
102 }
103 .footer p a {
104 color: #9a9ea6;
105 text-decoration: underline;
106 }
107 .footer .powered_by a {
108 color: #8e8e90;
109 }
110
111 .user_contents p {
112 margin: 7px 0;
113 }
114
115 blockquote {
116 margin: 0;
117 padding: 0;
118 border-left: 4px solid #959595;
119 padding-left: 16px;
120 }
121
122 blockquote p {
123 margin: 3px 0;
124 }
125
126 <?php if(\FluentCommunity\App\Services\Helper::isRtl()): ?>
127 .fcom_email {
128 direction: rtl;
129 }
130 <?php endif; ?>
131
132 </style>
133 </head>
134 <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;">
135 <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">
136 <?php if($logo): ?>
137 <tr>
138 <td></td>
139 <td>
140 <a href="<?php echo esc_url(\FluentCommunity\App\Services\Helper::baseUrl()); ?>">
141 <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;">
142 </a>
143 </td>
144 <td></td>
145 </tr>
146 <?php endif; ?>
147 <tr>
148 <td style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;" valign="top">
149 &nbsp;
150 </td>
151 <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">
152 <div class="content" style="box-sizing: border-box; display: block; margin: 0 auto; max-width: 600px; padding-bottom: 20px; padding: 0 0 20px;">
153 <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%">
154 <tr>
155 <td>
156 <?php if(!empty($headingContent)): ?>
157 <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%">
158 <tr>
159 <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">
160 <?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($headingContent, true); ?>
161 </td>
162 </tr>
163 </table>
164 <?php endif; ?>
165
166 <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%">
167 <tr>
168 <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">
169 <!--email_content_before-->
170 <?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($bodyContent, true); ?>
171 <!--email_content_after-->
172 </td>
173 </tr>
174 </table>
175 </td>
176 </tr>
177 </table>
178 <!--before-footer-lines-->
179 <?php if($footerLines): ?>
180 <div class="footer" style="clear: both; padding-top: 24px; padding-bottom: 24px; text-align: center; width: 100%;">
181 <!--before_footer_section-->
182 <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%">
183 <?php foreach ($footerLines as $fluentCommunityLine): ?>
184 <tr>
185 <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">
186 <span class="apple-link" style="color: #9a9ea6; font-size: 14px; text-align: center;"><?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($fluentCommunityLine, true); ?></span>
187 </td>
188 </tr>
189 <?php endforeach; ?>
190 </table>
191 </div>
192 <?php endif; ?>
193 <!--after-footer-lines-->
194 </div>
195 </td>
196 <td style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;" valign="top">&nbsp;</td>
197 </tr>
198 </table>
199 </body>
200 </html>
201