PluginProbe ʕ •ᴥ•ʔ
WP STAGING – WordPress Backup, Restore, Migration & Clone / 4.9.2
WP STAGING – WordPress Backup, Restore, Migration & Clone v4.9.2
4.9.2 4.9.1 4.9.0 4.8.1 trunk 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.10.0 3.2.0 3.3.1 3.3.2 3.3.3 3.4.1 3.4.3 3.5.0 3.6.0 3.7.1 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4 4.0.0 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.7.2 4.7.3 4.8.0
wp-staging / views / notifications / email-template.php
wp-staging / views / notifications Last commit date
email-details.php 1 year ago email-footer.php 1 year ago email-template.php 1 year ago
email-template.php
58 lines
1 <?php
2 /**
3 * Email template file
4 *
5 * @var string $encodedSvg Base64 encoded SVG logo
6 * @var string $htmlMessage Main message content
7 * @var array $details List of details
8 * @var string $footerMessage Footer content
9 * @var bool $isBasic Whether using basic version
10 * @var string $recipient Recipient email
11 * @var string $year Current year
12 * @var string $siteUrl Website URL
13 * @var string $pluginName Plugin name string
14 */
15 ?>
16 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
17 <html xmlns="http://www.w3.org/1999/xhtml">
18 <head>
19 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
20 <title><?php esc_html_e("WP Staging Notification", 'wp-staging'); ?> </title>
21 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
22 </head>
23 <body style="margin: 0; padding: 0;">
24 <table border="0" cellpadding="0" cellspacing="0" width="100%">
25 <tr>
26 <td bgcolor="#f4f4f4" align="center" style="padding: 15px;">
27 <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; background-color: #ffffff; box-shadow: 0 2px 5px rgba(0,0,0,0.1);">
28 <!-- Header -->
29 <tr style="background: linear-gradient(129deg, #35b6f4 0%, #2eb67e 50%, #ea9f33 50%, #e12758 100%)">
30 <td style="padding: 15px 20px 10px 25px;">
31 <picture>
32 <source srcset="<?php echo esc_html($encodedSvg); ?>" type="image/svg+xml">
33 <img src="https://wp-staging.com/mail-template/wp-staging-logo.png" alt="WP STAGING Logo" width="210">
34 </picture>
35 </td>
36 </tr>
37 <!-- Body -->
38 <tr>
39 <td style="padding: 40px 30px; font-family: Arial, sans-serif; line-height: 1.6;">
40 <p style="margin: 0 0 20px 0; color: #333;"><?php echo wp_kses_post($htmlMessage); ?></p>
41 <?php if (count($details) > 0) : ?>
42 <?php require __DIR__ . '/email-details.php';?>
43 <?php endif; ?>
44 </td>
45 </tr>
46 <!-- Footer -->
47 <tr>
48 <td bgcolor="#f4f4f4" style="padding: 20px 30px; text-align: center; font-family: Arial, sans-serif; font-size: 12px; color: #666;">
49 <?php require __DIR__ . '/email-footer.php'; ?>
50 </td>
51 </tr>
52 </table>
53 </td>
54 </tr>
55 </table>
56 </body>
57 </html>
58