PluginProbe ʕ •ᴥ•ʔ
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress / 3.1
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress v3.1
4.16.19 4.16.18 4.16.17 4.16.16 trunk 1.0 1.0.1 1.0.2 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5a 1.1.6 1.1.7 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4 1.4.1 1.4.2 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.7 1.7.1 1.7.2 1.8 1.8.1 1.8.10 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.10 1.9.11 1.9.12 1.9.13 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.1.9 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.2 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 3.0 3.1 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 3.1.18 3.1.19 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10.0 4.10.1 4.10.2 4.10.3 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.13.3 4.13.4 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.15.0 4.15.1 4.15.10 4.15.11 4.15.12 4.15.13 4.15.14 4.15.15 4.15.16 4.15.17 4.15.18 4.15.19 4.15.2 4.15.20 4.15.20.1 4.15.21 4.15.22 4.15.23 4.15.24 4.15.25 4.15.3 4.15.4 4.15.5 4.15.6 4.15.7 4.15.8 4.15.9 4.16.0 4.16.1 4.16.10 4.16.11 4.16.12 4.16.13 4.16.14 4.16.15 4.16.2 4.16.3 4.16.4 4.16.5 4.16.6 4.16.7 4.16.8 4.16.9 4.2.0 4.3.0 4.3.1 4.3.2 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.6.0 4.7.0 4.8.0 4.9.0
wp-user-avatar / src / Classes / default-email-template.php
wp-user-avatar / src / Classes Last commit date
AdminNotices.php 5 years ago AjaxHandler.php 5 years ago Autologin.php 5 years ago BuddyPressBbPress.php 5 years ago EditUserProfile.php 5 years ago ExtensionManager.php 5 years ago FileUploader.php 5 years ago FormPreviewHandler.php 5 years ago FormRepository.php 5 years ago FormShortcodeDefaults.php 5 years ago GDPR.php 5 years ago GlobalSiteAccess.php 5 years ago ImageUploader.php 5 years ago LoginAuth.php 5 years ago Miscellaneous.php 5 years ago ModifyRedirectDefaultLinks.php 5 years ago PPRESS_Session.php 5 years ago PROFILEPRESS_sql.php 5 years ago PasswordReset.php 5 years ago ProfileUrlRewrite.php 5 years ago RegistrationAuth.php 5 years ago SendEmail.php 5 years ago ShortcodeThemeFactory.php 5 years ago UserAvatar.php 5 years ago UserSignupLocationListingPage.php 5 years ago UsernameEmailRestrictLogin.php 5 years ago WelcomeEmailAfterSignup.php 5 years ago default-email-template.php 5 years ago index.php 5 years ago
default-email-template.php
294 lines
1 <?php
2
3 use ProfilePress\Core\Admin\SettingsPages\EmailSettings\DefaultTemplateCustomizer as DT;
4
5 $background_color = DT::get_customizer_value('background_color');
6 $background_text_color = DT::get_customizer_value('background_text_color');
7
8 $content_background_color = DT::get_customizer_value('content_background_color');
9 $content_text_color = DT::get_customizer_value('content_text_color');
10
11 $header = DT::get_customizer_value('header_text');
12 $logo_id = DT::get_customizer_value('header_logo');
13 if ( ! empty($logo_id)) {
14 $header = sprintf('<img src="%s">', wp_get_attachment_url($logo_id));
15 }
16
17 $footer_text = DT::get_customizer_value('footer_text');
18 ?>
19 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
20 <html>
21 <head>
22 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
23 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
24 <title><?= $email_subject ?></title>
25 <style type="text/css" rel="stylesheet" media="all">
26 @import url("https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap");
27
28 body {
29 width: 100% !important;
30 height: 100%;
31 margin: 0;
32 -webkit-text-size-adjust: none;
33 }
34
35 a {
36 color: #3869D4;
37 }
38
39 a img {
40 border: none;
41 }
42
43 td {
44 word-break: break-word;
45 }
46
47 /* Type ------------------------------ */
48
49 body,
50 td,
51 th {
52 font-family: "Nunito Sans", Helvetica, Arial, sans-serif;
53 }
54
55 h1 {
56 margin-top: 0;
57 color: #333333;
58 font-size: 22px;
59 font-weight: bold;
60 text-align: left;
61 }
62
63 h2 {
64 margin-top: 0;
65 color: #333333;
66 font-size: 16px;
67 font-weight: bold;
68 text-align: left;
69 }
70
71 h3 {
72 margin-top: 0;
73 color: #333333;
74 font-size: 14px;
75 font-weight: bold;
76 text-align: left;
77 }
78
79 td,
80 th {
81 font-size: 16px;
82 }
83
84 p,
85 ul,
86 ol,
87 blockquote {
88 margin: .4em 0 1.1875em;
89 font-size: 16px;
90 line-height: 1.625;
91 }
92
93 p.sub {
94 font-size: 13px;
95 }
96
97 /* Utilities ------------------------------ */
98
99 .align-right {
100 text-align: right;
101 }
102
103 .align-left {
104 text-align: left;
105 }
106
107 .align-center {
108 text-align: center;
109 }
110
111 /* Buttons ------------------------------ */
112
113 .button {
114 background-color: #3869D4;
115 border-top: 10px solid #3869D4;
116 border-right: 18px solid #3869D4;
117 border-bottom: 10px solid #3869D4;
118 border-left: 18px solid #3869D4;
119 display: inline-block;
120 color: #FFF;
121 text-decoration: none;
122 border-radius: 3px;
123 box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);
124 -webkit-text-size-adjust: none;
125 box-sizing: border-box;
126 }
127
128 .button--green {
129 background-color: #22BC66;
130 border-top: 10px solid #22BC66;
131 border-right: 18px solid #22BC66;
132 border-bottom: 10px solid #22BC66;
133 border-left: 18px solid #22BC66;
134 }
135
136 .button--red {
137 background-color: #FF6136;
138 border-top: 10px solid #FF6136;
139 border-right: 18px solid #FF6136;
140 border-bottom: 10px solid #FF6136;
141 border-left: 18px solid #FF6136;
142 }
143
144 @media only screen and (max-width: 500px) {
145 .button {
146 width: 100% !important;
147 text-align: center !important;
148 }
149 }
150
151 body {
152 background-color: <?=$background_color?>;
153 color: <?=$content_text_color?>;
154 }
155
156 p {
157 color: <?=$content_text_color?>;
158 }
159
160 .email-wrapper {
161 width: 100%;
162 margin: 0;
163 padding: 0;
164 -premailer-width: 100%;
165 -premailer-cellpadding: 0;
166 -premailer-cellspacing: 0;
167 background-color: <?=$background_color?>;
168 }
169
170 .email-content {
171 width: 100%;
172 margin: 0;
173 padding: 0;
174 -premailer-width: 100%;
175 -premailer-cellpadding: 0;
176 -premailer-cellspacing: 0;
177 }
178
179 /* Masthead ----------------------- */
180
181 .email-masthead {
182 padding: 25px 0;
183 text-align: center;
184 }
185
186 .email-masthead_name,
187 .email-masthead a.email-masthead_name {
188 font-size: 26px;
189 font-weight: bold;
190 color: <?=$background_text_color?>;
191 text-decoration: none;
192 }
193
194 /* Body ------------------------------ */
195
196 .email-body {
197 width: 100%;
198 margin: 0;
199 padding: 0;
200 -premailer-width: 100%;
201 -premailer-cellpadding: 0;
202 -premailer-cellspacing: 0;
203 }
204
205 .email-body_inner {
206 width: 570px;
207 margin: 0 auto;
208 padding: 0;
209 -premailer-width: 570px;
210 -premailer-cellpadding: 0;
211 -premailer-cellspacing: 0;
212 background-color: <?=$content_background_color?>;
213 }
214
215 .email-footer {
216 width: 570px;
217 margin: 0 auto;
218 padding: 0;
219 -premailer-width: 570px;
220 -premailer-cellpadding: 0;
221 -premailer-cellspacing: 0;
222 text-align: center;
223 }
224
225 .email-footer,
226 .email-footer p {
227 color: <?=$background_text_color?>;
228 }
229
230 .content-cell {
231 padding: 45px;
232 }
233
234 /*Media Queries ------------------------------ */
235
236 @media only screen and (max-width: 600px) {
237 .email-body_inner,
238 .email-footer {
239 width: 100% !important;
240 }
241 }
242 </style>
243 <!--[if mso]>
244 <style type="text/css">
245 .f-fallback {
246 font-family: Arial, sans-serif;
247 }
248 </style>
249 <![endif]-->
250 </head>
251 <body>
252 <table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
253 <tr>
254 <td align="center">
255 <table class="email-content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
256 <tr>
257 <td class="email-masthead">
258 <a href="<?= apply_filters('ppress_default_email_template_logo_link', home_url()) ?>" class="f-fallback email-masthead_name">
259 <?= $header; ?>
260 </a>
261 </td>
262 </tr>
263 <!-- Email Body -->
264 <tr>
265 <td class="email-body" width="570" cellpadding="0" cellspacing="0">
266 <table class="email-body_inner" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
267 <!-- Body content -->
268 <tr>
269 <td class="content-cell">
270 <div class="f-fallback">
271 <?= $email_content; ?>
272 </div>
273 </td>
274 </tr>
275 </table>
276 </td>
277 </tr>
278 <tr>
279 <td>
280 <table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
281 <tr>
282 <td class="content-cell" align="center">
283 <p class="f-fallback sub align-center"><?= $footer_text ?></p>
284 </td>
285 </tr>
286 </table>
287 </td>
288 </tr>
289 </table>
290 </td>
291 </tr>
292 </table>
293 </body>
294 </html>