| 1 |
<?php if(!defined( 'ABSPATH' )) exit; // exit if accessed directly ?> |
| 2 |
<!doctype html> |
| 3 |
<html <?php language_attributes(); ?>> |
| 4 |
|
| 5 |
<head> |
| 6 |
<meta charset="<?php bloginfo( 'charset' ); ?>"> |
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 8 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 9 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 10 |
<style> |
| 11 |
@media only screen and (max-width: 620px) { |
| 12 |
table.body h1 { |
| 13 |
font-size: 28px !important; |
| 14 |
margin-bottom: 10px !important; |
| 15 |
} |
| 16 |
|
| 17 |
table.body p, |
| 18 |
table.body ul, |
| 19 |
table.body ol, |
| 20 |
table.body td, |
| 21 |
table.body span, |
| 22 |
table.body a { |
| 23 |
font-size: 16px !important; |
| 24 |
} |
| 25 |
|
| 26 |
table.body .wrapper, |
| 27 |
table.body .article { |
| 28 |
padding: 10px !important; |
| 29 |
} |
| 30 |
|
| 31 |
table.body .content { |
| 32 |
padding: 0 !important; |
| 33 |
} |
| 34 |
|
| 35 |
table.body .container { |
| 36 |
padding: 0 !important; |
| 37 |
width: 100% !important; |
| 38 |
} |
| 39 |
|
| 40 |
table.body .main { |
| 41 |
border-left-width: 0 !important; |
| 42 |
border-radius: 0 !important; |
| 43 |
border-right-width: 0 !important; |
| 44 |
} |
| 45 |
|
| 46 |
table.body .btn table { |
| 47 |
width: 100% !important; |
| 48 |
} |
| 49 |
|
| 50 |
table.body .btn a { |
| 51 |
width: 100% !important; |
| 52 |
} |
| 53 |
|
| 54 |
table.body .img-responsive { |
| 55 |
height: auto !important; |
| 56 |
max-width: 100% !important; |
| 57 |
width: auto !important; |
| 58 |
} |
| 59 |
} |
| 60 |
|
| 61 |
@media all { |
| 62 |
.ExternalClass { |
| 63 |
width: 100%; |
| 64 |
} |
| 65 |
|
| 66 |
.ExternalClass, |
| 67 |
.ExternalClass p, |
| 68 |
.ExternalClass span, |
| 69 |
.ExternalClass font, |
| 70 |
.ExternalClass td, |
| 71 |
.ExternalClass div { |
| 72 |
line-height: 100%; |
| 73 |
} |
| 74 |
|
| 75 |
.apple-link a { |
| 76 |
color: inherit !important; |
| 77 |
font-family: inherit !important; |
| 78 |
font-size: inherit !important; |
| 79 |
font-weight: inherit !important; |
| 80 |
line-height: inherit !important; |
| 81 |
text-decoration: none !important; |
| 82 |
} |
| 83 |
|
| 84 |
#MessageViewBody a { |
| 85 |
color: inherit; |
| 86 |
text-decoration: none; |
| 87 |
font-size: inherit; |
| 88 |
font-family: inherit; |
| 89 |
font-weight: inherit; |
| 90 |
line-height: inherit; |
| 91 |
} |
| 92 |
|
| 93 |
.btn-primary table td:hover { |
| 94 |
background-color: #34495e !important; |
| 95 |
} |
| 96 |
|
| 97 |
.btn-primary a:hover { |
| 98 |
background-color: #34495e !important; |
| 99 |
border-color: #34495e !important; |
| 100 |
} |
| 101 |
} |
| 102 |
.fbs-no-user { |
| 103 |
border: 1px solid gray; |
| 104 |
font-size: 50px; |
| 105 |
padding: 8px; |
| 106 |
border-radius: 100%; |
| 107 |
margin: 3px 0 0 5px; |
| 108 |
width: 90%; |
| 109 |
} |
| 110 |
</style> |
| 111 |
</head> |
| 112 |
|
| 113 |
<body |
| 114 |
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%;"> |
| 115 |
<span class="preheader" |
| 116 |
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> |
| 117 |
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body" |
| 118 |
style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f6f6f6; width: 100%;" |
| 119 |
width="100%" bgcolor="#f6f6f6"> |
| 120 |
<tr> |
| 121 |
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> |
| 122 |
<td class="container" |
| 123 |
style="font-family: sans-serif; font-size: 14px; vertical-align: top; display: block; max-width: 580px; padding: 10px; width: 580px; margin: 0 auto;" |
| 124 |
width="580" valign="top"> |
| 125 |
<div class="content" |
| 126 |
style="box-sizing: border-box; display: block; margin: 0 auto; max-width: 580px; padding: 10px;"> |
| 127 |
|
| 128 |
<!-- START CENTERED WHITE CONTAINER --> |
| 129 |
<table role="presentation" class="main" |
| 130 |
style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; border-radius: 3px; width: 100%;" |
| 131 |
width="100%"> |
| 132 |
|
| 133 |
<!-- <tr style="padding: 0; vertical-align: top; text-align: left;">--> |
| 134 |
<!-- <td align="center" valign="middle" class="header"--> |
| 135 |
<!-- style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; text-align: center; padding: 30px 30px 22px 30px;">--> |
| 136 |
<!-- </td>--> |
| 137 |
<!-- </tr>--> |
| 138 |
|
| 139 |
<!-- START MAIN CONTENT AREA --> |
| 140 |
<tr> |
| 141 |
<td class="wrapper" |
| 142 |
style="font-family: sans-serif; font-size: 14px; vertical-align: top; box-sizing: border-box; padding: 20px;" |
| 143 |
valign="top"> |
| 144 |
<table role="presentation" border="0" cellpadding="0" cellspacing="0" |
| 145 |
style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" |
| 146 |
width="100%"> |
| 147 |
<tr> |
| 148 |
<?php if (!empty($user->photo)) : ?> |
| 149 |
<?php echo '<img src="' . esc_url($user->photo) . '" alt="' . esc_attr($user->display_name ?? '') . '" title="' . esc_attr(__('User avatar', 'fluent-boards')) . '" />'; ?> |
| 150 |
<?php else: ?> |
| 151 |
<span class="fbs-no-user">A</span> |
| 152 |
<?php endif; ?> |
| 153 |
|
| 154 |
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" |
| 155 |
valign="top"> |
| 156 |
<p |
| 157 |
style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; margin-bottom: 15px;"> |
| 158 |
<?php echo wp_kses_post($body); ?> |
| 159 |
</p> |
| 160 |
</td> |
| 161 |
</tr> |
| 162 |
</table> |
| 163 |
</td> |
| 164 |
</tr> |
| 165 |
|
| 166 |
<!-- END MAIN CONTENT AREA --> |
| 167 |
</table> |
| 168 |
<!-- END CENTERED WHITE CONTAINER --> |
| 169 |
|
| 170 |
<?php if ($show_footer) { ?> |
| 171 |
<!-- START FOOTER --> |
| 172 |
<div class="footer" style="clear: both; margin-top: 10px; text-align: center; width: 100%;"> |
| 173 |
<table role="presentation" border="0" cellpadding="0" cellspacing="0" |
| 174 |
style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" |
| 175 |
width="100%"> |
| 176 |
<tr> |
| 177 |
<td> |
| 178 |
<h3 style="margin-bottom: 0"> |
| 179 |
<?php echo esc_html__('We are here for you', 'fluent-boards'); ?> |
| 180 |
</h3> |
| 181 |
</td> |
| 182 |
</tr> |
| 183 |
<tr> |
| 184 |
<td class="content-block" |
| 185 |
style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; color: #999999; font-size: 12px; text-align: center;" |
| 186 |
valign="top" align="center"> |
| 187 |
<span class="apple-link" |
| 188 |
style="color: #999999; font-size: 12px; text-align: center;"> |
| 189 |
<?php echo esc_html__('Feel free to contact us with any additional questions at support@fluentboards.com', 'fluent-boards'); ?> |
| 190 |
</span> |
| 191 |
<span class="apple-link" style="color: #6268F1; font-size: 12px; text-align: center;"> |
| 192 |
<?php echo esc_html__('support@fluentboards.com', 'fluent-boards'); ?> |
| 193 |
</span> |
| 194 |
</td> |
| 195 |
</tr> |
| 196 |
</table> |
| 197 |
</div> |
| 198 |
<!-- END FOOTER --> |
| 199 |
<?php } ?> |
| 200 |
</div> |
| 201 |
</td> |
| 202 |
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> |
| 203 |
</tr> |
| 204 |
</table> |
| 205 |
</body> |
| 206 |
|
| 207 |
</html> |