<!DOCTYPE html>
<html lang="{$xf.language.language_code}" dir="{$xf.language.text_direction}">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$xf.options.boardUrl}/">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="format-detection" content="telephone=no">
	<title>{$subject}</title>
</head>
<body dir="{$xf.language.text_direction}" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="p-activitySummary">

<table id="bodyTable" border="0" width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
	<td align="center" valign="top" id="bodyTableContainer">
		<table border="0" width="100%" cellpadding="0" cellspacing="0" class="summaryHeaderContainer" dir="{$xf.language.text_direction}">
			<tr>
				<td class="summaryHeaderBar" align="center" valign="top">
					<xf:if is="property('emailPublicLogoUrl')">
						<a href="{{ link('canonical:index') }}"><img src="{{ base_url(property('emailPublicLogoUrl'), true) }}" alt="{$xf.options.boardTitle}" /></a>
					<xf:elseif is="property('publicLogoUrl')" />
						<a href="{{ link('canonical:index') }}"><img src="{{ base_url(property('publicLogoUrl'), true) }}" alt="{$xf.options.boardTitle}" width="{{ property('publicLogoWidth') ?: '' }}" height="{{ property('publicLogoHeight') ?: '' }}" class="{{ property('publicLogoUrl')|to_lower|substr(-4) == '.svg' ? 'logo-svg' : '' }}" /></a>
					<xf:else />
						<a href="{{ link('canonical:index') }}">{$xf.options.boardTitle}</a>
					</xf:if>
				</td>
			</tr>
		</table>

		<div class="summaryContentWrapper">
			{$html|raw}
		</div>

	</td>
</tr>
<tr>
	<td class="footer" align="center" valign="top">
		<div>{{ phrase('visit_board_html', {'board_url': link('canonical:index'), 'board_title': $xf.options.boardTitle}) }}</div>

		<xf:if contentcheck="true">
			<div class="footerExtra"><xf:contentcheck>{{ phrase('email_footer_html') }}</xf:contentcheck></div>
		</xf:if>
	</td>
</tr>
</table>

</body>
</html>