<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EmailPasswordSet.aspx.cs"
    Inherits="Admin_SystemConfig_EmailPasswordSet" EnableViewState="true" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Src="../Controls/EditionItem.ascx" TagName="EditionItem" TagPrefix="uc2" %>
<!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 id="Head1" runat="server">
    <title></title>
    <link href="../Stylesheet/Main.css" rel="stylesheet" type="text/css" />

    <script src="../Javascript/Common.js" type="text/javascript" language="JavaScript"></script>

    <script language="javascript" type="text/javascript">
function showCustomAttribute()
{
	var itemCustomAttribute=document.getElementById("itemCustomAttribute");
	if(itemCustomAttribute!=null)
	{
	    itemCustomAttribute.style.display="";
	}
}

function addCustomAttribute()
{
	var boxCustomAttribute=document.getElementById("boxCustomAttribute");
	var itemCustomAttributeMb=document.getElementById("itemCustomAttributeMb");
	if(boxCustomAttribute!=null && itemCustomAttributeMb!=null)
	{
        var itemCustomAttribute=itemCustomAttributeMb.cloneNode(true);
        itemCustomAttribute.style.display="";
        boxCustomAttribute.appendChild(itemCustomAttribute);
	}
}

function subtractCustomAttribute(obj)
{
	var boxCustomAttribute=document.getElementById("boxCustomAttribute");
	if(boxCustomAttribute!=null && obj!=null && obj.parentNode!=null && obj.parentNode.parentNode!=null && obj.parentNode.parentNode.parentNode!=null)
	{
	    obj.parentNode.parentNode.style.display="none";
        obj.parentNode.parentNode.parentNode.removeChild(obj.parentNode.parentNode);
	}
}

    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div id="toolItem">
            <ul class="tool">
                <li class="tool_li_ac"></li>
                <li>
                    <div class="tool_back">
                        <a href="javaScript:history.back(-1)">返回上一步</a></div>
                </li>
            </ul>
        </div>
        <div class="main_body">
            <h1>
                用户找回密码邮件设置
            </h1>
            <div class="item_body">
                <div class="ht2">
                </div>
                <div class="margin_left_2px">
                    <uc2:EditionItem ID="EditionItem1" runat="server" />
                </div>
                <ul class="item_body_list" id="item_body_list">
                    <li><span class="item_body_list_left">邮件标题：</span> <span class="item_body_list_right">
                        <asp:TextBox ID="txtTitle" runat="server" Width="400px"></asp:TextBox>
                        * </span></li>
                    <li><span class="item_body_list_left">邮件模板内容：</span><span class="item_body_list_right">
                        <FCKeditorV2:FCKeditor ID="txtBody" runat="server" Height="300px" Width="99%" ToolbarSet="BasicSource">
                        </FCKeditorV2:FCKeditor>
                    </span></li>
                    <li><span class="item_body_list_left">* 状态：</span> <span class="item_body_list_right">
                        <asp:DropDownList ID="dropState" runat="server">
                            <asp:ListItem Value="1">启用</asp:ListItem>
                            <asp:ListItem Value="0">不启用</asp:ListItem>
                        </asp:DropDownList>
                    </span></li>
                </ul>
                <div class="padding8px align_center font_bold ht_color">
                    <asp:LinkButton ID="lbtnOk" runat="server" CssClass="btn_bg" OnClick="lbtnOk_Click">确 定</asp:LinkButton>
                </div>
            </div>
            <div class="ht">
            </div>
            <div class="ht">
            </div>
            <ul class="ac_intro" runat="server" id="boxPageExplain">
                <li class="ac_intro_title">说明：标题及内容都可以使用标签</li>
                <li class="ac_intro_item">邮件模板标签如下：</li>
                <li class="ac_intro_item">会员名称标签：{$用户名称$}</li>
                <li class="ac_intro_item">会员密码标签：{$用户密码$}</li>
                <li class="ac_intro_item">会员姓名标签：{$用户姓名$}</li>
            </ul>
        </div>
    </form>
</body>

<script language="javascript" type="text/javascript">
        LiColor("item_body_list");
</script>

</html>
