| 1 |
<?php |
| 2 |
/** |
| 3 |
* This template is used to send email when an IP address is locked out. |
| 4 |
* |
| 5 |
* @package WP_Defender |
| 6 |
*/ |
| 7 |
|
| 8 |
?> |
| 9 |
<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;"> |
| 10 |
<?php |
| 11 |
/* translators: %s: Name. */ |
| 12 |
printf( esc_html__( 'Hi %s', 'defender-security' ), esc_html( $name ) ) |
| 13 |
?> |
| 14 |
, |
| 15 |
</p> |
| 16 |
<p style="color: #1A1A1A; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 24px; margin: 0; padding: 0 0 24px; text-align: left;"> |
| 17 |
<?php |
| 18 |
esc_html_e( |
| 19 |
'We have received a request to unblock an IP address that appears to be locked out of your site.', |
| 20 |
'defender-security' |
| 21 |
); |
| 22 |
?> |
| 23 |
</p> |
| 24 |
<p style="color: #1A1A1A; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 24px; margin: 0; padding: 0 0 24px; text-align: left;"> |
| 25 |
<?php |
| 26 |
/* translators: %s: Generated time. */ |
| 27 |
printf( esc_html__( 'This request was generated on %s.', 'defender-security' ), esc_html( $generated_time ) ); |
| 28 |
?> |
| 29 |
</p> |
| 30 |
<p style="color: #1A1A1A; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 24px; margin: 0; padding: 0 0 24px; text-align: left;"> |
| 31 |
<?php |
| 32 |
printf( |
| 33 |
/* translators: %s: Unlocked link. */ |
| 34 |
esc_html__( 'If this request was made by you and you would like to unblock your IP address, please click on the following link: %s.', 'defender-security' ), |
| 35 |
'<a href="' . esc_url( $unlocked_link ) . '">' . esc_url( $unlocked_link ) . '</a>' |
| 36 |
); |
| 37 |
?> |
| 38 |
</p> |
| 39 |
<p style="color: #1A1A1A; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 24px; margin: 0; padding: 0 0 24px; text-align: left;"> |
| 40 |
<?php |
| 41 |
esc_html_e( |
| 42 |
'Please note that this link is only valid for 30 minutes from the time of generation.', |
| 43 |
'defender-security' |
| 44 |
); |
| 45 |
?> |
| 46 |
</p> |
| 47 |
<p style="font-family: Roboto, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 24px; margin: 0; padding: 0 0 24px; text-align: center;"> |
| 48 |
<?php |
| 49 |
printf( |
| 50 |
'<a class="button view-full" href="%1$s">%2$s</a>', |
| 51 |
esc_url( $unlocked_link ), |
| 52 |
esc_html__( 'Unlock me', 'defender-security' ) |
| 53 |
); |
| 54 |
?> |
| 55 |
</p> |
| 56 |
|