html-admin-page-addons.php
7 years ago
html-admin-page-builder-setup.php
8 years ago
html-admin-page-builder.php
7 years ago
html-admin-page-entries-view.php
8 years ago
html-admin-page-status-logs.php
8 years ago
html-admin-page-status.php
8 years ago
html-admin-settings.php
7 years ago
html-notice-custom.php
8 years ago
html-notice-update.php
8 years ago
html-notice-updated.php
8 years ago
html-notice-updating.php
8 years ago
html-notice-update.php
22 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin View: Notice - Update |
| 4 | * |
| 5 | * @package EverestForms\Admin\Notice |
| 6 | */ |
| 7 | |
| 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | exit; |
| 10 | } |
| 11 | |
| 12 | ?> |
| 13 | <div id="message" class="updated everest-forms-message evf-connect"> |
| 14 | <p><strong><?php esc_html_e( 'Everest Forms data update', 'everest-forms' ); ?></strong> – <?php esc_html_e( 'We need to update your store database to the latest version.', 'everest-forms' ); ?></p> |
| 15 | <p class="submit"><a href="<?php echo esc_url( add_query_arg( 'do_update_everest_forms', 'true', admin_url( 'admin.php?page=evf-settings' ) ) ); ?>" class="evf-update-now button-primary"><?php esc_html_e( 'Run the updater', 'everest-forms' ); ?></a></p> |
| 16 | </div> |
| 17 | <script type="text/javascript"> |
| 18 | jQuery( '.evf-update-now' ).click( 'click', function() { |
| 19 | return window.confirm( '<?php echo esc_js( __( 'It is strongly recommended that you backup your database before proceeding. Are you sure you wish to run the updater now?', 'everest-forms' ) ); ?>' ); |
| 20 | }); |
| 21 | </script> |
| 22 |