PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / 2.1.0
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration v2.1.0
2.1.0 2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 All 42 releases
← All changes | app/Views/notification.php +10 -10 1.312.1.0 View file →
@@ -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>