PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.2.4
Defender Security – Malware Scanner, Login Security & Firewall v6.2.4
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
defender-security / src / view / email / confirm-all.php

confirm-all.php in Defender Security – Malware Scanner, Login Security & Firewall 6.2.4, at src/view/email/confirm-all.php

47 lines 1.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 a single subscription invite covering all notification modules.
4 *
5 * Variables: $name, $email, $site_url, $modules (array of ['title' => string]), $url
6 *
7 * @package WP_Defender
8 */
9
10 ?>
11 <h1 style="font-family:inherit;font-size:25px;line-height:30px;color:inherit;margin-top:10px;margin-bottom:30px">
12 <?php esc_html_e( 'Confirm your subscriptions', 'defender-security' ); ?>
13 </h1>
14 <p style="color:#1A1A1A;font-family:Roboto,Arial,sans-serif;font-size:16px;font-weight:normal;line-height:24px;margin:0;padding:0 0 28px;text-align:left;">
15 <?php
16 /* translators: %s: Recipient name. */
17 printf( esc_html__( 'Hi %s,', 'defender-security' ), esc_html( $name ) );
18 ?>
19 </p>
20 <p style="font-family:inherit;font-size:16px;margin:0 0 20px">
21 <?php
22 printf(
23 /* translators: 1. Site URL. 2. Recipient email. */
24 esc_html__(
25 'An administrator from %1$s has subscribed %2$s to the following notifications. Click Confirm Subscriptions below to confirm them.',
26 'defender-security'
27 ),
28 '<strong>' . esc_url( $site_url ) . '</strong>',
29 '<strong>' . esc_html( $email ) . '</strong>'
30 );
31 ?>
32 </p>
33 <table style="width:100%;border-collapse:collapse;margin:0 0 30px">
34 <?php foreach ( $modules as $module ) : ?>
35 <tr>
36 <td style="padding:10px 0;border-bottom:1px solid #E7E7E7;font-family:Roboto,Arial,sans-serif;font-size:15px;color:#1A1A1A;">
37 <?php echo esc_html( $module['title'] ); ?>
38 </td>
39 </tr>
40 <?php endforeach; ?>
41 </table>
42 <p style="margin:0;padding:0;text-align:center">
43 <a class="button view-full"
44 style="font-family:Roboto,Arial,sans-serif;font-size:16px;font-weight:normal;line-height:20px;text-align:center;margin-bottom:0;"
45 href="<?php echo esc_url( $url ); ?>"><?php esc_html_e( 'Confirm Subscriptions', 'defender-security' ); ?></a>
46 </p>
47