htmlmail--htmlmail.tpl.php in HTML Mail 7.2
Same filename and directory in other branches
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="https://www.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/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
}
?>
Copy the
<a href="https://git.drupalcode.org/project/htmlmail/raw/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
}