2012-08-14 18:05:45 +00:00
< ? php
/**
* Email Footer
*
* @ author WooThemes
* @ package WooCommerce / Templates / Emails
2012-09-17 10:36:24 +00:00
* @ version 1.7 . 0
2012-08-14 18:05:45 +00:00
*/
2012-09-17 10:36:24 +00:00
// Load colours
$base = get_option ( 'woocommerce_email_base_color' );
$base_lighter_40 = woocommerce_hex_lighter ( $base , 40 );
// For gmail compatibility, including CSS styles in head/body are stripped out therefore styles need to be inline. These variables contain rules which are added to the template inline.
$template_footer = "
border - top : 0 ;
- webkit - border - radius : 6 px ;
" ;
$credit = "
border : 0 ;
color : $base_lighter_40 ;
font - family : Arial ;
font - size : 12 px ;
line - height : 125 % ;
text - align : center ;
" ;
2012-08-14 18:05:45 +00:00
?>
2011-08-16 14:06:08 +00:00
</ div >
</ td >
</ tr >
</ table >
2012-09-17 10:36:24 +00:00
<!-- End Content -->
2011-08-16 14:06:08 +00:00
</ td >
</ tr >
</ table >
2012-09-17 10:36:24 +00:00
<!-- End Body -->
2011-08-16 14:06:08 +00:00
</ td >
</ tr >
< tr >
< td align = " center " valign = " top " >
2012-09-17 10:36:24 +00:00
<!-- Footer -->
< table border = " 0 " cellpadding = " 10 " cellspacing = " 0 " width = " 600 " id = " template_footer " style = " <?php echo $template_footer ; ?> " >
2011-08-16 14:06:08 +00:00
< tr >
2012-09-17 10:36:24 +00:00
< td valign = " top " class = " footer_content " >
2011-08-16 14:06:08 +00:00
< table border = " 0 " cellpadding = " 10 " cellspacing = " 0 " width = " 100% " >
< tr >
2012-09-17 10:36:24 +00:00
< td colspan = " 2 " valign = " middle " id = " credit " style = " <?php echo $credit ; ?> " >
< ? php echo wpautop ( wptexturize ( apply_filters ( 'woocommerce_email_footer_text' , get_option ( 'woocommerce_email_footer_text' ) ) ) ); ?>
2011-10-26 13:11:20 +00:00
</ td >
2011-08-16 14:06:08 +00:00
</ tr >
</ table >
</ td >
</ tr >
</ table >
2012-09-17 10:36:24 +00:00
<!-- End Footer -->
2011-08-16 14:06:08 +00:00
</ td >
</ tr >
</ table >
</ td >
</ tr >
</ table >
</ center >
</ body >
</ html >