| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<p> |
| 7 |
<label for="address_type_<?php echo esc_attr( $field['id'] ); ?>"> |
| 8 |
<?php esc_html_e( 'Address Type', 'formidable' ); ?> |
| 9 |
</label> |
| 10 |
|
| 11 |
<select name="field_options[address_type_<?php echo esc_attr( $field['id'] ); ?>]" id="address_type_<?php echo esc_attr( $field['id'] ); ?>"> |
| 12 |
<option value="international" <?php selected( $field['address_type'], 'international' ); ?>> |
| 13 |
<?php esc_html_e( 'International', 'formidable' ); ?> |
| 14 |
</option> |
| 15 |
<option value="us" <?php selected( $field['address_type'], 'us' ); ?>> |
| 16 |
<?php esc_html_e( 'United States', 'formidable' ); ?> |
| 17 |
</option> |
| 18 |
<option value="europe" <?php selected( $field['address_type'], 'europe' ); ?>> |
| 19 |
<?php esc_html_e( 'Europe', 'formidable' ); ?> |
| 20 |
</option> |
| 21 |
<option value="generic" <?php selected( $field['address_type'], 'generic' ); ?>> |
| 22 |
<?php esc_html_e( 'Other - exclude country field', 'formidable' ); ?> |
| 23 |
</option> |
| 24 |
</select> |
| 25 |
</p> |
| 26 |
|