| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) { |
| 2 |
exit; |
| 3 |
} |
| 4 |
|
| 5 |
/** |
| 6 |
* Available variables |
| 7 |
* |
| 8 |
* @var string $accountUrl |
| 9 |
* @var string $contactUsUrl |
| 10 |
*/ |
| 11 |
?> |
| 12 |
<div class="tpt-alert"> |
| 13 |
|
| 14 |
<div class="tpt-alert__text"> |
| 15 |
<div class="tpt-alert__inner"> |
| 16 |
<?php |
| 17 |
esc_html_e( 'You are running premium version of the plugin!', 'tier-pricing-table' ); |
| 18 |
?> |
| 19 |
</div> |
| 20 |
</div> |
| 21 |
|
| 22 |
<div class="tpt-alert__buttons"> |
| 23 |
<div class="tpt-alert__inner"> |
| 24 |
<a class="tpt-button tpt-button--accent" href="<?php echo esc_attr( $accountUrl ); ?>"> |
| 25 |
<?php esc_html_e( 'My Account', 'tier-pricing-table' ); ?> |
| 26 |
</a> |
| 27 |
<a class="tpt-button tpt-button--default" href="<?php echo esc_attr( $contactUsUrl ); ?>"> |
| 28 |
<?php esc_html_e( 'Contact us', 'tier-pricing-table' ); ?> |
| 29 |
</a> |
| 30 |
</div> |
| 31 |
</div> |
| 32 |
</div> |