htmlmail--htmlmail.tpl.php 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * @file
  4. * Sample template for HTML Mail test messages.
  5. */
  6. ?>
  7. <h1><a href="http://drupal.org/project/htmlmail">HTML Mail</a> test message</h1>
  8. <div class="htmlmail-body">
  9. <?php echo $body; ?>
  10. </div>
  11. <?php if ($debug): ?>
  12. <hr />
  13. <div class="htmlmail-debug">
  14. <dl><dt><p>
  15. To customize this test message:
  16. </p></dt><dd><ol><li><p><?php if (empty($theme)): ?>
  17. Visit <u>admin/config/system/htmlmail</u>
  18. and select a theme to hold your custom email template files.
  19. </p></dt><dd><ol><li><p><?php elseif (empty($theme_path)): ?>
  20. Visit <u>admin/appearance</u>
  21. to enable your selected <u><?php echo ucfirst($theme); ?></u> theme.
  22. </p></dt><dd><ol><li><p><?php endif; ?>
  23. Copy the
  24. <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>
  25. file to your <u><?php echo ucfirst($theme); ?></u> theme directory
  26. <u><code><?php echo $theme_path; ?></code></u>.
  27. </p></li><li><p>
  28. Edit the copied file.
  29. </p></li></ol></dd></dl>
  30. </div>
  31. <?php endif;