/shared/templates/email-templates/wp-notify-post-author/wp-notify-post-author.php

https://github.com/deltafactory/landing-pages · PHP · 108 lines · 107 code · 1 blank · 0 comment · 0 complexity · 6ee1087bde850b5875eb642c6a97b81a MD5 · raw file

  1. <?php
  2. $inbound_email_templates['wp-notify-post-author'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html;" charset="UTF-8" />
  6. <style type="text/css">
  7. html {
  8. background: #EEEDED;
  9. }
  10. </style>
  11. </head>
  12. <body style="margin: 0px; background-color: #FFFFFF; font-family: Helvetica, Arial, sans-serif; font-size:12px;" text="#444444" bgcolor="#FFFFFF" link="#21759B" alink="#21759B" vlink="#21759B" marginheight="0" topmargin="0" marginwidth="0" leftmargin="0">
  13. <table cellpadding="0" width="700" bgcolor="#FFFFFF" cellspacing="0" border="0" align="center" style="width:100%!important;line-height:100%!important;border-collapse:collapse;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
  14. <tbody><tr>
  15. <td valign="top" height="20">&nbsp;</td>
  16. </tr>
  17. <tr>
  18. <td valign="top">
  19. <table cellpadding="0" bgcolor="#ffffff" cellspacing="0" border="0" align="center" style="border-collapse:collapse;width:700px;font-size:13px;line-height:20px;color:#545454;font-family:Arial,sans-serif;border-radius:3px;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto">
  20. <tbody><tr>
  21. <td valign="top">
  22. <table cellpadding="0" cellspacing="0" border="0" style="border-collapse:separate;width:100%;border-radius:3px 3px 0 0;font-size:1px;line-height:3px;height:3px;border-top-color:#0298e3;border-right-color:#0298e3;border-bottom-color:#0298e3;border-left-color:#0298e3;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px">
  23. <tbody><tr>
  24. <td valign="top" style="font-family:Arial,sans-serif;background-color:#5ab8e7;border-top-width:1px;border-top-color:#8ccae9;border-top-style:solid" bgcolor="#5ab8e7">&nbsp;</td>
  25. </tr>
  26. </tbody></table>
  27. <table cellpadding="0" cellspacing="0" border="0" style="border-collapse:separate;width:700px;border-radius:0 0 3px 3px;border-top-color:#8c8c8c;border-right-color:#8c8c8c;border-bottom-color:#8c8c8c;border-left-color:#8c8c8c;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:0;border-right-width:1px;border-bottom-width:1px;border-left-width:1px">
  28. <tbody><tr>
  29. <td valign="top" style="font-size:13px;line-height:20px;color:#545454;font-family:Arial,sans-serif;border-radius:0 0 3px 3px;padding-top:3px;padding-right:30px;padding-bottom:15px;padding-left:30px">
  30. <h1 style="margin-top:20px;margin-right:0;margin-bottom:20px;margin-left:0; font-size:28px; line-height: 28px; color:#000;">'. __( 'New Comment' , 'ma' ) .'</h1>
  31. <p style="margin-top:20px;margin-right:0;margin-bottom:20px;margin-left:0">'. __( '{{wp-user-displayname}}, There is a new comment on the post "<a href="{{wp-comment-url}}">{{wp-post-title}}</a>' , 'ma' ) .'"</p>
  32. <!-- NEW TABLE -->
  33. <table class="heavyTable" style="width: 100%;
  34. max-width: 700px;
  35. border-collapse: collapse;
  36. background: white;
  37. margin-bottom: 20px;">
  38. <tbody>
  39. <tr style="">
  40. <td style="vertical-align:top;padding-top:10px;">
  41. <div style="">
  42. <img src="[inbound-gravitar email=\'{{wp-comment-author-email}}\' size=\'60\']" width="60" height="60">
  43. </div>
  44. </td>
  45. <td width="600" style="padding: 10px; padding-bottom: 5px;">
  46. <div style="padding-left:5px; display:inline-block; padding-bottom: 5px; font-size: 16px; color:#555;">
  47. <div style="margin-bottom:8px;"><strong>{{wp-comment-author}} '. __( 'says:' , 'ma' ) .'</strong></div>
  48. {{wp-comment-content}} <br><br>
  49. <a href="{{wp-comment-url}}">'. __('Click here to reply' , 'ma') .'</a>
  50. </div>
  51. </td>
  52. </tr>
  53. </tbody>
  54. </table>
  55. <!-- END NEW TABLE -->
  56. </td>
  57. </tr>
  58. </tbody></table>
  59. </td>
  60. </tr>
  61. </tbody>
  62. </table>
  63. <table cellpadding="0" cellspacing="0" border="0" align="center" style="border-collapse:collapse;width:700px;font-size:13px;line-height:20px;color:#545454;font-family:Arial,sans-serif;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto">
  64. <tbody>
  65. <tr>
  66. <td valign="top" width="30" style="color:#272727">&nbsp;</td>
  67. <td valign="top" height="18" style="height:18px;color:#272727"></td>
  68. <td style="color:#272727">&nbsp;</td>
  69. <td style="color:#545454;text-align:right" align="right">&nbsp;</td>
  70. <td valign="middle" width="30" style="color:#272727">&nbsp;</td>
  71. </tr>
  72. <tr>
  73. <td valign="top" height="6" style="color:#272727;line-height:1px">&nbsp;</td>
  74. <td style="color:#272727;line-height:1px">&nbsp;</td>
  75. <td style="color:#272727;line-height:1px">&nbsp;</td>
  76. <td style="color:#545454;text-align:right;line-height:1px" align="right">&nbsp;</td>
  77. <td valign="middle" width="30" style="color:#272727;line-height:1px">&nbsp;</td>
  78. </tr>
  79. </tbody>
  80. </table>
  81. <table cellpadding="0" cellspacing="0" border="0" align="center" style="border-collapse:collapse;width:700px">
  82. <tbody><tr>
  83. <td valign="top" style="color:#b1b1b1;font-size:11px;line-height:16px;font-family:Arial,sans-serif;text-align:center" align="center">
  84. <p style="margin-top:1em;margin-right:0;margin-bottom:1em;margin-left:0"></p>
  85. </td>
  86. </tr>
  87. </tbody>
  88. </table>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td valign="top" height="20">&nbsp;</td>
  93. </tr>
  94. </tbody>
  95. </table>
  96. </body>';