forked from TheMaxium69/SolidServ-WHMCS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewemail.tpl
32 lines (30 loc) · 1.08 KB
/
viewemail.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{lang key='clientareaemails'} - {$companyname}</title>
{include file="$template/includes/head.tpl"}
</head>
<body id="popup-backdrop">
<div class="card bg-default">
<div class="card-header">
<h2 class="popup-header-padding"><i class='far fa-envelope'> </i>{$subject}</h2>
{if count($attachments) > 0}
<div class="popup-header-padding">
{foreach $attachments as $attachedFile}
<i class="fal fa-paperclip"></i> {$attachedFile}{if !$attachedFile@last}<br>{/if}
{/foreach}
</div>
{/if}
</div>
<div class="card-body">
<iframe width="100%" height="380" frameborder="0" srcdoc="{$message|escape}"></iframe>
</div>
<div class="card-footer text-center">
<button type="button" class="btn btn-primary" onclick="window.close()">
{lang key='closewindow'}
</button>
</div>
</div>
</body>
</html>