| @@ -144,11 +144,13 @@ | ||
| 144 | 144 | <table role="presentation" border="0" cellpadding="0" cellspacing="0" |
| 145 | 145 | style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" |
| 146 | 146 | width="100%"> |
| 147 | 147 | <tr> |
| 148 | - <?php echo "<img src= '". $user->photo ."' title='hello'/>" ?> | |
| 149 | - | |
| 150 | - <span class="fbs-no-user">A</span> | |
| 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; ?> | |
| 151 | 153 | |
| 152 | 154 | <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" |
| 153 | 155 | valign="top"> |
| 154 | 156 | <p |
| @@ -172,10 +174,10 @@ | ||
| 172 | 174 | style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" |
| 173 | 175 | width="100%"> |
| 174 | 176 | <tr> |
| 175 | 177 | <td> |
| 176 | - <h3 style="margin-bottom: 0"> | |
| 177 | - <?php echo sprintf(__('We are here for you', 'fluent-boards'), 'Fluent Boards', esc_url(site_url())); ?> | |
| 178 | + <h3 style="margin-bottom: 0"> | |
| 179 | + <?php echo esc_html__('We are here for you', 'fluent-boards'); ?> | |
| 178 | 180 | </h3> |
| 179 | 181 | </td> |
| 180 | 182 | </tr> |
| 181 | 183 | <tr> |
| @@ -181,16 +183,14 @@ | ||
| 181 | 183 | <tr> |
| 182 | 184 | <td class="content-block" |
| 183 | 185 | style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; color: #999999; font-size: 12px; text-align: center;" |
| 184 | 186 | valign="top" align="center"> |
| 185 | - <span class="apple-link" | |
| 187 | + <span class="apple-link" | |
| 186 | 188 | style="color: #999999; font-size: 12px; text-align: center;"> |
| 187 | - <?php | |
| 188 | - echo sprintf(__('Feel free to contact us with any additional questions at support@fluentboards.com', 'fluent-boards'), 'Fluent Boards', esc_url(site_url())); | |
| 189 | - ?> | |
| 189 | + <?php echo esc_html__('Feel free to contact us with any additional questions at support@fluentboards.com', 'fluent-boards'); ?> | |
| 190 | 190 | </span> |
| 191 | 191 | <span class="apple-link" style="color: #6268F1; font-size: 12px; text-align: center;"> |
| 192 | - <?php echo sprintf(__('support@fluentboards.com', 'fluent-boards'), 'Fluent Boards', esc_url(site_url())); ?> | |
| 192 | + <?php echo esc_html__('support@fluentboards.com', 'fluent-boards'); ?> | |
| 193 | 193 | </span> |
| 194 | 194 | </td> |
| 195 | 195 | </tr> |
| 196 | 196 | </table> |