| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> |
| 2 |
<table width="100%" style="margin-bottom: 30px;" cellspacing="0" cellpadding="0" border="0"> |
| 3 |
<tr> |
| 4 |
<td> |
| 5 |
<table cellspacing="0" cellpadding="0" border="0"> |
| 6 |
<tr> |
| 7 |
<td valign="top" style="border-radius: 50%; padding: 4px; vertical-align: top; height: 32px; width: 32px;"> |
| 8 |
<a href="<?php echo esc_url($permalink); ?>"> |
| 9 |
<img alt="" src="<?php echo esc_url($user_avatar); ?>" height="32" width="32" style="border-radius: 50%; height: 32px; width: 32px; display: block;"> |
| 10 |
</a> |
| 11 |
</td> |
| 12 |
<td style="font-family: Arial, sans-serif; font-size: 16px;color: #333; padding-left: 5px; vertical-align: middle;"> |
| 13 |
<span style="font-weight: bold;"><?php echo esc_html($user_name); ?></span> |
| 14 |
<span><?php esc_html_e('commented on:', 'fluent-community'); ?></span> |
| 15 |
<a target="_blank" style="color: <?php echo esc_attr($linkColor); ?>; text-decoration: underline;" href="<?php echo esc_url($permalink); ?>"> |
| 16 |
<?php echo wp_kses_post($post_content); ?> |
| 17 |
</a> |
| 18 |
</td> |
| 19 |
</tr> |
| 20 |
</table> |
| 21 |
</td> |
| 22 |
</tr> |
| 23 |
<tr> |
| 24 |
<td style="font-family: Arial, sans-serif; font-size: 16px; line-height: 1.4; color: #333;"> |
| 25 |
<table style="background-color: #f7f7f7; margin: 10px 0" bgcolor="#f7f7f7" cellspacing="0" cellpadding="0" border="0" |
| 26 |
width="100%"> |
| 27 |
<tr> |
| 28 |
<td style="padding: 7px 20px;"> |
| 29 |
<?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($content, true); ?> |
| 30 |
</td> |
| 31 |
</tr> |
| 32 |
</table> |
| 33 |
</td> |
| 34 |
</tr> |
| 35 |
</table> |
| 36 |
|