html-admin-header-skeleton.php
2 months ago
html-admin-page-addons.php
1 year ago
html-admin-page-builder.php
5 months ago
html-admin-page-dashboard.php
2 years ago
html-admin-page-entries-view.php
2 months ago
html-admin-page-export.php
1 year ago
html-admin-page-form-migrator.php
2 years ago
html-admin-page-form-templates.php
5 months ago
html-admin-page-import.php
1 year ago
html-admin-page-payments.php
2 months ago
html-admin-page-setting.php
1 week ago
html-admin-page-smart-smtp-setup.php
2 months ago
html-admin-page-tools-logs.php
3 months ago
html-admin-page-tools.php
4 months ago
html-admin-settings.php
2 months ago
html-deactivation-popup.php
3 years ago
html-notice-allow-usage.php
3 months ago
html-notice-custom.php
4 months ago
html-notice-email-failed-notice.php
4 months ago
html-notice-php-deprecation.php
4 months ago
html-notice-review.php
4 months ago
html-notice-survey.php
4 months ago
html-notice-update.php
4 months ago
html-notice-updated.php
4 months ago
html-notice-updating.php
4 months ago
html-notice-email-failed-notice.php
45 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin View: Notice - Email Failed Notice. |
| 4 | * |
| 5 | * @package Everest Forms |
| 6 | */ |
| 7 | |
| 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | exit; // Exit if accessed directly. |
| 10 | } |
| 11 | ?> |
| 12 | |
| 13 | <div class="notice notice-warning is-dismissible inline" id="everest-forms-email-failed-notice"> |
| 14 | <p> |
| 15 | <strong><?php esc_html_e( 'Everest Forms Email Send Error', 'everest-forms' ); ?></strong><br/> |
| 16 | <?php esc_html_e( 'The last email sent from the Everest Forms Plugin was not delivered to the user.', 'everest-forms' ); ?> |
| 17 | </p> |
| 18 | <p style="border-left: 2px solid #72aee6; background: #F0FFFF; padding: 10px;">\ |
| 19 | /* translators: %s: Error Message*/ |
| 20 | <?php echo esc_html( sprintf( __( '%s', 'everest-forms' ), $error_message ) ); ?> |
| 21 | </p> |
| 22 | <br/> |
| 23 | <p> |
| 24 | <a href="https://docs.wpeverest.com/everest-forms/docs/emails-are-not-being-delivered/" target="_blank"> |
| 25 | <?php esc_html_e( 'Learn More', 'everest-forms' ); ?> |
| 26 | </a> |
| 27 | </p> |
| 28 | </div> |
| 29 | |
| 30 | <script> |
| 31 | jQuery(function($) { |
| 32 | $(document).ready(function() { |
| 33 | var noticeContainer = $('#everest-forms-email-failed-notice'); |
| 34 | noticeContainer.find('.notice-dismiss').on('click', function(e) { |
| 35 | e.preventDefault(); |
| 36 | |
| 37 | $.post(ajaxurl, { |
| 38 | action: 'everest_forms_email_failed_notice_dismiss', |
| 39 | _wpnonce: '<?php echo esc_js( wp_create_nonce( 'email_failed_nonce' ) ); ?>' |
| 40 | }); |
| 41 | }); |
| 42 | }); |
| 43 | }); |
| 44 | </script> |
| 45 |