-
Notifications
You must be signed in to change notification settings - Fork 2
/
htmlmail--node_announce--hvstem.tpl.php
52 lines (51 loc) · 1.7 KB
/
htmlmail--node_announce--hvstem.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
/**
* @file
* Sample template for HTML Mail test messages.
*/
?>
<body style="padding: 0; margin: 0; -webkit-text-size-adjust:none;">
<div id="background" style="background-color: black; color: black; padding: 0; margin: 0">
<center>
<div id="page" style="max-width: 800px; text-align: left" >
<div class="header" style="background-color: #ddd; padding: 10px 20px">
<table width="100%">
<tr>
<td><img style="max-width: 750px" src="sites/all/themes/mhvlug3/images/hvstem.png">
</td>
</td>
<tr>
<td id="branding" width="80%">
<h2 id="site-name" class=""><a href="http://hvstem.org">Hudson Valley STEM Calendar</a></h2>
</td>
</tr>
</table>
</div>
<div class="htmlmail-body" style="background-color: white; padding: 20px">
<?php echo $body; ?>
</div>
<?php if ($debug): ?>
<hr />
<div class="htmlmail-debug">
<dl><dt><p>
To customize this test message:
</p></dt><dd><ol><li><p><?php if (empty($theme)): ?>
Visit <u>admin/config/system/htmlmail</u>
and select a theme to hold your custom email template files.
</p></dt><dd><ol><li><p><?php elseif (empty($theme_path)): ?>
Visit <u>admin/appearance</u>
to enable your selected <u><?php echo ucfirst($theme); ?></u> theme.
</p></dt><dd><ol><li><p><?php endif; ?>
Copy the
<a href="http://drupalcode.org/project/htmlmail.git/blob_plain/refs/heads/7.x-2.x:/htmlmail--htmlmail.tpl.php"><code>htmlmail--htmlmail.tpl.php</code></a>
file to your <u><?php echo ucfirst($theme); ?></u> theme directory
<u><code><?php echo $theme_path; ?></code></u>.
</p></li><li><p>
Edit the copied file.
</p></li></ol></dd></dl>
</div>
<?php endif; ?>
</div>
</center>
</div>
</body>