PluginProbe
Property Hive / 2.3.0
Property Hive v2.3.0
2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 All 261 releases
propertyhive / templates / emails / email-header.php

email-header.php in Property Hive 2.3.0, at templates/emails/email-header.php

48 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Email Header
4 *
5 * This template can be overridden by copying it to yourtheme/propertyhive/emails/email-header.php.
6 *
7 * @author PropertyHive
8 * @package PropertyHive/Templates/Emails
9 * @version 1.0.0
10 */
11
12 if ( ! defined( 'ABSPATH' ) ) {
13 exit; // Exit if accessed directly
14 }
15
16 ?>
17 <!DOCTYPE html>
18 <html dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
19 <head>
20 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo esc_attr( get_bloginfo( 'charset' ) ); ?>" />
21 <title><?php echo esc_html( get_bloginfo( 'name', 'display' ) ); ?></title>
22 </head>
23 <body <?php echo is_rtl() ? 'rightmargin' : 'leftmargin'; ?>="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
24 <div id="wrapper" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
25 <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
26 <tr>
27 <td align="center" valign="top">
28
29 <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container">
30 <tr>
31 <td align="center" valign="top">
32
33 <?php if ( $propertyhive_header_image = get_option( 'propertyhive_email_header_image' ) ) { ?>
34 <div id="template_header_image">
35 <?php echo '<a href="' . esc_url( site_url() ) . '" target="_blank"><img src="' . esc_url( $propertyhive_header_image ) . '" alt="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" /></a>';
36 ?>
37 </div>
38 <?php } ?>
39
40 <!-- Body -->
41 <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_body">
42 <tr>
43 <td valign="top" id="body_content">
44 <!-- Content -->
45 <table border="0" cellpadding="20" cellspacing="0" width="100%">
46 <tr>
47 <td valign="top">
48 <div id="body_content_inner">