Commit realizado el 12:13:52 08-04-2024
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Email Body
|
||||
*
|
||||
* Heavily influenced by the great AffiliateWP plugin by Pippin Williamson.
|
||||
* https://github.com/AffiliateWP/AffiliateWP/tree/master/templates/emails
|
||||
*
|
||||
* @since 1.1.3
|
||||
*/
|
||||
|
||||
// Exit if accessed directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
{email}
|
@@ -0,0 +1,328 @@
|
||||
<?php
|
||||
/**
|
||||
* Default email template.
|
||||
*
|
||||
* Don't forget to run final template through
|
||||
* http://templates.mailchimp.com/resources/inline-css/
|
||||
*
|
||||
* @since 1.1.3
|
||||
*/
|
||||
|
||||
// Exit if accessed directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$header_image = wpforms_setting( 'email-header-image', false );
|
||||
?>
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
<head>
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title></title>
|
||||
<style type="text/css">
|
||||
p{
|
||||
margin:10px 0;
|
||||
padding:0;
|
||||
}
|
||||
table{
|
||||
border-collapse:collapse;
|
||||
}
|
||||
h1,h2,h3,h4,h5,h6{
|
||||
display:block;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
img,a img{
|
||||
border:0;
|
||||
height:auto;
|
||||
outline:none;
|
||||
text-decoration:none;
|
||||
}
|
||||
body,#bodyTable,#bodyCell{
|
||||
height:100%;
|
||||
margin:0;
|
||||
padding:0;
|
||||
width:100%;
|
||||
}
|
||||
#outlook a{
|
||||
padding:0;
|
||||
}
|
||||
img{
|
||||
-ms-interpolation-mode:bicubic;
|
||||
}
|
||||
table{
|
||||
mso-table-lspace:0pt;
|
||||
mso-table-rspace:0pt;
|
||||
}
|
||||
.ReadMsgBody{
|
||||
width:100%;
|
||||
}
|
||||
.ExternalClass{
|
||||
width:100%;
|
||||
}
|
||||
p,a,li,td,blockquote{
|
||||
mso-line-height-rule:exactly;
|
||||
}
|
||||
a[href^=tel],a[href^=sms]{
|
||||
color:inherit;
|
||||
cursor:default;
|
||||
text-decoration:none;
|
||||
}
|
||||
p,a,li,td,body,table,blockquote{
|
||||
-ms-text-size-adjust:100%;
|
||||
-webkit-text-size-adjust:100%;
|
||||
}
|
||||
.ExternalClass,.ExternalClass p,.ExternalClass td,.ExternalClass div,.ExternalClass span,.ExternalClass font{
|
||||
line-height:100%;
|
||||
}
|
||||
a[x-apple-data-detectors]{
|
||||
color:inherit !important;
|
||||
text-decoration:none !important;
|
||||
font-size:inherit !important;
|
||||
font-family:inherit !important;
|
||||
font-weight:inherit !important;
|
||||
line-height:inherit !important;
|
||||
}
|
||||
#bodyCell{
|
||||
padding:50px 50px;
|
||||
}
|
||||
.templateContainer{
|
||||
max-width:600px !important;
|
||||
border:0;
|
||||
}
|
||||
a.mcnButton{
|
||||
display:block;
|
||||
}
|
||||
.mcnTextContent{
|
||||
word-break:break-word;
|
||||
}
|
||||
.mcnTextContent img{
|
||||
height:auto !important;
|
||||
}
|
||||
.mcnDividerBlock{
|
||||
table-layout:fixed !important;
|
||||
}
|
||||
/***** Make theme edits below if needed *****/
|
||||
/* Page - Background Style */
|
||||
body,#bodyTable{
|
||||
background-color:#e9eaec;
|
||||
}
|
||||
/* Page - Heading 1 */
|
||||
h1{
|
||||
color:#202020;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:26px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:125%;
|
||||
letter-spacing:normal;
|
||||
text-align:left;
|
||||
}
|
||||
/* Page - Heading 2 */
|
||||
h2{
|
||||
color:#202020;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:22px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:125%;
|
||||
letter-spacing:normal;
|
||||
text-align:left;
|
||||
}
|
||||
/* Page - Heading 3 */
|
||||
h3{
|
||||
color:#202020;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:20px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:125%;
|
||||
letter-spacing:normal;
|
||||
text-align:left;
|
||||
}
|
||||
/* Page - Heading 4 */
|
||||
h4{
|
||||
color:#202020;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:18px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:125%;
|
||||
letter-spacing:normal;
|
||||
text-align:left;
|
||||
}
|
||||
/* Header - Header Style */
|
||||
#templateHeader{
|
||||
border-top:0;
|
||||
border-bottom:0;
|
||||
padding-top:0px;
|
||||
padding-bottom:20px;
|
||||
}
|
||||
/* Body - Body Style */
|
||||
#templateBody{
|
||||
background-color:#FFFFFF;
|
||||
border-top:0;
|
||||
border: 1px solid #c1c1c1;
|
||||
padding-top:0;
|
||||
padding-bottom:0px;
|
||||
}
|
||||
/* Body -Body Text */
|
||||
#templateBody .mcnTextContent,
|
||||
#templateBody .mcnTextContent p{
|
||||
color:#555555;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:14px;
|
||||
line-height:150%;
|
||||
text-align:left;
|
||||
}
|
||||
/* Body - Body Link */
|
||||
#templateBody .mcnTextContent a,
|
||||
#templateBody .mcnTextContent p a{
|
||||
color:#ff7f50;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
/* Footer - Footer Style */
|
||||
#templateFooter{
|
||||
background-color:#e9eaec;
|
||||
border-top:0;
|
||||
border-bottom:0;
|
||||
padding-top:12px;
|
||||
padding-bottom:12px;
|
||||
}
|
||||
/* Footer - Footer Text */
|
||||
#templateFooter .mcnTextContent,
|
||||
#templateFooter .mcnTextContent p{
|
||||
color:#cccccc;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:12px;
|
||||
line-height:150%;
|
||||
text-align:center;
|
||||
}
|
||||
/* Footer - Footer Link */
|
||||
#templateFooter .mcnTextContent a,
|
||||
#templateFooter .mcnTextContent p a{
|
||||
color:#cccccc;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
@media only screen and (min-width:768px){
|
||||
.templateContainer{
|
||||
width:600px !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 480px){
|
||||
body,table,td,p,a,li,blockquote{
|
||||
-webkit-text-size-adjust:none !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 480px){
|
||||
body{
|
||||
width:100% !important;
|
||||
min-width:100% !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 480px){
|
||||
#bodyCell{
|
||||
padding:20px !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 480px){
|
||||
.mcnTextContentContainer{
|
||||
max-width:100% !important;
|
||||
width:100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable">
|
||||
<tr>
|
||||
<td align="center" valign="top" id="bodyCell">
|
||||
<!-- BEGIN TEMPLATE // -->
|
||||
<!--[if gte mso 9]>
|
||||
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
|
||||
<tr>
|
||||
<td align="center" valign="top" width="600" style="width:600px;">
|
||||
<![endif]-->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
|
||||
<?php
|
||||
if ( !empty( $header_image ) ) {
|
||||
echo '<tr><td valign="top" align="center" id="templateHeader" style="padding-bottom:20px;text-align:center;">';
|
||||
echo '<img src="' . esc_url( $header_image ) . '" alt="' . get_bloginfo( 'name' ) . '" />';
|
||||
echo '</td></tr>';
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td valign="top" id="templateBody">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width:100%;">
|
||||
<tbody class="mcnTextBlockOuter">
|
||||
<tr>
|
||||
<td valign="top" class="mcnTextBlockInner">
|
||||
<table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;" class="mcnTextContentContainer">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="top" class="mcnTextContent" style="padding-top:30px; padding-right: 30px; padding-bottom: 30px; padding-left: 30px;">
|
||||
|
||||
<!-- Content -->
|
||||
<h1>Content.</h1>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" id="templateFooter">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width:100%;">
|
||||
<tbody class="mcnTextBlockOuter">
|
||||
<tr>
|
||||
<td valign="top" class="mcnTextBlockInner">
|
||||
<table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;" class="mcnTextContentContainer">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="top" class="mcnTextContent" style="padding-top:9px; padding-right: 18px; padding-bottom: 9px; padding-left: 18px;">
|
||||
|
||||
<!-- Footer content -->
|
||||
Footer
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--[if gte mso 9]>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<![endif]-->
|
||||
<!-- // END TEMPLATE -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* Email form field entry.
|
||||
*
|
||||
* This is used with the {all_fields} smart tag.
|
||||
*
|
||||
* @since 1.1.3
|
||||
*/
|
||||
|
||||
// Exit if accessed directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top:1px solid #dddddd; display:block;min-width: 100%;border-collapse: collapse;width:100%;"><tbody>
|
||||
<tr><td style="color:#333333;padding-top: 20px;padding-bottom: 3px;"><strong>{field_name}</strong></td></tr>
|
||||
<tr><td style="color:#555555;padding-top: 3px;padding-bottom: 20px;">{field_value}</td></tr>
|
||||
</tbody></table>
|
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/**
|
||||
* Email Footer.
|
||||
*
|
||||
* @since 1.1.3
|
||||
*/
|
||||
|
||||
// Exit if accessed directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$background_color = wpforms_setting( 'email-background-color', '#e9eaec' );
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" id="templateFooter" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: <?php echo $background_color; ?>;border-top: 0;border-bottom: 0;padding-top: 12px;padding-bottom: 12px;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
|
||||
<tbody class="mcnTextBlockOuter">
|
||||
<tr>
|
||||
<td valign="top" class="mcnTextBlockInner" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
|
||||
<table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;" class="mcnTextContentContainer">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="top" class="mcnTextContent" style="padding-top: 9px;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #aaa;font-family: Helvetica;font-size: 12px;line-height: 150%;text-align: center;">
|
||||
|
||||
<!-- Footer content -->
|
||||
<?php
|
||||
/* translators: %s - link to the site. */
|
||||
$footer = sprintf( esc_html__( 'Sent from %s', 'wpforms-lite' ), '<a href="' . esc_url( home_url() ) . '" style="color:#bbbbbb;">' . wp_specialchars_decode( get_bloginfo( 'name' ) ) . '</a>' );
|
||||
echo apply_filters( 'wpforms_email_footer_text', $footer );
|
||||
?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--[if gte mso 9]>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<![endif]-->
|
||||
<!-- // END TEMPLATE -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,306 @@
|
||||
<?php
|
||||
/**
|
||||
* Email Header
|
||||
*
|
||||
* @since 1.1.3
|
||||
*/
|
||||
|
||||
// Exit if accessed directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$header_image = wpforms_setting( 'email-header-image', false );
|
||||
$background_color = wpforms_setting( 'email-background-color', '#e9eaec' );
|
||||
$text_direction = is_rtl() ? 'rtl' : 'ltr';
|
||||
?>
|
||||
<!doctype html>
|
||||
<html dir="<?php echo $text_direction; ?>" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
<head>
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title><?php echo get_bloginfo( 'name' ); ?></title>
|
||||
<style type="text/css">
|
||||
p{
|
||||
margin:10px 0;
|
||||
padding:0;
|
||||
}
|
||||
table{
|
||||
border-collapse:collapse;
|
||||
}
|
||||
h1,h2,h3,h4,h5,h6{
|
||||
display:block;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
img,a img{
|
||||
border:0;
|
||||
height:auto;
|
||||
outline:none;
|
||||
text-decoration:none;
|
||||
}
|
||||
body,#bodyTable,#bodyCell{
|
||||
height:100%;
|
||||
margin:0;
|
||||
padding:0;
|
||||
width:100%;
|
||||
}
|
||||
#outlook a{
|
||||
padding:0;
|
||||
}
|
||||
img{
|
||||
-ms-interpolation-mode:bicubic;
|
||||
}
|
||||
table{
|
||||
mso-table-lspace:0pt;
|
||||
mso-table-rspace:0pt;
|
||||
}
|
||||
.ReadMsgBody{
|
||||
width:100%;
|
||||
}
|
||||
.ExternalClass{
|
||||
width:100%;
|
||||
}
|
||||
p,a,li,td,blockquote{
|
||||
mso-line-height-rule:exactly;
|
||||
}
|
||||
a[href^=tel],a[href^=sms]{
|
||||
color:inherit;
|
||||
cursor:default;
|
||||
text-decoration:none;
|
||||
}
|
||||
p,a,li,td,body,table,blockquote{
|
||||
-ms-text-size-adjust:100%;
|
||||
-webkit-text-size-adjust:100%;
|
||||
}
|
||||
.ExternalClass,.ExternalClass p,.ExternalClass td,.ExternalClass div,.ExternalClass span,.ExternalClass font{
|
||||
line-height:100%;
|
||||
}
|
||||
a[x-apple-data-detectors]{
|
||||
color:inherit !important;
|
||||
text-decoration:none !important;
|
||||
font-size:inherit !important;
|
||||
font-family:inherit !important;
|
||||
font-weight:inherit !important;
|
||||
line-height:inherit !important;
|
||||
}
|
||||
#bodyCell{
|
||||
padding:50px 50px;
|
||||
}
|
||||
.templateContainer{
|
||||
max-width:600px !important;
|
||||
border:0;
|
||||
}
|
||||
a.mcnButton{
|
||||
display:block;
|
||||
}
|
||||
.mcnTextContent{
|
||||
word-break:break-word;
|
||||
}
|
||||
.mcnTextContent img{
|
||||
height:auto !important;
|
||||
}
|
||||
.mcnDividerBlock{
|
||||
table-layout:fixed !important;
|
||||
}
|
||||
/***** Make theme edits below if needed *****/
|
||||
/* Page - Background Style */
|
||||
body,#bodyTable{
|
||||
background-color:<?php echo $background_color; ?>;
|
||||
}
|
||||
/* Page - Heading 1 */
|
||||
h1{
|
||||
color:#202020;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:26px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:125%;
|
||||
letter-spacing:normal;
|
||||
}
|
||||
/* Page - Heading 2 */
|
||||
h2{
|
||||
color:#202020;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:22px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:125%;
|
||||
letter-spacing:normal;
|
||||
}
|
||||
/* Page - Heading 3 */
|
||||
h3{
|
||||
color:#202020;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:20px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:125%;
|
||||
letter-spacing:normal;
|
||||
}
|
||||
/* Page - Heading 4 */
|
||||
h4{
|
||||
color:#202020;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:18px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:125%;
|
||||
letter-spacing:normal;
|
||||
}
|
||||
/* Header - Header Style */
|
||||
#templateHeader{
|
||||
border-top:0;
|
||||
border-bottom:0;
|
||||
padding-top:0;
|
||||
padding-bottom:20px;
|
||||
text-align: center;
|
||||
}
|
||||
/* Body - Body Style */
|
||||
#templateBody{
|
||||
background-color:#FFFFFF;
|
||||
border-top:0;
|
||||
border: 1px solid #c1c1c1;
|
||||
padding-top:0;
|
||||
padding-bottom:0px;
|
||||
}
|
||||
/* Body -Body Text */
|
||||
#templateBody .mcnTextContent,
|
||||
#templateBody .mcnTextContent p{
|
||||
color:#555555;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:14px;
|
||||
line-height:150%;
|
||||
}
|
||||
/* Body - Body Link */
|
||||
#templateBody .mcnTextContent a,
|
||||
#templateBody .mcnTextContent p a{
|
||||
color:#ff7f50;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
/* Footer - Footer Style */
|
||||
#templateFooter{
|
||||
background-color:<?php echo $background_color; ?>;
|
||||
border-top:0;
|
||||
border-bottom:0;
|
||||
padding-top:12px;
|
||||
padding-bottom:12px;
|
||||
}
|
||||
/* Footer - Footer Text */
|
||||
#templateFooter .mcnTextContent,
|
||||
#templateFooter .mcnTextContent p{
|
||||
color:#cccccc;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
|
||||
font-size:12px;
|
||||
line-height:150%;
|
||||
text-align:center;
|
||||
}
|
||||
/* Footer - Footer Link */
|
||||
#templateFooter .mcnTextContent a,
|
||||
#templateFooter .mcnTextContent p a{
|
||||
color:#cccccc;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
@media only screen and (min-width:768px){
|
||||
.templateContainer{
|
||||
width:600px !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 480px){
|
||||
body,table,td,p,a,li,blockquote{
|
||||
-webkit-text-size-adjust:none !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 480px){
|
||||
body{
|
||||
width:100% !important;
|
||||
min-width:100% !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 680px){
|
||||
#bodyCell{
|
||||
padding:20px 20px !important;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 480px){
|
||||
.mcnTextContentContainer{
|
||||
max-width:100% !important;
|
||||
width:100% !important;
|
||||
}
|
||||
}
|
||||
/* Rich Text compatibility - image alignment. */
|
||||
.mcnTextContentContainer table tbody,
|
||||
.mcnTextContentContainer table tbody tr,
|
||||
.mcnTextContentContainer table tbody td {
|
||||
display: block;
|
||||
}
|
||||
.mcnTextContentContainer p::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: block;
|
||||
}
|
||||
.mcnTextContentContainer p .alignleft, .mcnTextContentContainer li .alignleft {
|
||||
float: left;
|
||||
margin-right: 16px;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.mcnTextContentContainer p .aligncenter, .mcnTextContentContainer li .aligncenter {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.mcnTextContentContainer p .alignright, .mcnTextContentContainer li .alignright {
|
||||
float: right;
|
||||
margin-left: 16px;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
/* styling lists */
|
||||
.mcnTextContentContainer li {
|
||||
list-style-position: inside;
|
||||
mso-text-indent-alt: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="height: 100%;margin: 0;padding: 0;width: 100%;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: <?php echo $background_color; ?>;">
|
||||
<!-- Don't forget to run final template through http://templates.mailchimp.com/resources/inline-css/ -->
|
||||
<center>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;height: 100%;margin: 0;padding: 0;width: 100%;background-color: <?php echo $background_color; ?>;">
|
||||
<tr>
|
||||
<td align="center" valign="top" id="bodyCell" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;height: 100%;margin: 0;padding: 50px 50px;width: 100%;">
|
||||
<!-- BEGIN TEMPLATE // -->
|
||||
<!--[if gte mso 9]>
|
||||
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
|
||||
<tr>
|
||||
<td align="center" valign="top" width="600" style="width:600px;">
|
||||
<![endif]-->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;border: 0;max-width: 600px !important;">
|
||||
<?php
|
||||
if ( ! empty( $header_image ) ) {
|
||||
echo '<tr><td valign="top" align="center" id="templateHeader" style="padding-bottom:20px;text-align:center;">';
|
||||
echo '<img src="' . esc_url( $header_image ) . '" alt="' . esc_attr( get_bloginfo( 'name' ) ) . '" />';
|
||||
echo '</td></tr>';
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td valign="top" id="templateBody" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #FFFFFF;border-top: 0;border: 1px solid #c1c1c1;padding-top: 0;padding-bottom: 0px;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
|
||||
<tbody class="mcnTextBlockOuter">
|
||||
<tr>
|
||||
<td valign="top" class="mcnTextBlockInner" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
|
||||
<table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;" class="mcnTextContentContainer">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="top" style="padding-top: 30px;padding-right: 30px;padding-bottom: 30px;padding-left: 30px;" class="mcnTextContent">
|
Reference in New Issue
Block a user