lite-connect-modal.php
84 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin/Settings/LiteConnect Education modal template for Lite. |
| 4 | * |
| 5 | * @since 1.7.4 |
| 6 | */ |
| 7 | |
| 8 | use WPForms\Integrations\AI\Helpers as AIHelpers; |
| 9 | |
| 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | exit; |
| 12 | } |
| 13 | |
| 14 | ?> |
| 15 | <script type="text/html" id="tmpl-wpforms-settings-lite-connect-modal-content"> |
| 16 | <div class="wpforms-settings-lite-connect-modal-content"> |
| 17 | <img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/sullie-alt.png' ); ?>" alt="<?php esc_attr_e( 'Sullie the WPForms mascot', 'wpforms-lite' ); ?>" class="wpforms-mascot"> |
| 18 | <h2><?php esc_html_e( 'Form Entry Backups', 'wpforms-lite' ); ?></h2> |
| 19 | <p> |
| 20 | <?php esc_html_e( 'Free backups save every submission automatically, so when email notifications fail, your data is safe. Restore entries anytime with a Pro upgrade. Entry backups expire after 1 year.', 'wpforms-lite' ); ?> |
| 21 | </p> |
| 22 | <div class="wpforms-features"> |
| 23 | <section> |
| 24 | <img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/lite-connect/cloud.svg' ); ?>" alt="<?php esc_attr_e( 'Backup and Restore.', 'wpforms-lite' ); ?>"> |
| 25 | <aside> |
| 26 | <h4><?php esc_html_e( 'Backup & Restore', 'wpforms-lite' ); ?></h4> |
| 27 | <p> |
| 28 | <?php esc_html_e( 'When you upgrade to WPForms Pro, we\'ll automatically restore the entries that you collected in WPForms Lite.', 'wpforms-lite' ); ?> |
| 29 | </p> |
| 30 | </aside> |
| 31 | </section> |
| 32 | <section> |
| 33 | <img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/lite-connect/lock-alt.svg' ); ?>" alt="<?php esc_attr_e( 'Security and Protection.', 'wpforms-lite' ); ?>"> |
| 34 | <aside> |
| 35 | <h4><?php esc_html_e( 'Security & Protection', 'wpforms-lite' ); ?></h4> |
| 36 | <p> |
| 37 | <?php esc_html_e( 'Entries are stored securely and privately until you\'re ready to upgrade. Our team cannot view your forms or entries.', 'wpforms-lite' ); ?> |
| 38 | </p> |
| 39 | </aside> |
| 40 | </section> |
| 41 | |
| 42 | <?php if ( ! AIHelpers::is_disabled() ) : ?> |
| 43 | <section> |
| 44 | <img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/lite-connect/lock-ai.svg' ); ?>" alt="<?php esc_attr_e( 'WPForms AI.', 'wpforms-lite' ); ?>"> |
| 45 | <aside> |
| 46 | <h4><?php esc_html_e( 'WPForms AI', 'wpforms-lite' ); ?></h4> |
| 47 | <p> |
| 48 | <?php esc_html_e( 'Build your forms even faster with state-of-the-art generative AI built right into the form builder.', 'wpforms-lite' ); ?> |
| 49 | </p> |
| 50 | </aside> |
| 51 | </section> |
| 52 | <?php endif; ?> |
| 53 | |
| 54 | <section> |
| 55 | <img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/lite-connect/envelope.svg' ); ?>" alt="<?php esc_attr_e( 'WPForms Newsletter.', 'wpforms-lite' ); ?>"> |
| 56 | <aside> |
| 57 | <h4><?php esc_html_e( 'WPForms Newsletter', 'wpforms-lite' ); ?></h4> |
| 58 | <p> |
| 59 | <?php esc_html_e( 'Ready to grow your website? Get the latest pro tips and updates from the WPForms team.', 'wpforms-lite' ); ?> |
| 60 | </p> |
| 61 | </aside> |
| 62 | </section> |
| 63 | </div> |
| 64 | |
| 65 | <footer> |
| 66 | <?php |
| 67 | printf( |
| 68 | wp_kses( /* translators: %s - WPForms Terms of Service link. */ |
| 69 | __( 'By enabling Lite Connect you agree to our <a href="%s" target="_blank" rel="noopener noreferrer">Terms of Service</a> and to share your information with WPForms.', 'wpforms-lite' ), |
| 70 | [ |
| 71 | 'a' => [ |
| 72 | 'href' => [], |
| 73 | 'target' => [], |
| 74 | 'rel' => [], |
| 75 | ], |
| 76 | ] |
| 77 | ), |
| 78 | esc_url( wpforms_utm_link( 'https://wpforms.com/terms/', 'Lite Connect Modal', 'Terms of Service' ) ) |
| 79 | ); |
| 80 | ?> |
| 81 | </footer> |
| 82 | </div> |
| 83 | </script> |
| 84 |