body-default.php
2 years ago
default.php
2 years ago
field-default.php
2 years ago
footer-default.php
2 years ago
header-default.php
2 years ago
default.php
335 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Default email template. |
| 4 | * |
| 5 | * Don't forget to run final template through |
| 6 | * http://templates.mailchimp.com/resources/inline-css/ |
| 7 | * |
| 8 | * This template can be overridden by copying it to yourtheme/everest-forms/emails/default.php. |
| 9 | * |
| 10 | * HOWEVER, on occasion Everest Forms will need to update template files and you |
| 11 | * and you (the theme developer) will need to copy the new files to your theme to |
| 12 | * maintain compatibility. We try to do this as little as possible, but it does |
| 13 | * happen. When this occurs the version of the template file will be bumped and |
| 14 | * the readme will list any important changes. |
| 15 | * |
| 16 | * @see https://docs.everestforms.net/ |
| 17 | * @package EverestForms/Templates |
| 18 | * @version 1.2.0 |
| 19 | */ |
| 20 | |
| 21 | defined( 'ABSPATH' ) || exit; |
| 22 | |
| 23 | ?> |
| 24 | <!doctype html> |
| 25 | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> |
| 26 | <head> |
| 27 | <!--[if gte mso 15]> |
| 28 | <xml> |
| 29 | <o:OfficeDocumentSettings> |
| 30 | <o:AllowPNG/> |
| 31 | <o:PixelsPerInch>96</o:PixelsPerInch> |
| 32 | </o:OfficeDocumentSettings> |
| 33 | </xml> |
| 34 | <![endif]--> |
| 35 | <meta charset="UTF-8"> |
| 36 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 37 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 38 | <title></title> |
| 39 | <style type="text/css"> |
| 40 | p{ |
| 41 | margin:10px 0; |
| 42 | padding:0; |
| 43 | } |
| 44 | table{ |
| 45 | border-collapse:collapse; |
| 46 | } |
| 47 | h1,h2,h3,h4,h5,h6{ |
| 48 | display:block; |
| 49 | margin:0; |
| 50 | padding:0; |
| 51 | } |
| 52 | img,a img{ |
| 53 | border:0; |
| 54 | height:auto; |
| 55 | outline:none; |
| 56 | text-decoration:none; |
| 57 | } |
| 58 | body,#bodyTable,#bodyCell{ |
| 59 | height:100%; |
| 60 | margin:0; |
| 61 | padding:0; |
| 62 | width:100%; |
| 63 | } |
| 64 | #outlook a{ |
| 65 | padding:0; |
| 66 | } |
| 67 | img{ |
| 68 | -ms-interpolation-mode:bicubic; |
| 69 | } |
| 70 | table{ |
| 71 | mso-table-lspace:0pt; |
| 72 | mso-table-rspace:0pt; |
| 73 | } |
| 74 | .ReadMsgBody{ |
| 75 | width:100%; |
| 76 | } |
| 77 | .ExternalClass{ |
| 78 | width:100%; |
| 79 | } |
| 80 | p,a,li,td,blockquote{ |
| 81 | mso-line-height-rule:exactly; |
| 82 | } |
| 83 | a[href^=tel],a[href^=sms]{ |
| 84 | color:inherit; |
| 85 | cursor:default; |
| 86 | text-decoration:none; |
| 87 | } |
| 88 | p,a,li,td,body,table,blockquote{ |
| 89 | -ms-text-size-adjust:100%; |
| 90 | -webkit-text-size-adjust:100%; |
| 91 | } |
| 92 | .ExternalClass,.ExternalClass p,.ExternalClass td,.ExternalClass div,.ExternalClass span,.ExternalClass font{ |
| 93 | line-height:100%; |
| 94 | } |
| 95 | a[x-apple-data-detectors]{ |
| 96 | color:inherit !important; |
| 97 | text-decoration:none !important; |
| 98 | font-size:inherit !important; |
| 99 | font-family:inherit !important; |
| 100 | font-weight:inherit !important; |
| 101 | line-height:inherit !important; |
| 102 | } |
| 103 | #bodyCell{ |
| 104 | padding:50px 50px; |
| 105 | } |
| 106 | .templateContainer{ |
| 107 | max-width:600px !important; |
| 108 | border:0; |
| 109 | } |
| 110 | a.mcnButton{ |
| 111 | display:block; |
| 112 | } |
| 113 | .mcnTextContent{ |
| 114 | word-break:break-word; |
| 115 | } |
| 116 | .mcnTextContent img{ |
| 117 | height:auto !important; |
| 118 | } |
| 119 | .mcnDividerBlock{ |
| 120 | table-layout:fixed !important; |
| 121 | } |
| 122 | /***** Make theme edits below if needed *****/ |
| 123 | /* Page - Background Style */ |
| 124 | body,#bodyTable{ |
| 125 | background-color:#e9eaec; |
| 126 | } |
| 127 | /* Page - Heading 1 */ |
| 128 | h1{ |
| 129 | color:#202020; |
| 130 | font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; |
| 131 | font-size:26px; |
| 132 | font-style:normal; |
| 133 | font-weight:bold; |
| 134 | line-height:125%; |
| 135 | letter-spacing:normal; |
| 136 | text-align:left; |
| 137 | } |
| 138 | /* Page - Heading 2 */ |
| 139 | h2{ |
| 140 | color:#202020; |
| 141 | font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; |
| 142 | font-size:22px; |
| 143 | font-style:normal; |
| 144 | font-weight:bold; |
| 145 | line-height:125%; |
| 146 | letter-spacing:normal; |
| 147 | text-align:left; |
| 148 | } |
| 149 | /* Page - Heading 3 */ |
| 150 | h3{ |
| 151 | color:#202020; |
| 152 | font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; |
| 153 | font-size:20px; |
| 154 | font-style:normal; |
| 155 | font-weight:bold; |
| 156 | line-height:125%; |
| 157 | letter-spacing:normal; |
| 158 | text-align:left; |
| 159 | } |
| 160 | /* Page - Heading 4 */ |
| 161 | h4{ |
| 162 | color:#202020; |
| 163 | font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; |
| 164 | font-size:18px; |
| 165 | font-style:normal; |
| 166 | font-weight:bold; |
| 167 | line-height:125%; |
| 168 | letter-spacing:normal; |
| 169 | text-align:left; |
| 170 | } |
| 171 | /* Header - Header Style */ |
| 172 | #templateHeader{ |
| 173 | border-top:0; |
| 174 | border-bottom:0; |
| 175 | padding-top:0px; |
| 176 | padding-bottom:20px; |
| 177 | } |
| 178 | /* Body - Body Style */ |
| 179 | #templateBody{ |
| 180 | background-color:#FFFFFF; |
| 181 | border-top:0; |
| 182 | border: 1px solid #c1c1c1; |
| 183 | padding-top:0; |
| 184 | padding-bottom:0px; |
| 185 | } |
| 186 | /* Body -Body Text */ |
| 187 | #templateBody .mcnTextContent, |
| 188 | #templateBody .mcnTextContent p{ |
| 189 | color:#555555; |
| 190 | font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; |
| 191 | font-size:14px; |
| 192 | line-height:150%; |
| 193 | text-align:left; |
| 194 | } |
| 195 | /* Body - Body Link */ |
| 196 | #templateBody .mcnTextContent a, |
| 197 | #templateBody .mcnTextContent p a{ |
| 198 | color: #7e3bd0; |
| 199 | font-weight:normal; |
| 200 | text-decoration:underline; |
| 201 | } |
| 202 | /* Footer - Footer Style */ |
| 203 | #templateFooter{ |
| 204 | background-color:#e9eaec; |
| 205 | border-top:0; |
| 206 | border-bottom:0; |
| 207 | padding-top:12px; |
| 208 | padding-bottom:12px; |
| 209 | } |
| 210 | /* Footer - Footer Text */ |
| 211 | #templateFooter .mcnTextContent, |
| 212 | #templateFooter .mcnTextContent p{ |
| 213 | color:#cccccc; |
| 214 | font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; |
| 215 | font-size:12px; |
| 216 | line-height:150%; |
| 217 | text-align:center; |
| 218 | } |
| 219 | /* Footer - Footer Link */ |
| 220 | #templateFooter .mcnTextContent a, |
| 221 | #templateFooter .mcnTextContent p a{ |
| 222 | color:#cccccc; |
| 223 | font-weight:normal; |
| 224 | text-decoration:underline; |
| 225 | } |
| 226 | @media only screen and (min-width:768px){ |
| 227 | .templateContainer{ |
| 228 | width:600px !important; |
| 229 | } |
| 230 | } |
| 231 | @media only screen and (max-width: 480px){ |
| 232 | body,table,td,p,a,li,blockquote{ |
| 233 | -webkit-text-size-adjust:none !important; |
| 234 | } |
| 235 | } |
| 236 | @media only screen and (max-width: 480px){ |
| 237 | body{ |
| 238 | width:100% !important; |
| 239 | min-width:100% !important; |
| 240 | } |
| 241 | } |
| 242 | @media only screen and (max-width: 480px){ |
| 243 | #bodyCell{ |
| 244 | padding:20px !important; |
| 245 | } |
| 246 | } |
| 247 | @media only screen and (max-width: 480px){ |
| 248 | .mcnTextContentContainer{ |
| 249 | max-width:100% !important; |
| 250 | width:100% !important; |
| 251 | } |
| 252 | } |
| 253 | </style> |
| 254 | </head> |
| 255 | <body> |
| 256 | <center> |
| 257 | <table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable"> |
| 258 | <tr> |
| 259 | <td align="center" valign="top" id="bodyCell"> |
| 260 | <!-- BEGIN TEMPLATE // --> |
| 261 | <!--[if gte mso 9]> |
| 262 | <table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;"> |
| 263 | <tr> |
| 264 | <td align="center" valign="top" width="600" style="width:600px;"> |
| 265 | <![endif]--> |
| 266 | <table border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer"> |
| 267 | <?php |
| 268 | if ( ! empty( $header_image ) ) { |
| 269 | echo '<tr><td valign="top" align="center" id="templateHeader" style="padding-bottom:20px;text-align:center;">'; |
| 270 | echo '<img src="' . esc_url( $header_image ) . '" alt="' . esc_attr( get_bloginfo( 'name' ) ) . '" />'; |
| 271 | echo '</td></tr>'; |
| 272 | } |
| 273 | ?> |
| 274 | <tr> |
| 275 | <td valign="top" id="templateBody"> |
| 276 | <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width:100%;"> |
| 277 | <tbody class="mcnTextBlockOuter"> |
| 278 | <tr> |
| 279 | <td valign="top" class="mcnTextBlockInner"> |
| 280 | <table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;" class="mcnTextContentContainer"> |
| 281 | <tbody> |
| 282 | <tr> |
| 283 | <td valign="top" class="mcnTextContent" style="padding-top:30px; padding-right: 30px; padding-bottom: 30px; padding-left: 30px;"> |
| 284 | |
| 285 | <!-- Content --> |
| 286 | <h1>Content.</h1> |
| 287 | |
| 288 | </td> |
| 289 | </tr> |
| 290 | </tbody> |
| 291 | </table> |
| 292 | </td> |
| 293 | </tr> |
| 294 | </tbody> |
| 295 | </table> |
| 296 | </td> |
| 297 | </tr> |
| 298 | <tr> |
| 299 | <td valign="top" id="templateFooter"> |
| 300 | <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width:100%;"> |
| 301 | <tbody class="mcnTextBlockOuter"> |
| 302 | <tr> |
| 303 | <td valign="top" class="mcnTextBlockInner"> |
| 304 | <table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;" class="mcnTextContentContainer"> |
| 305 | <tbody> |
| 306 | <tr> |
| 307 | <td valign="top" class="mcnTextContent" style="padding-top:9px; padding-right: 18px; padding-bottom: 9px; padding-left: 18px;"> |
| 308 | |
| 309 | <!-- Footer content --> |
| 310 | Footer |
| 311 | |
| 312 | </td> |
| 313 | </tr> |
| 314 | </tbody> |
| 315 | </table> |
| 316 | </td> |
| 317 | </tr> |
| 318 | </tbody> |
| 319 | </table> |
| 320 | </td> |
| 321 | </tr> |
| 322 | </table> |
| 323 | <!--[if gte mso 9]> |
| 324 | </td> |
| 325 | </tr> |
| 326 | </table> |
| 327 | <![endif]--> |
| 328 | <!-- // END TEMPLATE --> |
| 329 | </td> |
| 330 | </tr> |
| 331 | </table> |
| 332 | </center> |
| 333 | </body> |
| 334 | </html> |
| 335 |