<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Template_EditTemplate, ECMe_Deploy" validaterequest="false" %>

<!-- Put IE into quirks mode -->
<!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 runat="server">
    <title>模板文件编辑</title>
    <link href="../CSS/Admin/CSS/ECMe.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/body63.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/AdminIndex.css" rel="stylesheet" type="text/css" />
    <script src="../JS/EditArea/edit_area_full.js" type="text/javascript"></script>
    <script language="Javascript" type="text/javascript">
	editAreaLoader.init({
                id: "TFileBody" // id of the textarea to transform       
                ,start_highlight: true  
                ,font_size: "8"
                ,font_family: "verdana, monospace"
                ,allow_resize: "y"
                ,allow_toggle: false
                ,language: "en"
                ,syntax: <%=syntax %>  
                ,toolbar: "new_document, save, load, |, charmap, |, search, go_to_line, |, undo, redo, |, select_font, |, change_smooth_selection, highlight, reset_highlight"
                ,load_callback: "my_load"
                ,save_callback: "my_save"
                ,plugins: "charmap"
                ,charmap_default: "arrows"                  
});

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="header">
        <h2>
            管理后台 &gt; <a href="#" class="admin_blue">模板文件编辑</a>
        </h2>
    </div>
    <div class="container">
        <div class="title">
            编辑代码</div>
        <div class="all_1">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="all">
                      <asp:TextBox ID="TFileBody" Width="700px" Height="400px" runat="server" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="footer">
        <div class="footer_button">
            <asp:Button ID="BSubmit" runat="server" CssClass="footer_but" Text="保存当前操作" OnClick="BSubmit_Click" />
        </div>
    </div>
    </form>
</body>
</html>
