| @@ -1,297 +1,463 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * This template is used to display emails. | |
| 4 | + * | |
| 5 | + * @package WP_Defender | |
| 6 | + */ | |
| 7 | + | |
| 8 | + /** | |
| 9 | + * WPCS errors in this page are, | |
| 10 | + * 1) Stylesheets must be registered/enqueued via wp_enqueue_style() | |
| 11 | + * @codingStandardsIgnoreFile | |
| 12 | + */ | |
| 13 | +use WP_Defender\Integrations\Dashboard_Whitelabel; | |
| 14 | + | |
| 15 | +$dashboard_whitelabel = wd_di()->get( Dashboard_Whitelabel::class ); | |
| 16 | +$can_whitelabel = $dashboard_whitelabel->can_whitelabel(); | |
| 17 | +?> | |
| 1 | 18 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 2 | 19 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | - <head> | |
| 4 | - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| 5 | - <meta name="viewport" content="width=device-width"> | |
| 6 | - <title><?php echo $title; ?></title> | |
| 7 | - <!--[if lte mso 11]> | |
| 8 | - <style type="text/css"> | |
| 9 | - .mj-outlook-group-fix { width:100% !important; } | |
| 10 | - </style> | |
| 11 | - <![endif]--> | |
| 12 | - <!--[if !mso]><!--> | |
| 13 | - <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" type="text/css"> | |
| 14 | - <style type="text/css"> | |
| 15 | - @import url(https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap); | |
| 16 | - </style> | |
| 17 | - <!--<![endif]--> | |
| 18 | - <style type="text/css"> | |
| 19 | - @media only screen { | |
| 20 | - html { | |
| 21 | - min-height: 100%; | |
| 22 | - } | |
| 23 | - } | |
| 20 | +<head> | |
| 21 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| 22 | + <meta name="viewport" content="width=device-width"> | |
| 23 | + <title><?php echo esc_html( $title ); ?></title> | |
| 24 | + <!--[if lte mso 11]> | |
| 25 | + <style type="text/css"> | |
| 26 | + .mj-outlook-group-fix { | |
| 27 | + width: 100% !important; | |
| 28 | + } | |
| 29 | + </style> | |
| 30 | + <![endif]--> | |
| 31 | + <!--[if !mso]><!--> | |
| 32 | + <link href="https://fonts.bunny.net/css?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" type="text/css"> | |
| 33 | + <style type="text/css"> | |
| 34 | + @import url(https://fonts.bunny.net/css?family=Roboto:wght@400;500;700&display=swap); | |
| 35 | + </style> | |
| 36 | + <!--<![endif]--> | |
| 37 | + <style type="text/css"> | |
| 38 | + @media only screen { | |
| 39 | + html { | |
| 40 | + min-height: 100%; | |
| 41 | + } | |
| 42 | + } | |
| 24 | 43 | |
| 25 | - a { | |
| 26 | - text-decoration: none !important; | |
| 27 | - font-weight: 600 !important; | |
| 28 | - color: #286EFA !important; | |
| 29 | - } | |
| 44 | + a { | |
| 45 | + text-decoration: none !important; | |
| 46 | + font-weight: 600 !important; | |
| 47 | + color: #0059FF !important; | |
| 48 | + } | |
| 30 | 49 | |
| 31 | - .button a, | |
| 32 | - a.button, | |
| 33 | - a.button-cta { | |
| 34 | - font-family: Roboto, arial, sans-serif; | |
| 35 | - font-size: 13px !important; | |
| 36 | - line-height: 24px; | |
| 37 | - font-weight: bold; | |
| 38 | - background: #286EFA; | |
| 39 | - text-decoration: none !important; | |
| 40 | - padding: 10px 15px; | |
| 41 | - color: #ffffff !important; | |
| 42 | - border-radius: 6px; | |
| 43 | - display: inline-block; | |
| 44 | - margin: 20px auto; | |
| 45 | - text-transform: unset !important; | |
| 46 | - min-width: unset !important; | |
| 47 | - } | |
| 48 | - @media only screen and (min-width:480px) { | |
| 49 | - .mj-column-per-100 { | |
| 50 | - width: 100% !important; | |
| 51 | - max-width: 100%; | |
| 52 | - } | |
| 53 | - } | |
| 54 | - </style> | |
| 55 | - </head> | |
| 50 | + .report-list-item-path span { | |
| 51 | + color: #0059FF; | |
| 52 | + } | |
| 56 | 53 | |
| 57 | - <body | |
| 58 | - style="-moz-box-sizing: border-box; -ms-text-size-adjust: 100%; -webkit-box-sizing: border-box; -webkit-text-size-adjust: 100%; background-color: #F2F2F2; box-sizing: border-box; color: #1A1A1A; font-family: Roboto, Arial, sans-serif; font-size: 15px; font-weight: normal; line-height: 26px; margin: 0; min-width: 100%; padding: 0; text-align: left; width: 100% !important;"> | |
| 59 | - <!-- Header image --> | |
| 60 | - <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0;font-size:0;mso-line-height-rule:exactly;"><![endif]--> | |
| 61 | - <div style="margin:0 auto;max-width:600px;"> | |
| 62 | - <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> | |
| 63 | - <tbody> | |
| 64 | - <tr> | |
| 65 | - <td style="direction:ltr;font-size:0;padding:25px 0 0;text-align:center;"> | |
| 66 | - <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]--> | |
| 67 | - <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 68 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"> | |
| 69 | - <tbody> | |
| 70 | - <tr> | |
| 71 | - <td style="background-color:#282A2C;border-radius:15px 15px 0 0;vertical-align:top;padding:35px 0;"> | |
| 72 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="" width="100%"> | |
| 73 | - <tbody> | |
| 74 | - <tr> | |
| 75 | - <td align="center" style="font-size:0;padding:0;word-break:break-word;"> | |
| 76 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0;"> | |
| 77 | - <tbody> | |
| 78 | - <tr> | |
| 79 | - <td> | |
| 80 | - <img height="30" width="27" src="<?php echo defender_asset_url( '/assets/email-images/logo.png' ); ?>" style="border:0;outline:none;text-decoration:none;height:30px;width:27px;vertical-align:middle;" alt="<?php echo esc_attr( $title ); ?>"> | |
| 81 | - <span style="color: #FFFFFF;font-family: Roboto, Arial, sans-serif;font-size: 20px;font-weight: 700;text-align: left;margin-left: 10px;line-height:25px; vertical-align:middle;"> | |
| 82 | - <?php echo $title; ?> | |
| 83 | - </span> | |
| 84 | - </td> | |
| 85 | - </tr> | |
| 86 | - </tbody> | |
| 87 | - </table> | |
| 88 | - </td> | |
| 89 | - </tr> | |
| 90 | - </tbody> | |
| 91 | - </table> | |
| 92 | - </td> | |
| 93 | - </tr> | |
| 94 | - </tbody> | |
| 95 | - </table> | |
| 96 | - </div> | |
| 97 | - <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 98 | - </td> | |
| 99 | - </tr> | |
| 100 | - </tbody> | |
| 101 | - </table> | |
| 102 | - </div> | |
| 103 | - <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 104 | - <!-- END Header image --> | |
| 54 | + .button a, | |
| 55 | + a.view-full, | |
| 56 | + a.button-cta { | |
| 57 | + font-family: Roboto, arial, sans-serif; | |
| 58 | + font-size: 13px !important; | |
| 59 | + line-height: 24px; | |
| 60 | + font-weight: bold; | |
| 61 | + background: #0059FF; | |
| 62 | + text-decoration: none !important; | |
| 63 | + padding: 10px 15px; | |
| 64 | + color: #ffffff !important; | |
| 65 | + border-radius: 6px; | |
| 66 | + display: inline-block; | |
| 67 | + margin: 20px auto; | |
| 68 | + text-transform: unset !important; | |
| 69 | + min-width: unset !important; | |
| 70 | + } | |
| 105 | 71 | |
| 106 | - <!-- Main content --> | |
| 107 | - <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="main-content-outlook" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> | |
| 108 | - <div class="main-content" style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"> | |
| 109 | - <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;"> | |
| 110 | - <tbody> | |
| 111 | - <tr> | |
| 112 | - <td style="direction:ltr;font-size:0px;padding:30px 25px 45px;text-align:center;"> | |
| 113 | - <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:550px;" ><![endif]--> | |
| 114 | - <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 115 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> | |
| 116 | - <tbody> | |
| 117 | - <tr> | |
| 118 | - <td align="left" style="font-size:0px;padding:0;word-break:break-word;"> | |
| 119 | - <div style="font-family:Roboto, Arial, sans-serif;font-size:18px;letter-spacing:-.25px;line-height:30px;text-align:left;color:#1A1A1A;"> | |
| 120 | - <?php echo $content_body; ?> | |
| 121 | - <!--Cheers block--> | |
| 122 | - <p style="color:#1A1A1A;font-family:Roboto,Arial,sans-serif;font-size:16px;font-weight:normal;line-height:30px;margin:30px 0 0;padding:0;text-align:left;"> | |
| 123 | - <?php esc_html_e( "Cheers,", 'wpdef' ) ?> | |
| 124 | - <br/> | |
| 125 | - <?php esc_html_e( "The WPMU DEV Team.", 'wpdef' ) ?> | |
| 126 | - </p> | |
| 127 | - <!--End Cheers block--> | |
| 128 | - </div> | |
| 129 | - </td> | |
| 130 | - </tr> | |
| 131 | - </tbody> | |
| 132 | - </table> | |
| 133 | - </div> | |
| 134 | - <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 135 | - </td> | |
| 136 | - </tr> | |
| 137 | - </tbody> | |
| 138 | - </table> | |
| 139 | - </div> | |
| 140 | - <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 141 | - <!-- END Main content --> | |
| 72 | + /* OTP style */ | |
| 73 | + span.defender-otp { | |
| 74 | + background: #F2F2F2; | |
| 75 | + padding: 20px; | |
| 76 | + border-radius: 10px; | |
| 77 | + display: block; | |
| 78 | + text-align: center; | |
| 79 | + font-weight: 500; | |
| 80 | + font-size: 16px; | |
| 81 | + line-height: 22px; | |
| 82 | + } | |
| 142 | 83 | |
| 143 | - <!-- Footer --> | |
| 144 | - <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0;font-size:0;mso-line-height-rule:exactly;"><![endif]--> | |
| 145 | - <div style="background:#E7F1FB;background-color:#E7F1FB;margin:0 auto;border-radius:0 0 15px 15px;max-width:600px;"> | |
| 146 | - <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#E7F1FB;background-color:#E7F1FB;width:100%;border-radius:0 0 15px 15px;"> | |
| 147 | - <tbody> | |
| 148 | - <tr> | |
| 149 | - <td style="direction:ltr;font-size:0;padding:20px 0;text-align:center;"> | |
| 150 | - <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]--> | |
| 151 | - <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 152 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> | |
| 153 | - <tbody> | |
| 154 | - <tr> | |
| 155 | - <td align="center" style="font-size:0;padding:10px 25px;word-break:break-word;"> | |
| 156 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0;"> | |
| 157 | - <tbody> | |
| 158 | - <tr> | |
| 159 | - <td style="width:168px;"> | |
| 160 | - <img height="30" width="170" src="<?php echo defender_asset_url( '/assets/email-images/[email protected]' ); ?>" style="border:0;display:block;outline:none;text-decoration:none;height:30px;width:170px;font-size:13px;" /> | |
| 161 | - </td> | |
| 162 | - </tr> | |
| 163 | - </tbody> | |
| 164 | - </table> | |
| 165 | - </td> | |
| 166 | - </tr> | |
| 167 | - </tbody> | |
| 168 | - </table> | |
| 169 | - </div> | |
| 170 | - <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 171 | - </td> | |
| 172 | - </tr> | |
| 173 | - </tbody> | |
| 174 | - </table> | |
| 175 | - </div> | |
| 176 | - <!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0;font-size:0;mso-line-height-rule:exactly;"><![endif]--> | |
| 177 | - <div style="margin:0 auto;max-width:600px;"> | |
| 178 | - <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> | |
| 179 | - <tbody> | |
| 180 | - <tr> | |
| 181 | - <td style="direction:ltr;font-size:0;padding:25px 20px 15px;text-align:center;"> | |
| 182 | - <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:560px;" ><![endif]--> | |
| 183 | - <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 184 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top; line-height:normal;" width="100%"> | |
| 185 | - <tbody> | |
| 186 | - <tr> | |
| 187 | - <td align="center" style="font-size:0;padding:0;word-break:break-word;"> | |
| 188 | - <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" ><tr><td><![endif]--> | |
| 189 | - <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="float:none;display:inline-table;"> | |
| 190 | - <tr class="hidden-img"> | |
| 191 | - <td style="padding:1px;vertical-align:middle;"> | |
| 192 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:transparent;border-radius:3px;width:0;"> | |
| 193 | - <tr> | |
| 194 | - <td style="font-size:0;height:0;vertical-align:middle;width:0;"> | |
| 195 | - <img height="0" style="border-radius:3px;display:block;" width="0" /> | |
| 196 | - </td> | |
| 197 | - </tr> | |
| 198 | - </table> | |
| 199 | - </td> | |
| 200 | - <td style="vertical-align:middle;"> | |
| 201 | - <span style="color:#333333;font-size:13px;font-weight:700;font-family:Roboto, Arial, sans-serif;line-height:25px;text-decoration:none;"> <?php _e( 'Follow us', 'wpdef' ); ?> </span> | |
| 202 | - </td> | |
| 203 | - </tr> | |
| 204 | - </table> | |
| 205 | - <!--[if mso | IE]></td><td><![endif]--> | |
| 206 | - <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="float:none;display:inline-table;"> | |
| 207 | - <tr> | |
| 208 | - <td style="padding:1px;vertical-align:middle;"> | |
| 209 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:transparent;border-radius:3px;width:25px;"> | |
| 210 | - <tr> | |
| 211 | - <td style="font-size:0;height:25px;vertical-align:middle;text-align:center;width:25px;"> | |
| 212 | - <a href="https://www.facebook.com/wpmudev" target="_blank" style="display:inline-block;"> | |
| 213 | - <img height="14" width="7" src="<?php echo defender_asset_url( '/assets/email-images/icon-fb.png' ); ?>" style="width:7px;height:14px;border-radius:3px;display:block;" /> | |
| 214 | - </a> | |
| 215 | - </td> | |
| 216 | - </tr> | |
| 217 | - </table> | |
| 218 | - </td> | |
| 219 | - </tr> | |
| 220 | - </table> | |
| 221 | - <!--[if mso | IE]></td><td><![endif]--> | |
| 222 | - <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="float:none;display:inline-table;"> | |
| 223 | - <tr> | |
| 224 | - <td style="padding:1px;vertical-align:middle;"> | |
| 225 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:transparent;border-radius:3px;width:25px;"> | |
| 226 | - <tr> | |
| 227 | - <td style="font-size:0;height:25px;vertical-align:middle;text-align:center;width:25px;"> | |
| 228 | - <a href="https://www.instagram.com/wpmu_dev/" target="_blank" style="display:inline-block;"> | |
| 229 | - <img height="14" width="14" src="<?php echo defender_asset_url( '/assets/email-images/icon-instagram.png' ); ?>" style="width:14px;height:14px;border-radius:3px;display:block;" /> | |
| 230 | - </a> | |
| 231 | - </td> | |
| 232 | - </tr> | |
| 233 | - </table> | |
| 234 | - </td> | |
| 235 | - </tr> | |
| 236 | - </table> | |
| 237 | - <!--[if mso | IE]></td><td><![endif]--> | |
| 238 | - <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="float:none;display:inline-table;"> | |
| 239 | - <tr> | |
| 240 | - <td style="padding:1px;vertical-align:middle;"> | |
| 241 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:transparent;border-radius:3px;width:25px;"> | |
| 242 | - <tr> | |
| 243 | - <td style="font-size:0;height:25px;vertical-align:middle;text-align:center;width:25px;"> | |
| 244 | - <a href="https://twitter.com/wpmudev" target="_blank" style="display:inline-block;"> | |
| 245 | - <img height="11" width="13" src="<?php echo defender_asset_url( '/assets/email-images/icon-twitter.png' ); ?>" style="width:13px;height:11px;border-radius:3px;display:block;" /> | |
| 246 | - </a> | |
| 247 | - </td> | |
| 248 | - </tr> | |
| 249 | - </table> | |
| 250 | - </td> | |
| 251 | - </tr> | |
| 252 | - </table> | |
| 253 | - <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 254 | - </td> | |
| 255 | - </tr> | |
| 256 | - </tbody> | |
| 257 | - </table> | |
| 258 | - </div> | |
| 259 | - <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 260 | - </td> | |
| 261 | - </tr> | |
| 262 | - </tbody> | |
| 263 | - </table> | |
| 264 | - </div> | |
| 265 | - <!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0;font-size:0;mso-line-height-rule:exactly;"><![endif]--> | |
| 266 | - <div style="margin:0 auto;max-width:600px;"> | |
| 267 | - <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> | |
| 268 | - <tbody> | |
| 269 | - <tr> | |
| 270 | - <td style="direction:ltr;font-size:0;padding:0;text-align:center;"> | |
| 271 | - <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]--> | |
| 272 | - <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 273 | - <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> | |
| 274 | - <tbody> | |
| 275 | - <tr> | |
| 276 | - <td align="center" style="font-size:0;padding:0 0 15px;word-break:break-word;"> | |
| 277 | - <div style="font-family:Roboto, Arial, sans-serif;font-size:10px;letter-spacing:-.25px;line-height:30px;text-align:center;color:#505050;">INCSUB PO BOX 163, ALBERT PARK, VICTORIA.3206 AUSTRALIA</div> | |
| 278 | - </td> | |
| 279 | - </tr> | |
| 280 | - <tr> | |
| 281 | - <td align="center" style="font-size:0;padding:0 0 25px;word-break:break-word;"> | |
| 282 | - <div style="font-family:Roboto, Arial, sans-serif;font-size:10px;letter-spacing:-.25px;line-height:30px;text-align:center;color:#1A1A1A;"></div> | |
| 283 | - </td> | |
| 284 | - </tr> | |
| 285 | - </tbody> | |
| 286 | - </table> | |
| 287 | - </div> | |
| 288 | - <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 289 | - </td> | |
| 290 | - </tr> | |
| 291 | - </tbody> | |
| 292 | - </table> | |
| 293 | - </div> | |
| 294 | - <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 295 | - <!-- END footer --> | |
| 296 | - </body> | |
| 84 | + /* Hover-cases: */ | |
| 85 | + /* 1.All links. */ | |
| 86 | + .main-content a:hover { | |
| 87 | + color: #0C33A9 !important; | |
| 88 | + } | |
| 89 | + | |
| 90 | + /* 2.Link for full view. */ | |
| 91 | + .main-content a.view-full:hover { | |
| 92 | + background: #0C33A9 !important; | |
| 93 | + color: #ffffff !important; | |
| 94 | + } | |
| 95 | + | |
| 96 | + /* 3.Text. */ | |
| 97 | + .report-list-item-path span:hover { | |
| 98 | + color: #0C33A9 !important; | |
| 99 | + } | |
| 100 | + | |
| 101 | + @media only screen and (min-width: 480px) { | |
| 102 | + .mj-column-per-100 { | |
| 103 | + width: 100% !important; | |
| 104 | + max-width: 100%; | |
| 105 | + } | |
| 106 | + } | |
| 107 | + </style> | |
| 108 | +</head> | |
| 109 | + | |
| 110 | +<body | |
| 111 | + style="-moz-box-sizing: border-box; -ms-text-size-adjust: 100%; -webkit-box-sizing: border-box; -webkit-text-size-adjust: 100%; background-color: #F2F2F2; box-sizing: border-box; color: #1A1A1A; font-family: Roboto, Arial, sans-serif; font-size: 15px; font-weight: normal; line-height: 26px; margin: 0; min-width: 100%; padding: 0; text-align: left; width: 100% !important;<?php echo $can_whitelabel ? 'padding-top:45px;' : ''; ?>"> | |
| 112 | +<!-- Header image --> | |
| 113 | +<?php if ( ! $can_whitelabel ) : ?> | |
| 114 | + <!--[if mso | IE]> | |
| 115 | + <table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"> | |
| 116 | + <tr> | |
| 117 | + <td style="line-height:0;font-size:0;mso-line-height-rule:exactly;"><![endif]--> | |
| 118 | + <div style="margin:0 auto;max-width:600px;"> | |
| 119 | + <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> | |
| 120 | + <tbody> | |
| 121 | + <tr> | |
| 122 | + <td style="direction:ltr;font-size:0;padding:25px 0 0;text-align:center;"> | |
| 123 | + <!--[if mso | IE]> | |
| 124 | + <table role="presentation" border="0" cellpadding="0" cellspacing="0"> | |
| 125 | + <tr> | |
| 126 | + <td class="" style="vertical-align:top;width:600px;"><![endif]--> | |
| 127 | + <div class="mj-column-per-100 mj-outlook-group-fix" | |
| 128 | + style="font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 129 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"> | |
| 130 | + <tbody> | |
| 131 | + <tr> | |
| 132 | + <td style="background-color:#282A2C;border-radius:15px 15px 0 0;vertical-align:top;padding:35px 0;"> | |
| 133 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="" | |
| 134 | + width="100%"> | |
| 135 | + <tbody> | |
| 136 | + <tr> | |
| 137 | + <td align="center" style="font-size:0;padding:0;word-break:break-word;"> | |
| 138 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 139 | + style="border-collapse:collapse;border-spacing:0;"> | |
| 140 | + <tbody> | |
| 141 | + <tr> | |
| 142 | + <td> | |
| 143 | + <img height="30" width="27" | |
| 144 | + src="<?php echo esc_url( $dashboard_whitelabel->get_branding_logo() ); ?>" | |
| 145 | + style="border:0;outline:none;text-decoration:none;height:30px;width:27px;vertical-align:middle;" | |
| 146 | + alt="<?php echo esc_attr( $title ); ?>"> | |
| 147 | + <span style="color: #FFFFFF;font-family: Roboto, Arial, sans-serif;font-size: 20px;font-weight: 700;text-align: left;margin-left: 10px;line-height:25px; vertical-align:middle;"> | |
| 148 | + <?php echo esc_html( $title ); ?> | |
| 149 | + </span> | |
| 150 | + </td> | |
| 151 | + </tr> | |
| 152 | + </tbody> | |
| 153 | + </table> | |
| 154 | + </td> | |
| 155 | + </tr> | |
| 156 | + </tbody> | |
| 157 | + </table> | |
| 158 | + </td> | |
| 159 | + </tr> | |
| 160 | + </tbody> | |
| 161 | + </table> | |
| 162 | + </div> | |
| 163 | + <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 164 | + </td> | |
| 165 | + </tr> | |
| 166 | + </tbody> | |
| 167 | + </table> | |
| 168 | + </div> | |
| 169 | + <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 170 | +<?php endif; ?> | |
| 171 | +<!-- END Header image --> | |
| 172 | + | |
| 173 | +<!-- Main content --> | |
| 174 | +<!--[if mso | IE]> | |
| 175 | +<table align="center" border="0" cellpadding="0" cellspacing="0" class="main-content-outlook" style="width:600px;" | |
| 176 | + width="600"> | |
| 177 | + <tr> | |
| 178 | + <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> | |
| 179 | +<div class="main-content" | |
| 180 | + style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;<?php echo $can_whitelabel ? 'border-radius:20px;overflow:hidden;' : ''; ?>"> | |
| 181 | + <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 182 | + style="background:#ffffff;background-color:#ffffff;width:100%;"> | |
| 183 | + <tbody> | |
| 184 | + <tr> | |
| 185 | + <td style="direction:ltr;font-size:0px;padding:30px 25px 45px;text-align:center;"> | |
| 186 | + <!--[if mso | IE]> | |
| 187 | + <table role="presentation" border="0" cellpadding="0" cellspacing="0"> | |
| 188 | + <tr> | |
| 189 | + <td class="" style="vertical-align:top;width:550px;"><![endif]--> | |
| 190 | + <div class="mj-column-per-100 mj-outlook-group-fix" | |
| 191 | + style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 192 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" | |
| 193 | + width="100%"> | |
| 194 | + <tbody> | |
| 195 | + <tr> | |
| 196 | + <td align="left" style="font-size:0px;padding:0;word-break:break-word;"> | |
| 197 | + <div style="font-family:Roboto, Arial, sans-serif;font-size:18px;letter-spacing:-.25px;line-height:30px;text-align:left;color:#1A1A1A;"> | |
| 198 | + <?php echo wp_kses_post( $content_body ); ?> | |
| 199 | + <!--Cheers block--> | |
| 200 | + <?php | |
| 201 | + if ( | |
| 202 | + ! $can_whitelabel || | |
| 203 | + ( $dashboard_whitelabel->is_change_footer() && $dashboard_whitelabel->is_set_footer_text() ) | |
| 204 | + ) : | |
| 205 | + ?> | |
| 206 | + <p style="color:#1A1A1A;font-family:Roboto,Arial,sans-serif;font-size:16px;font-weight:normal;line-height:30px;margin:30px 0 0;padding:0;text-align:left;"> | |
| 207 | + <?php esc_html_e( 'Cheers,', 'defender-security' ); ?> | |
| 208 | + <br/> | |
| 209 | + <?php echo esc_html( $dashboard_whitelabel->get_footer_text() ); ?> | |
| 210 | + </p> | |
| 211 | + <?php endif; ?> | |
| 212 | + <!--End Cheers block--> | |
| 213 | + </div> | |
| 214 | + </td> | |
| 215 | + </tr> | |
| 216 | + </tbody> | |
| 217 | + </table> | |
| 218 | + </div> | |
| 219 | + <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 220 | + </td> | |
| 221 | + </tr> | |
| 222 | + </tbody> | |
| 223 | + </table> | |
| 224 | +</div> | |
| 225 | +<!--[if mso | IE]></td></tr></table><![endif]--> | |
| 226 | +<!-- END Main content --> | |
| 227 | + | |
| 228 | +<!-- Footer --> | |
| 229 | +<?php if ( ! $can_whitelabel ) : ?> | |
| 230 | + <!--[if mso | IE]> | |
| 231 | + <table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"> | |
| 232 | + <tr> | |
| 233 | + <td style="line-height:0;font-size:0;mso-line-height-rule:exactly;"><![endif]--> | |
| 234 | + <div style="background:#E7F1FB;background-color:#E7F1FB;margin:0 auto;border-radius:0 0 15px 15px;max-width:600px;"> | |
| 235 | + <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 236 | + style="background:#E7F1FB;background-color:#E7F1FB;width:100%;border-radius:0 0 15px 15px;"> | |
| 237 | + <tbody> | |
| 238 | + <tr> | |
| 239 | + <td style="direction:ltr;font-size:0;padding:20px 0;text-align:center;"> | |
| 240 | + <!--[if mso | IE]> | |
| 241 | + <table role="presentation" border="0" cellpadding="0" cellspacing="0"> | |
| 242 | + <tr> | |
| 243 | + <td class="" style="vertical-align:top;width:600px;"><![endif]--> | |
| 244 | + <div class="mj-column-per-100 mj-outlook-group-fix" | |
| 245 | + style="font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 246 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 247 | + style="vertical-align:top;" width="100%"> | |
| 248 | + <tbody> | |
| 249 | + <tr> | |
| 250 | + <td align="center" style="font-size:0;padding:10px 25px;word-break:break-word;"> | |
| 251 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 252 | + style="border-collapse:collapse;border-spacing:0;"> | |
| 253 | + <tbody> | |
| 254 | + <tr> | |
| 255 | + <td style="width:168px;"> | |
| 256 | + <img height="30" width="170" | |
| 257 | + src="<?php echo esc_url( defender_asset_url( '/assets/email-images/[email protected]' ) ); ?>" | |
| 258 | + style="border:0;display:block;outline:none;text-decoration:none;height:30px;width:170px;font-size:13px;"/> | |
| 259 | + </td> | |
| 260 | + </tr> | |
| 261 | + </tbody> | |
| 262 | + </table> | |
| 263 | + </td> | |
| 264 | + </tr> | |
| 265 | + </tbody> | |
| 266 | + </table> | |
| 267 | + </div> | |
| 268 | + <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 269 | + </td> | |
| 270 | + </tr> | |
| 271 | + </tbody> | |
| 272 | + </table> | |
| 273 | + </div> | |
| 274 | + <!--[if mso | IE]></td></tr></table> | |
| 275 | + <table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"> | |
| 276 | + <tr> | |
| 277 | + <td style="line-height:0;font-size:0;mso-line-height-rule:exactly;"><![endif]--> | |
| 278 | + <div style="margin:0 auto;max-width:600px;"> | |
| 279 | + <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> | |
| 280 | + <tbody> | |
| 281 | + <tr> | |
| 282 | + <td style="direction:ltr;font-size:0;padding:25px 20px 15px;text-align:center;"> | |
| 283 | + <!--[if mso | IE]> | |
| 284 | + <table role="presentation" border="0" cellpadding="0" cellspacing="0"> | |
| 285 | + <tr> | |
| 286 | + <td class="" style="vertical-align:top;width:560px;"><![endif]--> | |
| 287 | + <div class="mj-column-per-100 mj-outlook-group-fix" | |
| 288 | + style="font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 289 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 290 | + style="vertical-align:top; line-height:normal;" width="100%"> | |
| 291 | + <tbody> | |
| 292 | + <tr> | |
| 293 | + <td align="center" style="font-size:0;padding:0;word-break:break-word;"> | |
| 294 | + <!--[if mso | IE]> | |
| 295 | + <table align="center" border="0" cellpadding="0" cellspacing="0" | |
| 296 | + role="presentation"> | |
| 297 | + <tr> | |
| 298 | + <td><![endif]--> | |
| 299 | + <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 300 | + style="float:none;display:inline-table;"> | |
| 301 | + <tr class="hidden-img"> | |
| 302 | + <td style="padding:1px;vertical-align:middle;"> | |
| 303 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 304 | + style="background:transparent;border-radius:3px;width:0;"> | |
| 305 | + <tr> | |
| 306 | + <td style="font-size:0;height:0;vertical-align:middle;width:0;"> | |
| 307 | + <img height="0" style="border-radius:3px;display:block;" | |
| 308 | + width="0"/> | |
| 309 | + </td> | |
| 310 | + </tr> | |
| 311 | + </table> | |
| 312 | + </td> | |
| 313 | + <td style="vertical-align:middle;"> | |
| 314 | + <span style="color:#333333;font-size:13px;font-weight:700;font-family:Roboto, Arial, sans-serif;line-height:25px;text-decoration:none;"> | |
| 315 | + <?php | |
| 316 | + esc_html_e( | |
| 317 | + 'Follow us', | |
| 318 | + 'defender-security' | |
| 319 | + ); | |
| 320 | + ?> | |
| 321 | + </span> | |
| 322 | + </td> | |
| 323 | + </tr> | |
| 324 | + </table> | |
| 325 | + <!--[if mso | IE]></td> | |
| 326 | + <td><![endif]--> | |
| 327 | + <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 328 | + style="float:none;display:inline-table;"> | |
| 329 | + <tr> | |
| 330 | + <td style="padding:1px;vertical-align:middle;"> | |
| 331 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 332 | + style="background:transparent;border-radius:3px;width:25px;"> | |
| 333 | + <tr> | |
| 334 | + <td style="font-size:0;height:25px;vertical-align:middle;text-align:center;width:25px;"> | |
| 335 | + <a href="https://www.facebook.com/wpmudev" target="_blank" | |
| 336 | + style="display:inline-block;"> | |
| 337 | + <img height="14" width="7" | |
| 338 | + src="<?php echo esc_url( defender_asset_url( '/assets/email-images/icon-fb.png' ) ); ?>" | |
| 339 | + style="width:7px;height:14px;border-radius:3px;display:block;"/> | |
| 340 | + </a> | |
| 341 | + </td> | |
| 342 | + </tr> | |
| 343 | + </table> | |
| 344 | + </td> | |
| 345 | + </tr> | |
| 346 | + </table> | |
| 347 | + <!--[if mso | IE]></td> | |
| 348 | + <td><![endif]--> | |
| 349 | + <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 350 | + style="float:none;display:inline-table;"> | |
| 351 | + <tr> | |
| 352 | + <td style="padding:1px;vertical-align:middle;"> | |
| 353 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 354 | + style="background:transparent;border-radius:3px;width:25px;"> | |
| 355 | + <tr> | |
| 356 | + <td style="font-size:0;height:25px;vertical-align:middle;text-align:center;width:25px;"> | |
| 357 | + <a href="https://www.instagram.com/wpmu_dev/" | |
| 358 | + target="_blank" style="display:inline-block;"> | |
| 359 | + <img height="14" width="14" | |
| 360 | + src="<?php echo esc_url( defender_asset_url( '/assets/email-images/icon-instagram.png' ) ); ?>" | |
| 361 | + style="width:14px;height:14px;border-radius:3px;display:block;"/> | |
| 362 | + </a> | |
| 363 | + </td> | |
| 364 | + </tr> | |
| 365 | + </table> | |
| 366 | + </td> | |
| 367 | + </tr> | |
| 368 | + </table> | |
| 369 | + <!--[if mso | IE]></td> | |
| 370 | + <td><![endif]--> | |
| 371 | + <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 372 | + style="float:none;display:inline-table;"> | |
| 373 | + <tr> | |
| 374 | + <td style="padding:1px;vertical-align:middle;"> | |
| 375 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" | |
| 376 | + style="background:transparent;border-radius:3px;width:25px;"> | |
| 377 | + <tr> | |
| 378 | + <td style="font-size:0;height:25px;vertical-align:middle;text-align:center;width:25px;"> | |
| 379 | + <a href="https://twitter.com/wpmudev" target="_blank" | |
| 380 | + style="display:inline-block;"> | |
| 381 | + <img height="12" width="13" | |
| 382 | + src="<?php echo esc_url( defender_asset_url( '/assets/email-images/icon-twitter.png' ) ); ?>" | |
| 383 | + style="width:13px;height:12px;border-radius:3px;display:block;"/> | |
| 384 | + </a> | |
| 385 | + </td> | |
| 386 | + </tr> | |
| 387 | + </table> | |
| 388 | + </td> | |
| 389 | + </tr> | |
| 390 | + </table> | |
| 391 | + <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 392 | + </td> | |
| 393 | + </tr> | |
| 394 | + </tbody> | |
| 395 | + </table> | |
| 396 | + </div> | |
| 397 | + <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 398 | + </td> | |
| 399 | + </tr> | |
| 400 | + </tbody> | |
| 401 | + </table> | |
| 402 | + </div> | |
| 403 | +<?php endif; ?> | |
| 404 | +<!--[if mso | IE]></td></tr></table> | |
| 405 | +<table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"> | |
| 406 | + <tr> | |
| 407 | + <td style="line-height:0;font-size:0;mso-line-height-rule:exactly;"><![endif]--> | |
| 408 | +<div style="margin:0 auto;max-width:600px;"> | |
| 409 | + <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> | |
| 410 | + <tbody> | |
| 411 | + <tr> | |
| 412 | + <td style="direction:ltr;font-size:0;padding:0;text-align:center;"> | |
| 413 | + <!--[if mso | IE]> | |
| 414 | + <table role="presentation" border="0" cellpadding="0" cellspacing="0"> | |
| 415 | + <tr> | |
| 416 | + <td class="" style="vertical-align:top;width:600px;"><![endif]--> | |
| 417 | + <div class="mj-column-per-100 mj-outlook-group-fix" | |
| 418 | + style="font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> | |
| 419 | + <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" | |
| 420 | + width="100%"> | |
| 421 | + <tbody> | |
| 422 | + <tr> | |
| 423 | + <td align="center" style="font-size:0;padding:0 0 15px;word-break:break-word;"> | |
| 424 | + <?php if ( ! $can_whitelabel ) : ?> | |
| 425 | + <div style="font-family:Roboto, Arial, sans-serif;font-size:10px;letter-spacing:-.25px;line-height:30px;text-align:center;color:#505050;"> | |
| 426 | + INCSUB PO BOX 163, ALBERT PARK, VICTORIA.3206 AUSTRALIA | |
| 427 | + </div> | |
| 428 | + <?php endif; ?> | |
| 429 | + <!-- Unsubscribe section --> | |
| 430 | + <?php if ( is_string( $unsubscribe_link ) && '' !== trim( $unsubscribe_link ) ) : ?> | |
| 431 | + <div style="font-family:Roboto, Arial, sans-serif;font-size:10px;letter-spacing:-.25px;line-height:30px;text-align:center;color:#505050;"> | |
| 432 | + <a href="<?php echo esc_url( $unsubscribe_link ); ?>" | |
| 433 | + style="color: #000!important;text-decoration-line:underline!important;font-weight: 400!important;"> | |
| 434 | + <?php | |
| 435 | + esc_html_e( | |
| 436 | + 'Unsubscribe', | |
| 437 | + 'defender-security' | |
| 438 | + ); | |
| 439 | + ?> | |
| 440 | + </a> | |
| 441 | + </div> | |
| 442 | + <?php endif; ?> | |
| 443 | + <!-- End Unsubscribe --> | |
| 444 | + </td> | |
| 445 | + </tr> | |
| 446 | + <tr> | |
| 447 | + <td align="center" style="font-size:0;padding:0 0 25px;word-break:break-word;"> | |
| 448 | + <div style="font-family:Roboto, Arial, sans-serif;font-size:10px;letter-spacing:-.25px;line-height:30px;text-align:center;color:#1A1A1A;"></div> | |
| 449 | + </td> | |
| 450 | + </tr> | |
| 451 | + </tbody> | |
| 452 | + </table> | |
| 453 | + </div> | |
| 454 | + <!--[if mso | IE]></td></tr></table><![endif]--> | |
| 455 | + </td> | |
| 456 | + </tr> | |
| 457 | + </tbody> | |
| 458 | + </table> | |
| 459 | +</div> | |
| 460 | +<!--[if mso | IE]></td></tr></table><![endif]--> | |
| 461 | +<!-- END footer --> | |
| 462 | +</body> | |
| 297 | 463 | </html> |