PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | stripe/views/action-settings/capture-payments-upsell.php +13 -1 6.5 → trunk View file →
@@ -1,10 +1,22 @@
1 1 <?php
2 2 if ( ! defined( 'ABSPATH' ) ) {
3 3 die( 'You are not allowed to call this page directly.' );
4 4 }
5 +
6 +$wrapper_atts = array_merge(
7 + array(
8 + 'class' => 'show_stripe frm_gateway_no_recur frm6 frm_show_upgrade frm_noallow',
9 + 'data-upgrade' => __( 'Additional Stripe settings', 'formidable' ),
10 + ),
11 + $upgrade_params
12 +);
13 +
14 +if ( isset( $selected_gateway ) && 'stripe' !== $selected_gateway ) {
15 + $wrapper_atts['style'] = 'display: none;';
16 +}
5 17 ?>
6 -<p class="frm_gateway_no_recur frm6 frm_show_upgrade frm_noallow" data-upgrade="<?php esc_attr_e( 'Additional Stripe settings', 'formidable' ); ?>" <?php FrmAppHelper::array_to_html_params( $upgrade_params, true ); ?>>
18 +<p <?php FrmAppHelper::array_to_html_params( $wrapper_atts, true ); ?>>
7 19 <label>
8 20 <?php esc_html_e( 'Capture Payment', 'formidable' ); ?>
9 21 </label>
10 22 <select disabled style="pointer-events: none;">