PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 6.2.3
MainWP Dashboard: Self-hosted WordPress Management for Agencies v6.2.3
6.3 6.2.3 6.2.2 6.2.1 6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 All 157 releases
mainwp / templates / emails / mainwp-after-update-http-check-email.php

mainwp-after-update-http-check-email.php in MainWP Dashboard: Self-hosted WordPress Management for Agencies 6.2.3, at templates/emails/mainwp-after-update-http-check-email.php

108 lines 5.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Email template for the Email Notification about potentialy broken sites after running updates.
4 *
5 * To overwrite this template, make a new template with the same filename and place it in the ../wp-content/uploads/mainwp/templates/email/ directory.
6 *
7 * @package MainWP/Dashboard
8 */
9
10 defined( 'ABSPATH' ) || exit;
11
12 $child_site_tokens = false;
13
14 if ( empty( $heading ) ) {
15 $heading = 'Sites Check';
16 }
17
18 ?>
19
20 <!DOCTYPE html>
21 <html lang="en">
22 <head>
23 <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
24 <title><?php echo esc_html( get_bloginfo( 'name', 'display' ) ); ?></title>
25 </head>
26 <body offset="0" style="margin:0;background-color:#f7f7f7;font-family:'Lato',sans-serif;">
27 <div id="mainwp-email-wrapper" style="padding: 30px 0;">
28 <?php
29 /**
30 * HTTP Check Email Header
31 *
32 * Fires at the top of the HTTP check (after update checks) email template.
33 *
34 * @since 4.1
35 */
36 do_action( 'mainwp_http_check_email_header' );
37 // old html style for email clients display.
38 ?>
39 <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" style="margin-top:30px;margin-bottom:30px;" aria-hidden="true">
40 <tr>
41 <td align="center" valign="top">
42 <table border="0" cellpadding="0" cellspacing="0" width="600" style="background-color:#ffffff;border:1px solid #dedede;box-shadow: 0 1px 4px rgba(0,0,0,0.1);border-radius:3px;padding-bottom:30px;" aria-hidden="true">
43 <!-- Header -->
44 <tr>
45 <td style="vertical-align:top;text-align:center;">
46 <table style="border:0;width:600px;padding:0;border-spacing:0;">
47 <tr>
48 <td id="header_wrapper" style="padding: 36px 48px; display: block; background: #1c1d1b;">
49 <h1 style="text-align:center;color:#fff;"><?php echo esc_html( $heading ); ?></h1>
50 </td>
51 </tr>
52 </table>
53 </td>
54 </tr>
55 <!-- End Header -->
56 <!-- Body -->
57 <tr>
58 <td style="vertical-align:top;text-align:left;padding:30px 30px 0 30px;">
59 <strong><?php esc_html_e( 'Hi there', 'mainwp' ); ?>,</strong>
60 <p><?php esc_html_e( 'After running auto updates, following sites are not returning expected HTTP request response:', 'mainwp' ); ?></p>
61 <table style="border:0;width:100%;text-align:left;padding:0;border-spacing:0;font-size:11px; margin-bottom:30px;">
62 <thead style="background: #eee">
63 <tr>
64 <th style="padding:5px;text-align:left;">Site</th>
65 <th style="padding:5px;text-align:left;">Site URL</th>
66 <th style="padding:5px;text-align:left;">Status</th>
67 </tr>
68 </thead>
69 <tbody>
70 <?php foreach ( $sites_statuses as $item ) : ?>
71 <tr>
72 <td style="padding:10px;border-bottom: 1px solid #eee;"><?php echo esc_html( $item['name'] ); ?></td>
73 <td style="padding:10px;border-bottom: 1px solid #eee;"><a href="<?php echo esc_html( $item['url'] ); ?>" style="color:#7fb100;"><?php echo esc_html( $item['url'] ); ?></a></td>
74 <td style="padding:10px;border-bottom: 1px solid #eee;"><?php echo esc_html( $item['code'] ); ?></td>
75 </tr>
76 <?php endforeach; ?>
77 </tbody>
78 </table>
79 </td>
80 </tr>
81 <tr>
82 <td style="vertical-align:top;text-align:left;padding:30px 30px 0 30px;">
83 <a href="<?php echo esc_url( admin_url( 'admin.php?page=MonitoringSites' ) ); ?>" style="color:#7fb100;text-decoration:none;"><?php echo esc_html__( 'Click here', 'mainwp' ); ?></a> <?php echo esc_html__( 'to check your site status.', 'mainwp' ); ?>
84 </td>
85 </tr>
86 <!-- End Body -->
87 </table>
88 </td>
89 </tr>
90 </table>
91 <div style="text-align:center;font-size:11px;margin-bottom:30px;">
92 <?php esc_html_e( 'Developed by ', 'mainwp' ); ?> <a href="https://mainwp.com/" style="color:#7fb100;"><?php esc_html_e( 'MainWP', 'mainwp' ); ?></a>. <?php esc_html_e( 'Sent from your Dashboard.', 'mainwp' ); // NOSONAR - noopener - open safe. ?>
93 </div>
94 <?php
95 /**
96 * HTTP Check Email Footer
97 *
98 * Fires at the bottom of the HTTP check (after update checks) email template.
99 *
100 * @since 4.1
101 */
102 do_action( 'mainwp_http_check_email_footer' );
103 ?>
104 </div>
105 </body>
106 </html>
107 <?php
108