Aucune description

default.php 8.0KB

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