PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.7.7
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.7.7
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 1.1.0 All 77 releases
fluent-community / app / Views / email / Default / _invitation.php

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

34 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) { exit;} // Exit if accessed directly ?>
2 <?php
3 /**
4 * @var string $invitee_name
5 * @var string $by_name
6 * @var string $by_email
7 * @var string $site_title
8 * @var string $access_url
9 */
10 $fluentCommunityInviteeName = $invitee_name ?? '';
11 $fluentCommunityByName = $by_name ?? '';
12 $fluentCommunitySiteTitle = $site_title ?? '';
13 $fluentCommunityAccessUrl = $access_url ?? '';
14 ?>
15 <div style="background-color: #ffffff; padding: 20px; border-radius: 8px;">
16 <?php /* translators: %s is replaced by the name of the user who is invited */ ?>
17 <p><?php echo esc_html(sprintf(__('Hey %s,', 'fluent-community'), $fluentCommunityInviteeName)); ?></p>
18 <p>
19 <?php
20 /* translators: %1$s is replaced by the name of the user who invited the user, %2$s is replaced by the title of the site */
21 echo wp_kses_post(sprintf(__('%1$s has invited you to join in %2$s.', 'fluent-community'),
22 '<strong>'.$fluentCommunityByName.'</strong>',
23 '<strong>'.$fluentCommunitySiteTitle.'</strong>'
24 ));
25 ?>
26 </p>
27
28 <p><?php esc_html_e('Click the link below to accept the invitation:', 'fluent-community'); ?></p>
29
30 <a href="<?php echo esc_url($fluentCommunityAccessUrl); ?>" style="background-color: #000000; color: #ffffff; padding: 10px 20px; text-align: center; border-radius: 5px; display: inline-block; text-decoration: none;">
31 <?php esc_html_e('Accept invitation', 'fluent-community'); ?>
32 </a>
33 </div>
34