| @@ -3,30 +3,57 @@ | ||
| 3 | 3 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 4 | } |
| 5 | 5 | ?> |
| 6 | 6 | <p> |
| 7 | - <label for="frm_tracking"> | |
| 7 | + <label> | |
| 8 | 8 | <input type="checkbox" name="frm_tracking" id="frm_tracking" value="1" <?php checked( $frm_settings->tracking, 1 ); ?> /> |
| 9 | 9 | <?php esc_html_e( 'Allow Formidable Forms to track plugin usage to help us ensure compatibility and simplify our settings.', 'formidable' ); ?> |
| 10 | 10 | </label> |
| 11 | 11 | </p> |
| 12 | 12 | |
| 13 | -<!-- Deprecated settings can only be switched away from the default --> | |
| 14 | -<input type="hidden" id="frm_use_html" name="frm_use_html" value="1" /> | |
| 15 | - | |
| 16 | -<?php if ( empty( $frm_settings->use_html ) ) { ?> | |
| 17 | 13 | <p> |
| 18 | - <label for="frm_use_html"> | |
| 19 | - <input type="checkbox" id="frm_use_html" name="frm_use_html" value="1" <?php checked( $frm_settings->use_html, 1 ); ?> /> | |
| 20 | - <?php esc_html_e( 'Use HTML5 in forms', 'formidable' ); ?> | |
| 14 | + <label> | |
| 15 | + <input | |
| 16 | + type="checkbox" | |
| 17 | + name="frm_summary_emails" | |
| 18 | + id="frm_summary_emails" | |
| 19 | + value="1" | |
| 20 | + data-toggleclass="frm_summary_emails_recipients_wrapper" | |
| 21 | + <?php checked( $frm_settings->summary_emails, 1 ); ?> | |
| 22 | + /> | |
| 23 | + <?php esc_html_e( 'Send monthly and yearly summary emails with form and payment stats.', 'formidable' ); ?> | |
| 21 | 24 | </label> |
| 22 | - <span class="frm_help frm_icon_font frm_tooltip_icon" | |
| 23 | - title="<?php esc_attr_e( 'We recommend using HTML 5 for your forms. It adds some nifty options like placeholders, patterns, and autocomplete.', 'formidable' ); ?>"></span> | |
| 24 | 25 | </p> |
| 25 | -<?php } ?> | |
| 26 | 26 | |
| 27 | +<p class="frm_summary_emails_recipients_wrapper frm_indent_opt <?php echo ! $frm_settings->summary_emails ? 'frm_hidden' : ''; ?>"> | |
| 28 | + <label for="frm_summary_emails_recipients"><?php esc_html_e( 'Summary email recipients', 'formidable' ); ?></label> | |
| 29 | + <input type="text" name="frm_summary_emails_recipients" id="frm_summary_emails_recipients" value="<?php echo esc_attr( $frm_settings->summary_emails_recipients ); ?>" /> | |
| 30 | + <?php if ( FrmAppHelper::is_formidable_branding() && in_array( FrmAddonsController::license_type(), array( 'elite', 'business' ), true ) ) { ?> | |
| 31 | + <span> | |
| 32 | + <?php | |
| 33 | + printf( | |
| 34 | + /* translators: %1$s the opening link tag, %2$s the closing link tag */ | |
| 35 | + esc_html__( 'Summary emails can be disabled across multiple sites from %1$sFormidableForms.com%2$s.', 'formidable' ), | |
| 36 | + '<a href="' . esc_url( FrmAppHelper::admin_upgrade_link( 'misc-settings', 'account/profile/' ) ) . '" target="_blank" rel="noopener">', | |
| 37 | + '</a>' | |
| 38 | + ); | |
| 39 | + ?> | |
| 40 | + </span> | |
| 41 | + <?php } ?> | |
| 42 | +</p> | |
| 43 | + | |
| 44 | +<?php | |
| 45 | +/* | |
| 46 | +Deprecated setting. This is always on now. | |
| 47 | +Leave this for now for backward compatibility. | |
| 48 | +This is to prevent this from being disabled. | |
| 49 | +Pro could possibly check for `use_html` and think it is still false. | |
| 50 | +*/ | |
| 51 | +?> | |
| 52 | +<input type="hidden" name="frm_use_html" value="1" /> | |
| 53 | + | |
| 27 | 54 | <p class="frm_uninstall"> |
| 28 | - <label for="frm-uninstall-box"> | |
| 55 | + <label> | |
| 29 | 56 | <input type="checkbox" id="frm-uninstall-box" value="1" onchange="frm_show_div('frm_uninstall_now',this.checked,true,'#')" /> |
| 30 | 57 | <?php esc_html_e( 'Uninstall Formidable Forms and permanently delete all data.', 'formidable' ); ?> |
| 31 | 58 | </label> |
| 32 | 59 | <a href="javascript:void(0)" id="frm_uninstall_now" class="frm_hidden" data-frmverify="<?php esc_attr_e( 'Are you sure you want to delete all forms, form data, and all other Formidable data. There is no Undo.', 'formidable' ); ?>" data-frmverify-btn="frm-button-red" data-frmuninstall="1"> |