<html>
<head>
<style type="text/css">
+ * {
+ font-family: {@$style->getVariable('wcfFontFamilyFallback', true)};
+ }
html {
padding: 0;
margin: 0;
- font-family: {@$style->getVariable('wcfFontFamilyFallback', true)};
}
body {
padding: 0;
margin: 0;
background-color: {$style->getVariable('wcfContentBackground', true)};
}
+
+ a {
+ color: {$style->getVariable('wcfContentLink', true)};
+ text-decoration: none;
+ }
+
+ {* see email_paddingHelper.tpl *}
+ table.paddingHelper.block {
+ width: 100%;
+ }
+
.content {
padding: 0 20px;
}
font-size: {$style->getVariable('wcfFontSizeTitle')};
color: {$style->getVariable('wcfContentHeadlineText')};
}
- a {
- color: {$style->getVariable('wcfContentLink', true)};
- text-decoration: none;
- }
- a.button {
+
+ {* Buttons *}
+ td.button {
background-color: {$style->getVariable('wcfButtonPrimaryBackground', true)};
- color: {$style->getVariable('wcfButtonPrimaryText', true)};
border-radius: 2px;
padding: 6px 12px;
}
+ td.button a {
+ color: {$style->getVariable('wcfButtonPrimaryText', true)};
+ }
</style>
</head>
<body>
<div class="content">
{@$content}
</div>
+ {capture assign='footer'}
{hascontent}
- <div class="footer">
-- <br>
{content}
{@MAIL_SIGNATURE|language|nl2br}
{if MAIL_SIGNATURE|language}<br><br>{/if}
This email was sent to you, because you registered on the {$mailbox->getUser()->registrationDate|plainTime} at {@PAGE_TITLE|language}.{/if} {* TODO: language item *}
{/content}
- </div>
{/hascontent}
+ {/capture}
+ {include file='email_paddingHelper' block=true class='footer' content=$footer sandbox=true}
<table>{* Do not remove: This table is needed by certain less able email clients to properly support background colors. Don't ask. *}</table>
</body>
{capture assign='content'}
<h1>{lang}wcf.user.register.needActivation.mail.html.headline{/lang}</h1>
{lang}wcf.user.register.needActivation.mail.html.intro{/lang}
- <a href="{link controller='RegisterActivation' isEmail=true}u={@$mailbox->getUser()->userID}&a={@$mailbox->getUser()->activationCode}{/link}" class="button">
+
+ {capture assign=button}
+ <a href="{link controller='RegisterActivation' isEmail=true}u={@$mailbox->getUser()->userID}&a={@$mailbox->getUser()->activationCode}{/link}">
{lang}wcf.user.register.needActivation.mail.html.activate{/lang}
</a>
+ {/capture}
+ {include file='email_paddingHelper' class='button' content=$button sandbox=true}
+
{lang}wcf.user.register.needActivation.mail.html.outro{/lang}
{/capture}
{include file='email_html'}