PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 1.0.90
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v1.0.90
2.11.0 2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 All 78 releases
fluent-community / app / Views / email / Default / _user_post_content.php

_user_post_content.php in FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses 1.0.90, at app/Views/email/Default/_user_post_content.php

61 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
4 /**
5 * @var string $permalink
6 * @var string $user_avatar
7 * @var string $user_name
8 * @var string $community_name
9 * @var string $content
10 */
11
12 ?>
13 <table width="100%" cellspacing="0" cellpadding="0" border="0">
14 <tr>
15 <td style="text-align: left; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.4; color: #333;">
16 <table style="margin-bottom: 20px;" cellspacing="0" cellpadding="0" border="0" width="100%">
17 <tr>
18 <td align="left">
19 <table style="margin-bottom: 10px;" cellspacing="0" cellpadding="0" border="0">
20 <tr>
21 <td valign="top" style="border-radius: 50%; padding: 0px; vertical-align: top;">
22 <a href="<?php echo esc_url($permalink); ?>">
23 <img alt="" src="<?php echo esc_url($user_avatar); ?>" width="32" height="32" style="border-radius: 50%; display: block;">
24 </a>
25 </td>
26 <td style="font-family: Arial, sans-serif; font-size: 16px;color: #333; padding-left: 5px; vertical-align: middle;">
27 <a style="text-decoration: none; color: #333;" href="<?php echo esc_url($permalink); ?>">
28 <span style="font-weight: bold;"><?php echo esc_html($user_name); ?></span>
29 </a>
30 <?php if($space_name): ?>
31 <span style="font-family: Arial, sans-serif; font-size: 12px; font-weight: normal; margin: 0;"><?php echo esc_html(sprintf(__('in %s', 'fluent-community'), $space_name)); ?></span>
32 <?php endif; ?>
33
34 <?php if(!empty($timestamp)): ?>
35 <p style="font-family: Arial, sans-serif; font-size: 12px; font-weight: normal; margin: 0; margin-bottom: 0px;"><?php echo esc_html(sprintf(__('%s ago', 'fluent-community'), $timestamp)); ?></p>
36 <?php endif; ?>
37 </td>
38 </tr>
39 </table>
40 </td>
41 </tr>
42 <tr>
43 <td style="padding: 0; line-height: 1.4;font-family: Helvetica, sans-serif;">
44 <?php if($title): ?>
45 <a href="<?php echo esc_url($permalink); ?>" style="color: #1f3349; display: block; overflow: hidden; margin: 0; line-height: 1.2; padding: 0; text-decoration: none;">
46 <h2 style="color: #1f3349; display: block; font-size: 20px; overflow: hidden; margin: 0 0 10px 0; padding: 0; text-decoration: none;"><?php echo esc_html($title); ?></h2>
47 </a>
48 <?php endif; ?>
49 <?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($content, true); ?>
50 <?php if(!empty($show_read_more)): ?>
51 <a href="<?php echo esc_url($permalink); ?>" style="color: #1f3349;text-decoration: none;font-weight: bold;font-size: 14px;">
52 <?php echo esc_html__('...read more', 'fluent-community'); ?>
53 </a>
54 <?php endif; ?>
55 </td>
56 </tr>
57 </table>
58 </td>
59 </tr>
60 </table>
61