PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.01
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.01
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
← All changes | app/Views/email/Default/_button.php +10 -3 2.4.012.10.01 View file →
@@ -1,12 +1,19 @@
1 -<?php if (!defined('ABSPATH')) exit; // Exit if accessed directly ?>
1 +<?php if (!defined('ABSPATH')) { exit;} // Exit if accessed directly ?>
2 +<?php
3 +/** @var string $link @var string $linkColor @var string $btnTextColor @var string $btnText */
4 +$fluentCommunityLink = $link ?? '';
5 +$fluentCommunityLinkColor = $linkColor ?? '';
6 +$fluentCommunityBtnTextColor = $btnTextColor ?? '';
7 +$fluentCommunityBtnText = $btnText ?? '';
8 +?>
2 9 <table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation"
3 10 style="margin-bottom:10px; margin-top:10px">
4 11 <tbody>
5 12 <tr>
6 13 <td>
7 - <a href="<?php echo esc_url($link); ?>" style="background-color:#0867ec;color:white;font-weight:700;padding-top:12px;padding-bottom:12px;padding-left:24px;padding-right:24px;border-radius:4px;text-decoration-line:none;text-align:center;box-sizing:border-box;line-height:100%;text-decoration:none;display:inline-block;max-width:100%;mso-padding-alt:0px;padding:12px 24px 12px 24px" target="_blank">
8 - <span style="max-width:100%;display:inline-block;color:white;line-height:120%;"><?php echo wp_kses_post($btnText); ?></span>
14 + <a href="<?php echo esc_url($fluentCommunityLink); ?>" style="background-color:<?php echo esc_attr($fluentCommunityLinkColor); ?>;color:<?php echo esc_attr($fluentCommunityBtnTextColor); ?>;font-weight:700;padding-top:12px;padding-bottom:12px;padding-left:24px;padding-right:24px;border-radius:8px;text-decoration-line:none;text-align:center;box-sizing:border-box;line-height:100%;text-decoration:none;display:inline-block;max-width:100%;mso-padding-alt:0px;padding:12px 24px 12px 24px" target="_blank">
15 + <span style="max-width:100%;display:inline-block;color:<?php echo esc_attr($fluentCommunityBtnTextColor); ?>;line-height:120%;"><?php echo wp_kses_post($fluentCommunityBtnText); ?></span>
9 16 </a>
10 17 </td>
11 18 </tr>
12 19 </tbody>