mimemail-message.tpl.php 1004 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to format an HTML mail.
  5. *
  6. * Copy this file in your default theme folder to create a custom themed mail.
  7. * Rename it to mimemail-message--[module]--[key].tpl.php to override it for a
  8. * specific mail.
  9. *
  10. * Available variables:
  11. * - $recipient: The recipient of the message
  12. * - $subject: The message subject
  13. * - $body: The message body
  14. * - $css: Internal style sheets
  15. * - $module: The sending module
  16. * - $key: The message identifier
  17. *
  18. * @see template_preprocess_mimemail_message()
  19. */
  20. ?>
  21. <html>
  22. <head>
  23. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  24. <?php if ($css): ?>
  25. <style type="text/css">
  26. <!--
  27. <?php print $css ?>
  28. -->
  29. </style>
  30. <?php endif; ?>
  31. </head>
  32. <body id="mimemail-body" <?php if ($module && $key): print 'class="'. $module .'-'. $key .'"'; endif; ?>>
  33. <div id="center">
  34. <div id="main">
  35. <?php print $body ?>
  36. </div>
  37. </div>
  38. </body>
  39. </html>