PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 1.0.95
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v1.0.95
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 1.0.95, at app/Views/email/template.php

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