<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$language.lblAdmin} : {$language.lblEmailTemplats}</title>
{include file='CommonStyles.tpl'}
{include file='CommonJavaScript.tpl'}
<link href="{$view_styles}/email-template.css" rel="stylesheet" type="text/css" />
<link href="{$view_styles}/colorbox.css" rel="stylesheet" type="text/css" />
{include file='CommonCustomStyles.tpl'}
</head><body>
<div class="outer_container">
  {include file='CommonTop.tpl'}
  <!--End:Header Container-->
  <!--***********************************************************************START CONTAINER SECTION******************************************************-->
  <div class="content_container">
   <div class="content_wrapper">
   <div class="fixing_right"> {include file='ContentLanguageOptions.tpl'}</div>
    <h2>{$language.lblEmailTemplats}</h2>  
  <!--End: Right Block-->
  <!-- Inner Content Container starts-->
  <div class="inner_content_wrapper"> 
        <div  class="details_grid">
          <div class="detail_right">
             {assign var='emailTempID' value=$emailTemplateDetails.emailTempID}
             
            {html->anchor priv_href="emailtemplate/edit/" href="emailtemplate/edit/id/$emailTempID/" caption="{$language.lblEditTemplate}"  class="blue_btn emailPreview action-link"}
            {if $emailTemplateDetails.editable == 'Yes'}
             {html->anchor priv_href="emailtemplate/preview/" href="emailtemplate/preview/id/$emailTempID/" class="blue_btn fancylink" caption="{$language.lblPreview}" title=$emailTemplateDetails.emailSubject}
            {/if}           
          </div>
          <ul class="detail_left">
            <li><span>{$language.lblSubject} : </span>{$emailTemplateDetails.emailSubject|escape:html}</li>            
            <li><span>{$language.lblFromName} :</span>{$emailTemplateDetails.emailFromName}</li>
            <li><span>{$language.lblFromEmail} : </span>{$emailTemplateDetails.emailFromEmail}</li>
          </ul>
           {$emailTemplateDetails.emailHtml}
        </div>               
        <!--End:Example-->
      </div>
  <!--End: left Block-->
  <div class="clear"></div>
  </div>
</div>
<!--***********************************************************************END CONTAINER SECTION******************************************************-->
<!--End:Content Container-->
 <!--End:Content Container-->
  {include file='CommonBottom.tpl'} 
</div>
<!--End:Outer Container-->
{include file='CommonJavaScriptBottom.tpl'}
<script type="text/javascript" src="{$view_javascript}/jquery.colorbox.js"></script>
<script type="text/javascript" src="{$view_javascript}/emailtemplate.page.js"></script>
<script language="javascript" type="text/javascript">
	{literal}	
$("a.fancylink").colorbox({iframe:true, innerWidth:"80%", innerHeight:"80%"});	{/literal}				   
</script>
{html->messages_script id="common_message"}
</body>
</html>
