PageRenderTime 24ms CodeModel.GetById 15ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/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
  3$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">
  4<html>
  5<head>
  6  <meta http-equiv="Content-Type" content="text/html;" charset="UTF-8" />
  7<style type="text/css">
  8  html {
  9    background: #EEEDED;
 10  }
 11</style>
 12</head>
 13<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">
 14
 15<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">
 16  <tbody><tr>
 17    <td valign="top" height="20">&nbsp;</td>
 18  </tr>
 19  <tr>
 20    <td valign="top">
 21      <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">
 22  <tbody><tr>
 23    <td valign="top">
 24        <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">
 25          <tbody><tr>
 26            <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>
 27          </tr>
 28        </tbody></table>
 29      <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">
 30        <tbody><tr>
 31          <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">
 32
 33			<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>
 34			<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>
 35
 36			<!-- NEW TABLE -->
 37			<table class="heavyTable" style="width: 100%;
 38				max-width: 700px;
 39				border-collapse: collapse;
 40				background: white;
 41			   margin-bottom: 20px;">
 42			   <tbody>
 43			   
 44				<tr style="">
 45					<td style="vertical-align:top;padding-top:10px;">
 46						<div style="">
 47							<img src="[inbound-gravitar email=\'{{wp-comment-author-email}}\' size=\'60\']" width="60" height="60">
 48						</div>
 49					</td>
 50					<td width="600" style="padding: 10px; padding-bottom: 5px;">						
 51						<div style="padding-left:5px; display:inline-block; padding-bottom: 5px; font-size: 16px; color:#555;">
 52							<div style="margin-bottom:8px;"><strong>{{wp-comment-author}} '. __( 'says:' , 'ma' ) .'</strong></div>
 53							{{wp-comment-content}} <br><br>
 54							
 55							<a href="{{wp-comment-url}}">'. __('Click here to reply' , 'ma') .'</a>
 56						</div>
 57						
 58					</td>
 59				</tr>
 60			   
 61				
 62				
 63			   </tbody>
 64			 </table>
 65			 <!-- END NEW TABLE -->
 66          </td>
 67        </tr>
 68      </tbody></table>
 69    </td>
 70  </tr>
 71</tbody>
 72</table>
 73
 74	<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">
 75		<tbody>
 76		  <tr>
 77			<td valign="top" width="30" style="color:#272727">&nbsp;</td>
 78			<td valign="top" height="18" style="height:18px;color:#272727"></td>
 79			  <td style="color:#272727">&nbsp;</td>
 80			<td style="color:#545454;text-align:right" align="right">&nbsp;</td>
 81			<td valign="middle" width="30" style="color:#272727">&nbsp;</td>
 82		  </tr>		   
 83		  <tr>
 84			<td valign="top" height="6" style="color:#272727;line-height:1px">&nbsp;</td>
 85			<td style="color:#272727;line-height:1px">&nbsp;</td>
 86			  <td style="color:#272727;line-height:1px">&nbsp;</td>
 87			<td style="color:#545454;text-align:right;line-height:1px" align="right">&nbsp;</td>
 88			<td valign="middle" width="30" style="color:#272727;line-height:1px">&nbsp;</td>
 89		  </tr>
 90		</tbody>
 91	</table>
 92
 93    <table cellpadding="0" cellspacing="0" border="0" align="center" style="border-collapse:collapse;width:700px">
 94        <tbody><tr>
 95          <td valign="top" style="color:#b1b1b1;font-size:11px;line-height:16px;font-family:Arial,sans-serif;text-align:center" align="center">
 96            <p style="margin-top:1em;margin-right:0;margin-bottom:1em;margin-left:0"></p>
 97          </td>
 98        </tr>
 99      </tbody>
100	</table>
101    </td>
102  </tr>
103  <tr>
104    <td valign="top" height="20">&nbsp;</td>
105  </tr>
106</tbody>
107</table>
108</body>';