PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.2.8
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.2.8
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
weforms / includes / email / template / header.php

header.php in weForms – Easy Drag & Drop Contact Form Builder For WordPress 1.2.8, at includes/email/template/header.php

64 lines 3.1 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
6 if ( ! defined( 'ABSPATH' ) ) {
7 exit; // Exit if accessed directly
8 }
9
10 $email_heading = false;
11
12 ?>
13 <!DOCTYPE html>
14 <html dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
15 <head>
16 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
17 <title><?php echo get_bloginfo( 'name', 'display' ); ?></title>
18 </head>
19 <body <?php echo is_rtl() ? 'rightmargin' : 'leftmargin'; ?>="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
20 <div id="wrapper" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
21 <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
22 <tr>
23 <td align="center" valign="top">
24 <div id="template_header_image">
25 <?php
26 $settings = weforms_get_settings( 'email_settings', array(
27 'header_image' => ''
28 ) );
29
30 if ( isset( $settings['header_image'] ) && !empty( $settings['header_image'] ) ) {
31 echo '<p style="margin-top:0;"><img src="' . esc_url( $settings['header_image'] ) . '" alt="' . get_bloginfo( 'name', 'display' ) . '" /></p>';
32 }
33 ?>
34 </div>
35 <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container">
36
37 <?php if ( $email_heading ) { ?>
38 <tr>
39 <td align="center" valign="top">
40 <!-- Header -->
41 <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_header">
42 <tr>
43 <td id="header_wrapper">
44 <h1><?php echo $email_heading; ?></h1>
45 </td>
46 </tr>
47 </table>
48 <!-- End Header -->
49 </td>
50 </tr>
51 <?php } ?>
52
53 <tr>
54 <td align="center" valign="top">
55 <!-- Body -->
56 <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_body">
57 <tr>
58 <td valign="top" id="body_content">
59 <!-- Content -->
60 <table border="0" cellpadding="20" cellspacing="0" width="100%">
61 <tr>
62 <td valign="top">
63 <div id="body_content_inner">
64