| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<div class="frm_license_box"> |
| 7 |
<h3 class="frm-no-border frm_no_top_margin"><?php esc_html_e( 'License Key', 'formidable' ); ?></h3> |
| 8 |
<p class="howto"> |
| 9 |
<?php esc_html_e( 'Your license key provides access to new features and updates.', 'formidable' ); ?> |
| 10 |
</p> |
| 11 |
|
| 12 |
<?php do_action( 'frm_before_settings' ); ?> |
| 13 |
</div> |
| 14 |
|
| 15 |
<h3><?php esc_html_e( 'Styling & Scripts', 'formidable' ); ?></h3> |
| 16 |
|
| 17 |
<p class="frm_grid_container"> |
| 18 |
<label class="frm4 frm_form_field" for="frm_load_style"> |
| 19 |
<?php esc_html_e( 'Load form styling', 'formidable' ); ?> |
| 20 |
</label> |
| 21 |
<select id="frm_load_style" name="frm_load_style" class="frm8 frm_form_field"> |
| 22 |
<option value="all" <?php selected( $frm_settings->load_style, 'all' ); ?>> |
| 23 |
<?php esc_html_e( 'on every page of my site', 'formidable' ); ?> |
| 24 |
</option> |
| 25 |
<option value="dynamic" <?php selected( $frm_settings->load_style, 'dynamic' ); ?>> |
| 26 |
<?php esc_html_e( 'only on applicable pages', 'formidable' ); ?> |
| 27 |
</option> |
| 28 |
<option value="none" <?php selected( $frm_settings->load_style, 'none' ); ?>> |
| 29 |
<?php esc_html_e( 'Don\'t use form styling on any page', 'formidable' ); ?> |
| 30 |
</option> |
| 31 |
</select> |
| 32 |
</p> |
| 33 |
|
| 34 |
<p> |
| 35 |
<label for="frm_old_css"> |
| 36 |
<input type="checkbox" id="frm_old_css" name="frm_old_css" value="1" <?php checked( $frm_settings->old_css, 1 ); ?> /> |
| 37 |
<?php esc_html_e( 'Do not use CSS Grids for form layouts', 'formidable' ); ?> |
| 38 |
<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Form layouts built using CSS grids that are not fully supported by older browsers like Internet Explorer. Leave this box unchecked for your layouts to look best in current browsers, but show in a single column in older browsers.', 'formidable' ); ?>"></span> |
| 39 |
</label> |
| 40 |
</p> |
| 41 |
|
| 42 |
<?php do_action( 'frm_style_general_settings', $frm_settings ); ?> |
| 43 |
|
| 44 |
|
| 45 |
<h3><?php esc_html_e( 'Other', 'formidable' ); ?></h3> |
| 46 |
<?php do_action( 'frm_settings_form', $frm_settings ); ?> |
| 47 |
|
| 48 |
<div class="clear"></div> |
| 49 |
|
| 50 |
<?php if ( ! FrmAppHelper::pro_is_installed() ) { ?> |
| 51 |
<input type="hidden" name="frm_menu" id="frm_menu" value="<?php echo esc_attr( $frm_settings->menu ); ?>"/> |
| 52 |
<input type="hidden" name="frm_mu_menu" id="frm_mu_menu" value="<?php echo esc_attr( $frm_settings->mu_menu ); ?>"/> |
| 53 |
<?php } ?> |
| 54 |
|
| 55 |
<p> |
| 56 |
<label for="frm_no_ips"> |
| 57 |
<input type="checkbox" name="frm_no_ips" id="frm_no_ips" value="1" <?php checked( $frm_settings->no_ips, 1 ); ?> /> |
| 58 |
<?php esc_html_e( 'Do not store IPs with form submissions. Check this box for to assist with GDPR compliance.', 'formidable' ); ?> |
| 59 |
</label> |
| 60 |
</p> |
| 61 |
|
| 62 |
<p> |
| 63 |
<label for="frm_admin_bar"> |
| 64 |
<input type="checkbox" name="frm_admin_bar" id="frm_admin_bar" value="1" <?php checked( $frm_settings->admin_bar, 1 ); ?> /> |
| 65 |
<?php esc_html_e( 'Do not include Formidable in the admin bar.', 'formidable' ); ?> |
| 66 |
</label> |
| 67 |
</p> |
| 68 |
|