PluginProbe
FluentAuth – The Ultimate Authorization & Security Plugin for WordPress / trunk
FluentAuth – The Ultimate Authorization & Security Plugin for WordPress vtrunk
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 2.0.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.2
fluent-security / app / Views / notification.php

notification.php in FluentAuth – The Ultimate Authorization & Security Plugin for WordPress trunk, at app/Views/notification.php

160 lines 6.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined('ABSPATH') || exit;
2
3 /**
4 * @var string $body
5 * @var string $pre_header
6 * @var bool $show_footer
7 */
8 ?>
9 <!doctype html>
10 <html>
11 <head>
12 <meta name="viewport" content="width=device-width, initial-scale=1.0">
13 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
14 <style>
15 @media only screen and (max-width: 620px) {
16 table.body h1 {
17 font-size: 28px !important;
18 margin-bottom: 10px !important;
19 }
20
21 table.body p,
22 table.body ul,
23 table.body ol,
24 table.body td,
25 table.body span,
26 table.body a {
27 font-size: 16px !important;
28 }
29
30 table.body .wrapper,
31 table.body .article {
32 padding: 10px !important;
33 }
34
35 table.body .content {
36 padding: 0 !important;
37 }
38
39 table.body .container {
40 padding: 0 !important;
41 width: 100% !important;
42 }
43
44 table.body .main {
45 border-left-width: 0 !important;
46 border-radius: 0 !important;
47 border-right-width: 0 !important;
48 }
49
50 table.body .btn table {
51 width: 100% !important;
52 }
53
54 table.body .btn a {
55 width: 100% !important;
56 }
57
58 table.body .img-responsive {
59 height: auto !important;
60 max-width: 100% !important;
61 width: auto !important;
62 }
63 }
64 @media all {
65 .ExternalClass {
66 width: 100%;
67 }
68
69 .ExternalClass,
70 .ExternalClass p,
71 .ExternalClass span,
72 .ExternalClass font,
73 .ExternalClass td,
74 .ExternalClass div {
75 line-height: 100%;
76 }
77
78 .apple-link a {
79 color: inherit !important;
80 font-family: inherit !important;
81 font-size: inherit !important;
82 font-weight: inherit !important;
83 line-height: inherit !important;
84 text-decoration: none !important;
85 }
86
87 #MessageViewBody a {
88 color: inherit;
89 text-decoration: none;
90 font-size: inherit;
91 font-family: inherit;
92 font-weight: inherit;
93 line-height: inherit;
94 }
95
96 .btn-primary table td:hover {
97 background-color: #34495e !important;
98 }
99
100 .btn-primary a:hover {
101 background-color: #34495e !important;
102 border-color: #34495e !important;
103 }
104 }
105 </style>
106 </head>
107 <body style="background-color: #f6f6f6; font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.4; margin: 0; padding: 0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;">
108 <?php if(empty($pre_header)): ?>
109 <span class="preheader" style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;"><?php echo wp_kses_post($pre_header); ?></span>
110 <?php endif; ?>
111 <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f6f6f6; width: 100%;" width="100%" bgcolor="#f6f6f6">
112 <tr>
113 <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top">&nbsp;</td>
114 <td class="container" style="font-family: sans-serif; font-size: 14px; vertical-align: top; display: block; max-width: 580px; padding: 10px; width: 580px; margin: 0 auto;" width="580" valign="top">
115 <div class="content" style="box-sizing: border-box; display: block; margin: 0 auto; max-width: 580px; padding: 10px;">
116
117 <!-- START CENTERED WHITE CONTAINER -->
118 <table role="presentation" class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; border-radius: 3px; width: 100%;" width="100%">
119
120 <!-- START MAIN CONTENT AREA -->
121 <tr>
122 <td class="wrapper" style="font-family: sans-serif; font-size: 14px; vertical-align: top; box-sizing: border-box; padding: 20px;" valign="top">
123 <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%">
124 <tr>
125 <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top">
126 <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; margin-bottom: 15px;">
127 <?php echo wp_kses_post($body); ?>
128 </p>
129 </td>
130 </tr>
131 </table>
132 </td>
133 </tr>
134
135 <!-- END MAIN CONTENT AREA -->
136 </table>
137 <!-- END CENTERED WHITE CONTAINER -->
138
139 <?php if($show_footer): ?>
140 <!-- START FOOTER -->
141 <div class="footer" style="clear: both; margin-top: 10px; text-align: center; width: 100%;">
142 <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%">
143 <tr>
144 <td class="content-block" style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; color: #999999; font-size: 12px; text-align: center;" valign="top" align="center">
145 <?php /* translators: %s: Site URL */ ?>
146 <span class="apple-link" style="color: #999999; font-size: 12px; text-align: center;"><?php echo wp_kses_post(sprintf(__('This email has been sent from FluentAuth Security Plugin. Site: %s', 'fluent-security'), esc_url(site_url()))); ?></span>
147 </td>
148 </tr>
149 </table>
150 </div>
151 <!-- END FOOTER -->
152 <?php endif; ?>
153 </div>
154 </td>
155 <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top">&nbsp;</td>
156 </tr>
157 </table>
158 </body>
159 </html>
160