| @@ -86,15 +86,9 @@ | ||
| 86 | 86 | |
| 87 | 87 | // Show Conditional logic indicator. |
| 88 | 88 | if ( ! FrmAppHelper::pro_is_installed() ) { |
| 89 | 89 | if ( 'email' === $form_action->post_excerpt ) { |
| 90 | - ?> | |
| 91 | - <h3> | |
| 92 | - <a href="javascript:void(0)" class="frm_show_upgrade frm_noallow" data-upgrade="<?php esc_attr_e( 'Email attachments', 'formidable' ); ?>" data-message="<?php esc_attr_e( 'Email a CSV or a PDF of each new entry, or attach a file of your choice.', 'formidable' ); ?>" data-medium="email-attachment"> | |
| 93 | - <?php esc_html_e( 'Attachment', 'formidable' ); ?> | |
| 94 | - </a> | |
| 95 | - </h3> | |
| 96 | - <?php | |
| 90 | + include FrmAppHelper::plugin_path() . '/classes/views/frm-form-actions/_email_attachment_upsell.php'; | |
| 97 | 91 | } |
| 98 | 92 | |
| 99 | 93 | $action_control->render_conditional_logic_call_to_action( $action_key ); |
| 100 | 94 | } |
| @@ -105,8 +99,9 @@ | ||
| 105 | 99 | $params = array( |
| 106 | 100 | 'class' => 'frm-h-stack-xs frm-bt-200 frm-py-md frm-mb-xs frm_show_upgrade', |
| 107 | 101 | 'data-upgrade' => __( 'Form action automations', 'formidable' ), |
| 108 | 102 | 'data-medium' => 'action-automation', |
| 103 | + 'data-content' => 'automation', | |
| 109 | 104 | ); |
| 110 | 105 | |
| 111 | 106 | if ( isset( $upgrading['url'] ) ) { |
| 112 | 107 | $params['data-oneclick'] = json_encode( $upgrading ); |
| @@ -141,9 +136,9 @@ | ||
| 141 | 136 | |
| 142 | 137 | if ( isset( $upgrading['url'] ) ) { |
| 143 | 138 | ?> |
| 144 | 139 | <p> |
| 145 | - <a href="javascript:void(0)" class="frm_show_upgrade frm-h-stack-xs" data-upgrade="<?php esc_attr_e( 'Form action logs', 'formidable' ); ?>" data-medium="action-logs" data-oneclick="<?php echo esc_attr( json_encode( $upgrading ) ); ?>"> | |
| 140 | + <a href="javascript:void(0)" class="frm_show_upgrade frm-h-stack-xs" data-upgrade="<?php esc_attr_e( 'Form action logs', 'formidable' ); ?>" data-medium="action-logs" data-content="logs" data-oneclick="<?php echo esc_attr( json_encode( $upgrading ) ); ?>"> | |
| 146 | 141 | <?php FrmAppHelper::icon_by_class( 'frmfont frm_tooltip_solid_icon', array( 'aria-hidden' => 'true' ) ); ?> |
| 147 | 142 | <?php esc_html_e( 'Install logging to get more information on API requests.', 'formidable' ); ?> |
| 148 | 143 | </a> |
| 149 | 144 | </p> |