<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Import Namespace="Hishop.SystemServices" %>
<!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>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>           
            <div class="PageTitleArea">
                <div class="PageTitle">
                     <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:EditEmailTemplet, IDS_PageTitle %>" ></asp:Literal>
                </div>
                <div style="width: 80%;">
                    <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:EditEmailTemplet, IDS_PageDesc %>" ></asp:Literal>
                </div>
            </div>
            <Hishop:EditEmailTemplet ID="EditEmailTemplet" runat="server">
                <SkinTemplate>
        <Hishop:StatusMessage id="Status" runat="server" Visible="False" />
        <table style="width: 100%" cellspacing="0" cellpadding="0" class="formTableList">
            <!-- 邮件类型-->
            <tr>
                <td class="leftTD" style="height: 25px;">
                    <asp:Label ID="lblEmailType" runat="server" Text="<%$ Resources: EditEmailTemplet,IDS_FormField_EmailType %>"></asp:Label>：
                </td>
                <td class="rightTD">
                    <Hishop:EmailTypeLabel ID="litEmailType" runat="server">
                    </Hishop:EmailTypeLabel>
                </td>
            </tr>
            <!-- 邮件的优先级别-->
            <tr>
                <td class="leftTD">
                    <asp:Label ID="lblMailPriority" runat="server" Text="<%$ Resources: EditEmailTemplet,IDS_FormField_MailPriority %>"></asp:Label>：
                </td>
                <td class="rightTD">
                    <Hishop:MailPriorityRadioButtonList ID="priority" runat="server">
                    </Hishop:MailPriorityRadioButtonList>
                </td>
            </tr>
            <!-- 标签说明 -->
            <tr>
                <td class="leftTD" style="height: 25px;">
                    <asp:Label ID="lblTagDescription" runat="server" Text="<%$ Resources: EditEmailTemplet,IDS_FormField_TagDescription %>"></asp:Label>：
                </td>
                <td class="rightTD">
                    <asp:Literal ID="litTagDescription" runat="server"></asp:Literal>
                </td>
            </tr>
            <!-- 邮件说明 -->
            <tr>
                <td class="leftTD" style="height: 25px;">
                    <asp:Label ID="lblEmailDescription" runat="server" Text="<%$ Resources: EditEmailTemplet,IDS_FormField_EmailDescription %>"></asp:Label>：
                </td>
                <td class="rightTD">
                    <asp:Literal ID="litEmailDescription" runat="server"></asp:Literal>
                </td>
            </tr>
            <!-- 邮件主题 -->
            <tr>
                <td class="leftTD">
                    <asp:Label ID="lblEmailSubject" runat="server" Text="<%$ Resources:EditEmailTemplet,IDS_FormField_EmailSubject %>"></asp:Label>：
                </td>
                <td class="rightTD">
                    <asp:TextBox ID="txtEmailSubject" runat="server" Width="280px"></asp:TextBox>
                </td>
            </tr>
            <!--邮件内容-->
            <tr>
                <td class="leftTD">
                    <asp:Label ID="lblEmailBody" runat="server" Text="<%$ Resources:EditEmailTemplet,IDS_FormField_EmailBody %>"></asp:Label>：
                </td>
                <td class="rightTD">
                    <FCKeditorV2:FCKeditor ID="fcContent" runat="server" Width="99%" EnableXHTML="true"
                        EnableSourceXHTML="true" BasePath="~/FCKeditor/" Height="320px">
                    </FCKeditorV2:FCKeditor>
                </td>
            </tr>
        </table>
<!-- 保存 -->
<div style="float: left; padding-left: 130px">
    <table>
        <tr>
            <td valign="top">
                <asp:Button ID="btnSaveEmailTemplet" runat="server" Text="<%$ Resources:EditEmailTemplet, IDS_Button_SaveEmailTemplet %>"
                    CssClass="inp_L1" />
            </td>
            <td>
                <div class="return_inp">
                    <a href='<%= Globals.GetSiteUrls().UrlData.FormatUrl("admin_EmailTemplets") %>'>
                        <asp:Literal ID="lblReturn" runat="server" Text="<%$ Resources: EditEmailTemplet, IDS_FormField_lblReturn %>"></asp:Literal></a>
                </div>
            </td>
        </tr>
    </table>
</div>

                </SkinTemplate>
            </Hishop:EditEmailTemplet>
        </div>
        <br />
        <div style="text-align:center">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright ID="SiteCopyright1" runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>
 
