| 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: 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 |
|