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/options.php +7 -2 6.26 → trunk View file →
@@ -2,10 +2,15 @@
2 2 if ( ! defined( 'ABSPATH' ) ) {
3 3 die( 'You are not allowed to call this page directly.' );
4 4 }
5 5
6 +if ( class_exists( 'FrmStrpHooksController', false ) ) {
7 + // Prevent the Layout setting from appearing twice when the Stripe add-on is active.
8 + return;
9 +}
10 +
6 11 $show_layout_setting = in_array( 'stripe', (array) $form_action->post_content['gateway'], true );
7 -$layout_setting_wrapper_atts = array( 'class' => 'frm_grid_container show_stripe' );
12 +$layout_setting_wrapper_atts = array( 'class' => 'frm_grid_container show_stripe frm-mb-xs' );
8 13
9 14 if ( ! $show_layout_setting ) {
10 15 $layout_setting_wrapper_atts['class'] .= ' frm_hidden';
11 16 }
@@ -11,9 +16,9 @@
11 16 }
12 17 ?>
13 18 <input type="hidden" name="<?php echo esc_attr( $action_control->get_field_name( 'plan_id' ) ); ?>" value="<?php echo esc_attr( $form_action->post_content['plan_id'] ); ?>" />
14 19 <div <?php FrmAppHelper::array_to_html_params( $layout_setting_wrapper_atts, true ); ?>>
15 - <p class="frm6">
20 + <p class="frm6 frm-mt-0">
16 21 <label for="<?php echo esc_attr( $action_control->get_field_id( 'layout' ) ); ?>">
17 22 <?php esc_html_e( 'Layout', 'formidable' ); ?>
18 23 </label>
19 24 <select name="<?php echo esc_attr( $action_control->get_field_name( 'layout' ) ); ?>" id="<?php echo esc_attr( $action_control->get_field_id( 'layout' ) ); ?>">