email-footer.php
48 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Email footer template |
| 4 | * |
| 5 | * @var bool $isBasic Whether using basic version |
| 6 | * @var string $year Current year |
| 7 | * @var string $siteUrl Website URL |
| 8 | * @var string $pluginName Plugin name |
| 9 | * @var string $recipient Recipient email |
| 10 | */ |
| 11 | ?> |
| 12 | <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;"> |
| 13 | <tr> |
| 14 | <td bgcolor="#f4f4f4" style="padding: 20px 30px; text-align: center; font-family: Arial, sans-serif; font-size: 12px; color: #666;"> |
| 15 | <p style="margin: 0;"> |
| 16 | © <?php echo esc_html($year); ?> |
| 17 | WP Staging |
| 18 | <?php echo ($isBasic ? ' .' : ' Pro.'); ?> |
| 19 | <?php echo esc_html__('All rights reserved.', 'wp-staging'); ?> |
| 20 | </p> |
| 21 | <p style="margin: 10px 0 0;"> |
| 22 | <?php echo sprintf( |
| 23 | esc_html__('This message was sent by the %s from the website %s', 'wp-staging'), |
| 24 | esc_html($pluginName), |
| 25 | '<a href="' . esc_url($siteUrl) . '">' . esc_html($siteUrl) . '</a>' |
| 26 | ); ?> |
| 27 | </p> |
| 28 | <p style="margin: 10px 0 0;"> |
| 29 | <?php echo sprintf( |
| 30 | esc_html__('It was sent to the email address %s which can be set up on %s', 'wp-staging'), |
| 31 | esc_html($recipient), |
| 32 | '<a href="' . esc_url($siteUrl . '/wp-admin/admin.php?page=wpstg-settings') . '">' . esc_html__('Settings.', 'wp-staging') . '</a>' |
| 33 | ); ?> |
| 34 | </p> |
| 35 | <?php if ($isBasic) : ?> |
| 36 | <p style="margin: 10px 0 0;"> |
| 37 | <a href="https://wp-staging.com/" style="color: #0073a8; text-decoration: none;"> |
| 38 | <?php echo esc_html__('Get more control over your notifications by using WP Staging Pro.', 'wp-staging'); ?> |
| 39 | </a> |
| 40 | </p> |
| 41 | <?php endif; ?> |
| 42 | <p style="margin: 10px 0 0;"> |
| 43 | <?php echo esc_html__('Please do not reply to this email.', 'wp-staging'); ?> |
| 44 | </p> |
| 45 | </td> |
| 46 | </tr> |
| 47 | </table> |
| 48 |