<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="templatestxtedit.aspx.cs" Inherits="Focus.Admin.templatestxtedit" %>

<%@ Register Assembly="Focus.Control" Namespace="Focus.Control" TagPrefix="cc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>模板TXT编辑</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="styles/style.css" type="text/css" rel="stylesheet" />
    <meta content="MSHTML 6.00.3790.0" name="GENERATOR" />
    <script type="text/javascript">
        function displayHTML(obj) {
	        window.open(obj, 'popup', 'toolbar = no, status = no, scrollbars=yes');
        }	
    </script>
    <%=script%>
</head>
<body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5" background="images/main_bg.gif">
    <form id="Form1" runat="server">
    <div>
        <table class="TdBg" cellspacing="1" cellpadding="0" width="100%" height="100" border="0">
            <tbody>
                <tr valign="middle">
                    <td class="Tdimg" style="padding-left: 10px" height="28" colspan="2">
                        <img height="18" src="images/bbs_find.gif" width="18" align="absMiddle" border="0">
                        <strong>模板文件编辑，<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></strong>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                        文件名称：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        <cc1:TextBox ID="m_filename" runat="server" Width="300"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td colspan="2" style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px; height:400px;">
                       <textarea id="Content" name="Content" runat="server" style="height:350px;width:99%;"></textarea>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td height="35" style="width: 110px">
                        &nbsp;
                    </td>
                    <td style="padding-left: 10px">
                        &nbsp;
                        <cc1:Button ID="Button1" runat="server" onclick="Button1_Click"  />&nbsp;&nbsp;&nbsp;&nbsp;
                        <button class="ManagerButton" type="button" onclick="javascript:window.location.href='templatetree.aspx?path=<%=path%>&dirpath=<%=dirpath%>';">
                        <img src="images/arrow_undo.gif" />返 回</button>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>