| @@ -1,5 +1,13 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * Smart values upsell panel. | |
| 4 | + * | |
| 5 | + * @package Formidable | |
| 6 | + * | |
| 7 | + * @var array|string $upgrade_link Arguments or URL used to build the upgrade link. | |
| 8 | + */ | |
| 9 | + | |
| 2 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 11 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 12 | } |
| 5 | 13 | ?> |
| @@ -10,13 +18,12 @@ | ||
| 10 | 18 | $message = __( '%s are not available on your plan. Did you know you can upgrade to PRO to unlock more awesome features?', 'formidable' ); |
| 11 | 19 | printf( esc_html( $message ), '<span class="frm_feature_label">Smart tags</span>' ); |
| 12 | 20 | ?> |
| 13 | 21 | </p> |
| 14 | - <p> | |
| 22 | + <p class="frm-h-stack frm-justify-between frm-mt-md frm-mb-2xs"> | |
| 15 | 23 | <a href="<?php echo esc_url( FrmAppHelper::admin_upgrade_link( $upgrade_link ) ); ?>" class="button button-primary frm-button-primary" target="_blank" rel="noopener noreferrer"> |
| 16 | 24 | <?php esc_html_e( 'Upgrade', 'formidable' ); ?> |
| 17 | 25 | </a> |
| 18 | - | |
| 19 | 26 | <a href="<?php echo esc_url( FrmAppHelper::make_affiliate_url( FrmAppHelper::admin_upgrade_link( $upgrade_link, 'knowledgebase/install-formidable-forms/' ) ) ); ?>" target="_blank" class="frm-link-secondary alignright"> |
| 20 | 27 | <?php esc_html_e( 'Already purchased?', 'formidable' ); ?> |
| 21 | 28 | </a> |
| 22 | 29 | </p> |