<html>
<head><title></title></head>
<body style="margin:0;padding:0">

<div style="font-family:Roboto, Arial, Helvetica, sans-serif;font-size:13px;background: #f5f5f5;padding:30px;">
	<div style="padding:30px;background: #fff;border-radius:2px;box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);">
		<div style="color: #444;">
			{if sizeof($files) == 1}
				<span style="font-size: 14px;">{t 1=$app.userInfo.fullName}%1 has shared the following file{/t}:</span>
				<div style="padding-left:30px;margin:15px">
					{foreach from=$files item=file}
					<div style="clear:both;height:64px;">
						{if $file.url}<a href="{$file.url}">{/if}
						<img src="{$file.typeInfo.icon}" height="64" width="64" border="0" align="left" style="margin-right:10px" />
						<strong>{$file.fileName}</strong>
						{if $file.url}</a>{/if}
						{if !$file.isDir}
						<br><span style="color:gray;">{t}Size{/t}: {$file.fileSize|niceFileSize}</span>
						{/if}
						{if $file.linkInfo.expiry}
						<br><span style="color:darkgray;">{t}Link valid until{/t}: {$file.linkInfo.expiry|date_format:'F j, Y':false:false:'date'}</span>
						{/if}
					</div>
					{/foreach}
				</div>
			{else}
				<span style="font-size: 14px;">{t 1=$app.userInfo.fullName}%1 has shared the following files{/t}:</span>
				<div style="padding-left:30px;margin:15px 0px;">
					{foreach from=$files item=file}
					<div style="margin-bottom:5px;">
						{if $file.url}<a href="{$file.url}">{/if}
						{if $file.typeInfo}<img src="{$file.typeInfo.icon}" height="16" width="16" border="0" align="top" style="margin-right:5px" />{/if}
						<strong>{$file.fileName}</strong>
						{if $file.url}</a>{/if}
						{if !$file.isDir}
						<span style="color:gray;">({$file.fileSize|niceFileSize})</span>
						{/if}
						{if $file.linkInfo.expiry}
						<span style="color:darkgray;">{t}Link valid until{/t}: {$file.linkInfo.expiry|date_format:'F j, Y':false:false:'date'}</span>
						{/if}
					</div>
					{/foreach}
				</div>
			{/if}
		</div>
		{if $message}
			<div style="height: 1px;background-color: #eee;"></div>
			<div style="margin-top:30px;">{$message|nl2br}</div>
		{/if}
	</div>
</div>