2012-08-14 18:05:45 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2015-11-03 13:53:50 +00:00
|
|
|
* Email Header
|
2012-08-14 18:05:45 +00:00
|
|
|
*
|
2015-11-03 13:31:20 +00:00
|
|
|
* This template can be overridden by copying it to yourtheme/woocommerce/emails/email-header.php.
|
2015-10-01 14:07:20 +00:00
|
|
|
*
|
2016-02-12 11:28:41 +00:00
|
|
|
* HOWEVER, on occasion WooCommerce will need to update template files and you
|
|
|
|
* (the theme developer) will need to copy the new files to your theme to
|
|
|
|
* maintain compatibility. We try to do this as little as possible, but it does
|
|
|
|
* happen. When this occurs the version of the template file will be bumped and
|
|
|
|
* the readme will list any important changes.
|
2015-10-01 14:07:20 +00:00
|
|
|
*
|
2016-05-27 01:48:49 +00:00
|
|
|
* @see https://docs.woothemes.com/document/template-structure/
|
2015-05-21 20:05:11 +00:00
|
|
|
* @author WooThemes
|
|
|
|
* @package WooCommerce/Templates/Emails
|
|
|
|
* @version 2.4.0
|
2012-08-14 18:05:45 +00:00
|
|
|
*/
|
2012-10-15 10:57:58 +00:00
|
|
|
|
2014-09-22 16:31:03 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // Exit if accessed directly
|
|
|
|
}
|
2012-11-27 16:22:47 +00:00
|
|
|
|
2012-11-14 17:44:58 +00:00
|
|
|
?>
|
2013-10-15 15:27:57 +00:00
|
|
|
<!DOCTYPE html>
|
2015-05-21 20:01:52 +00:00
|
|
|
<html dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
|
2011-08-16 14:06:08 +00:00
|
|
|
<head>
|
2016-04-18 15:57:21 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
|
2015-02-18 03:56:18 +00:00
|
|
|
<title><?php echo get_bloginfo( 'name', 'display' ); ?></title>
|
2011-08-16 14:06:08 +00:00
|
|
|
</head>
|
2014-11-07 22:30:35 +00:00
|
|
|
<body <?php echo is_rtl() ? 'rightmargin' : 'leftmargin'; ?>="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
|
2015-05-21 20:01:52 +00:00
|
|
|
<div id="wrapper" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
|
2012-09-17 10:36:24 +00:00
|
|
|
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
2011-08-16 14:06:08 +00:00
|
|
|
<tr>
|
|
|
|
<td align="center" valign="top">
|
2014-06-23 13:59:50 +00:00
|
|
|
<div id="template_header_image">
|
|
|
|
<?php
|
|
|
|
if ( $img = get_option( 'woocommerce_email_header_image' ) ) {
|
2015-02-18 03:56:18 +00:00
|
|
|
echo '<p style="margin-top:0;"><img src="' . esc_url( $img ) . '" alt="' . get_bloginfo( 'name', 'display' ) . '" /></p>';
|
2014-06-23 13:59:50 +00:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|
2014-10-08 21:33:45 +00:00
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container">
|
2011-08-16 14:06:08 +00:00
|
|
|
<tr>
|
|
|
|
<td align="center" valign="top">
|
2012-09-17 10:36:24 +00:00
|
|
|
<!-- Header -->
|
2014-10-14 10:54:30 +00:00
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_header">
|
2011-08-16 14:06:08 +00:00
|
|
|
<tr>
|
2015-06-18 11:39:12 +00:00
|
|
|
<td id="header_wrapper">
|
2014-10-08 21:33:45 +00:00
|
|
|
<h1><?php echo $email_heading; ?></h1>
|
2011-08-16 14:06:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2012-09-17 10:36:24 +00:00
|
|
|
<!-- End Header -->
|
2011-08-16 14:06:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td align="center" valign="top">
|
2012-09-17 10:36:24 +00:00
|
|
|
<!-- Body -->
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_body">
|
2011-08-16 14:06:08 +00:00
|
|
|
<tr>
|
2014-10-08 21:33:45 +00:00
|
|
|
<td valign="top" id="body_content">
|
2012-09-17 10:36:24 +00:00
|
|
|
<!-- Content -->
|
2011-08-16 14:06:08 +00:00
|
|
|
<table border="0" cellpadding="20" cellspacing="0" width="100%">
|
|
|
|
<tr>
|
|
|
|
<td valign="top">
|
2014-10-08 21:33:45 +00:00
|
|
|
<div id="body_content_inner">
|