viewemail.tpl 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {*
  2. **********************************************************
  3. * Developed by: Team Theme Metro
  4. * Website: http://www.thememetro.com
  5. **********************************************************
  6. *}
  7. <!DOCTYPE html>
  8. <html lang="en">
  9. <head>
  10. <meta charset="utf-8">
  11. <title>{lang key='clientareaemails'} - {$companyname}</title>
  12. {include file="$template/includes/head.tpl"}
  13. </head>
  14. <body id="popup-backdrop">
  15. <div class="card bg-default">
  16. <div class="card-header">
  17. <h4 class="popup-header-padding"><i class='far fa-envelope'>&nbsp;</i>{$subject}</h4>
  18. {if is_array($attachments) && count($attachments) > 0}
  19. <div class="popup-header-padding">
  20. {foreach $attachments as $attachedFile}
  21. <i class="fal fa-paperclip"></i> {$attachedFile}{if !$attachedFile@last}<br>{/if}
  22. {/foreach}
  23. </div>
  24. {/if}
  25. </div>
  26. <div class="card-body">
  27. <iframe width="100%" height="380" frameborder="0" srcdoc="{$message|escape}"></iframe>
  28. </div>
  29. <div class="card-footer text-center">
  30. <button type="button" class="btn btn-primary" onclick="window.close()">
  31. {lang key='closewindow'}
  32. </button>
  33. </div>
  34. </div>
  35. </body>
  36. </html>