htmlmail-htmlmail.tpl.php in HTML Mail 6.2
Sample template for HTML Mail test messages.
File
htmlmail-htmlmail.tpl.phpView source
<?php
/**
* @file
* Sample template for HTML Mail test messages.
*/
?>
<h1><a href="http://drupal.org/project/htmlmail">HTML Mail</a> test message</h1>
<div class="htmlmail-body">
<?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/settings/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/build/themes</u>
to enable your selected <u><?php
echo drupal_ucfirst($theme);
?></u> theme.
</p></dt><dd><ol><li><p><?php
}
?>
Copy the
<a href="http://drupalcode.org/project/htmlmail.git/blob_plain/refs/heads/6.x-2.x:/htmlmail-htmlmail.tpl.php"><code>htmlmail-htmlmail.tpl.php</code></a>
file to your <u><?php
echo drupal_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
}