| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> |
| 2 |
<?php |
| 3 |
/** |
| 4 |
* @var $invitee_name string |
| 5 |
* @var $by_name string |
| 6 |
* @var $by_email string |
| 7 |
* @var $site_title string |
| 8 |
* @var $access_url string |
| 9 |
*/ |
| 10 |
?> |
| 11 |
<div style="background-color: #ffffff; padding: 20px; border-radius: 8px;"> |
| 12 |
<p><?php echo esc_html(sprintf(__('Hey %s,', $invitee_name), 'fluent-community')); ?></p> |
| 13 |
<p><?php |
| 14 |
echo wp_kses_post(sprintf( |
| 15 |
__('%1$s (%2$s) has invited you to join in %3$s.', 'fluent-community'), |
| 16 |
'<strong>'.$by_name.'</strong>', |
| 17 |
$by_email, |
| 18 |
'<strong>'.$site_title.'</strong>' |
| 19 |
)); |
| 20 |
?> |
| 21 |
</p> |
| 22 |
|
| 23 |
<p><?php esc_html_e('Click here to accept your invitation:', 'fluent-community') ?></p> |
| 24 |
|
| 25 |
<a href="<?php echo esc_url($access_url); ?>" style="background-color: #000000; color: #ffffff; padding: 10px 20px; text-align: center; border-radius: 5px; display: inline-block; text-decoration: none;"> |
| 26 |
<?php esc_html_e('Accept invitation', 'fluent-community'); ?> |
| 27 |
</a> |
| 28 |
|
| 29 |
<hr/> |
| 30 |
<p style="font-size: 12px; color: #666; text-align: left; padding-top: 20px;"> |
| 31 |
<?php esc_html_e('If you think you\'ve received this invitation in error, please ignore this email.', 'fluent-community'); ?> |
| 32 |
</p> |
| 33 |
</div> |
| 34 |
|