PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.11.0
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.11.0
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 +14 -10 1.0.932.11.0 View file →
@@ -1,16 +1,20 @@
1 -<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
2 -<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="btn btn-primary" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; box-sizing: border-box; width: 100%; min-width: 100%; margin-top: 10px;" width="100%">
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 +?>
9 +<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation"
10 + style="margin-bottom:10px; margin-top:10px">
3 11 <tbody>
4 12 <tr>
5 - <td align="left" style="font-family: Arial, sans-serif; font-size: 16px; vertical-align: top; padding-bottom: 16px;" valign="top">
6 - <table role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: auto;">
7 - <tbody>
8 - <tr>
9 - <td style="font-family: Arial, sans-serif; font-size: 16px; vertical-align: top; border-radius: 4px; text-align: center; background-color: #0867ec;" valign="top" align="center" bgcolor="#0867ec"> <a href="<?php echo esc_url($link); ?>" target="_blank" style="border: solid 2px #0867ec; border-radius: 4px; box-sizing: border-box; cursor: pointer; display: inline-block; font-size: 14px; font-weight: bold; margin: 0; padding: 12px 24px; text-decoration: none; background-color: #0867ec; border-color: #0867ec; color: #ffffff;"><?php echo wp_kses_post($btnText); ?></a></td>
10 - </tr>
11 - </tbody>
12 - </table>
13 + <td>
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>
16 + </a>
13 17 </td>
14 18 </tr>
15 19 </tbody>
16 20 </table>