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 +8 -2 6.25 → trunk View file →
@@ -2,10 +2,16 @@
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' );
13 +
8 14 if ( ! $show_layout_setting ) {
9 15 $layout_setting_wrapper_atts['class'] .= ' frm_hidden';
10 16 }
11 17 ?>
@@ -10,9 +16,9 @@
10 16 }
11 17 ?>
12 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'] ); ?>" />
13 19 <div <?php FrmAppHelper::array_to_html_params( $layout_setting_wrapper_atts, true ); ?>>
14 - <p class="frm6">
20 + <p class="frm6 frm-mt-0">
15 21 <label for="<?php echo esc_attr( $action_control->get_field_id( 'layout' ) ); ?>">
16 22 <?php esc_html_e( 'Layout', 'formidable' ); ?>
17 23 </label>
18 24 <select name="<?php echo esc_attr( $action_control->get_field_name( 'layout' ) ); ?>" id="<?php echo esc_attr( $action_control->get_field_id( 'layout' ) ); ?>">