/modules/mod_base/templates/email_base.tpl

http://github.com/zotonic/zotonic · Smarty Template · 35 lines · 35 code · 0 blank · 0 comment · 1 complexity · 30d4602ea716a7fd54b0e854b6d9f985 MD5 · raw file

  1. <html>
  2. <head>
  3. <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  4. <title>{% block title_wrapper %}{% block title %}{_ Hello from Zotonic _}{% endblock %}{% endblock %}</title>
  5. <base href="http://{{ m.site.hostname }}/" />
  6. <base target="_blank" />
  7. {% block email_styles %}{% include "_email_styles.tpl" %}{% endblock %}
  8. </head>
  9. <body>
  10. {% block body_all %}
  11. <div align="center">
  12. <table width="{% block body_width %}635{% endblock %}" id="email-table" border="0" cellspacing="0" cellpadding="0">
  13. {% block header %}{% endblock %}
  14. {% block content %}
  15. <tr>
  16. <td id="content">
  17. {% block body %}
  18. <h1>Lectori Salutem,</h1>
  19. <p>{_ This is the base message. When you receive this text then the template builder did not overrule the <tt>body</tt> block. _}</p>
  20. {% endblock %}
  21. {% block closing %}
  22. <p>{_ Kind regards, _}</p>
  23. <p><a href="http://{{ m.site.hostname }}/">{{ m.config.site.title.value }}</a></p>
  24. {% endblock %}
  25. {% block disclaimer %}
  26. {% endblock %}
  27. </td>
  28. </tr>
  29. {% endblock %}
  30. {% block footer %}{% endblock %}
  31. </table>
  32. </div>
  33. {% endblock %}
  34. </body>
  35. </html>