<%@ page language="C#" autoeventwireup="true" inherits="SiteServer_Template_Notepad, v5star.Web" validaterequest="false" theme="Default" %>

<%@ Register Src="UserControl/TemplateEditor.ascx" TagName="TemplateEditor" TagPrefix="uc1" %>
<!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="../../../SiteServer/Style/FileLayout.css" rel="stylesheet" type="text/css" />
    <link href="../../../SiteServer/Style/FileStyle.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body
        {
            width: 670px;
            padding: 10px;
            text-align: left;
        }
    </style>
</head>
<body style="margin:auto 0px;" align="center">
    <form id="notepadForm" runat="server">
        <div id="notepad-frame">
            <div class="box">
                <div id="notepad-title">
                    文件路径:
                    <asp:TextBox ID="txtFilePath" runat="server" ReadOnly="true" onfocus="this.className='colorfocus'" onblur="this.className='txt';" CssClass="txt" Style="width: 280px;"></asp:TextBox>
                    &nbsp;文件编码:
                    <asp:DropDownList ID="ddlEncode" runat="server">
                        <asp:ListItem Value="ANSI">ANSI</asp:ListItem>
                        <asp:ListItem Value="UTF-8">UTF-8</asp:ListItem>
                        <asp:ListItem Value="Unicode">Unicode</asp:ListItem>
                        <asp:ListItem Value="Unicode big endian">Unicode-be</asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;<asp:Button ID="btnSave" runat="server" Text="保存" CssClass="btn" />&nbsp;&nbsp;<input type="button" name="close" value="关闭" class="btn" onclick="window.parent.hidePopWin(false);" />
                </div>
                <div id="notepad-content">
                    <uc1:TemplateEditor ID="txtFileContent" runat="server" />
                </div>
                <asp:Label ID="lblMsg" runat="server"></asp:Label>
                <asp:Label ID="lblNew" runat="server" Style="display: none;"></asp:Label>
            </div>
        </div>
    </form>
</body>
</html>
