| 1 |
<?php |
| 2 |
/** |
| 3 |
* Email template for confirming multiple notification subscriptions. |
| 4 |
* |
| 5 |
* Variables: $subject, $name, $modules (array of ['title' => string]) |
| 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 echo esc_html( $subject ); ?> |
| 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;word-wrap:normal;"> |
| 15 |
<?php |
| 16 |
/* translators: %s: Name. */ |
| 17 |
printf( esc_html__( 'Hi %s', 'defender-security' ), esc_html( $name ) ); |
| 18 |
?> |
| 19 |
, |
| 20 |
</p> |
| 21 |
<p style="font-family:inherit;font-size:16px;margin:0 0 20px"> |
| 22 |
<?php esc_html_e( 'You are now subscribed to the following notifications:', 'defender-security' ); ?> |
| 23 |
</p> |
| 24 |
<table style="width:100%;border-collapse:collapse;margin:0 0 30px"> |
| 25 |
<?php foreach ( $modules as $module ) : ?> |
| 26 |
<tr> |
| 27 |
<td style="padding:10px 0;border-bottom:1px solid #E7E7E7;font-family:Roboto,Arial,sans-serif;font-size:15px;color:#1A1A1A;"> |
| 28 |
<?php echo esc_html( $module['title'] ); ?> |
| 29 |
</td> |
| 30 |
<td style="padding:10px 0;border-bottom:1px solid #E7E7E7;font-family:Roboto,Arial,sans-serif;font-size:15px;text-align:right;"> |
| 31 |
<a style="text-decoration:none;color:#0059FF;" href="<?php echo esc_url( $module['url'] ); ?>"> |
| 32 |
<?php esc_html_e( 'unsubscribe', 'defender-security' ); ?> |
| 33 |
</a> |
| 34 |
</td> |
| 35 |
</tr> |
| 36 |
<?php endforeach; ?> |
| 37 |
</table> |
| 38 |
|