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
formidable / stripe / views / action-settings / paypal-shipping.php

paypal-shipping.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More trunk, at stripe/views/action-settings/paypal-shipping.php

52 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 $div_attrs = array(
7 'class' => 'frm_grid_container show_paypal',
8 );
9
10 ob_start();
11 FrmTransLitePaymentsController::maybe_hide_payment_setting( 'paypal', $form_action->post_content['gateway'] );
12 $div_attrs['class'] .= ob_get_clean();
13 ?>
14 <div <?php FrmAppHelper::array_to_html_params( $div_attrs, true ); ?>>
15 <h3>
16 <?php esc_html_e( 'Shipping Information', 'formidable' ); ?>
17 </h3>
18
19 <p class="frm6">
20 <label for="<?php echo esc_attr( $action_control->get_field_id( 'shipping_email' ) ); ?>">
21 <?php esc_html_e( 'Email', 'formidable' ); ?>
22 </label>
23 <input type="text" name="<?php echo esc_attr( $action_control->get_field_name( 'shipping_email' ) ); ?>" id="<?php echo esc_attr( $action_control->get_field_id( 'shipping_email' ) ); ?>" value="<?php echo esc_attr( $form_action->post_content['shipping_email'] ?? '' ); ?>" class="frm_not_email_to large-text" />
24 </p>
25 <p class="frm6">
26 <label for="<?php echo esc_attr( $action_control->get_field_id( 'shipping_address' ) ); ?>">
27 <?php esc_html_e( 'Address', 'formidable' ); ?>
28 </label>
29 <?php
30 $action_control->show_fields_dropdown(
31 $field_dropdown_atts,
32 array(
33 'name' => 'shipping_address',
34 'allowed_fields' => 'address',
35 )
36 );
37 ?>
38 </p>
39 <p class="frm6">
40 <label for="<?php echo esc_attr( $action_control->get_field_id( 'shipping_first_name' ) ); ?>">
41 <?php esc_html_e( 'First Name', 'formidable' ); ?>
42 </label>
43 <?php $action_control->show_fields_dropdown( $field_dropdown_atts, array( 'name' => 'shipping_first_name' ) ); ?>
44 </p>
45 <p class="frm6">
46 <label for="<?php echo esc_attr( $action_control->get_field_id( 'shipping_last_name' ) ); ?>">
47 <?php esc_html_e( 'Last Name', 'formidable' ); ?>
48 </label>
49 <?php $action_control->show_fields_dropdown( $field_dropdown_atts, array( 'name' => 'shipping_last_name' ) ); ?>
50 </p>
51 </div>
52