<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Function_Edit.aspx.cs" Inherits="TotCms.Web.Admin.Function_Edit" %>

<%@ Register src="UI/main_top.ascx" tagname="main_top" 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">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>修改函数</title>
    <link href="style/global.css" rel="stylesheet" type="text/css" />
    <link href="label/editor.css" rel="stylesheet" type="text/css" />
    <script src="js/common.js" type="text/javascript"></script>
    <script type="text/javascript" src="label/editor.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
      <uc1:main_top ID="main_top1" runat="server" />
    
    </div>
    <table style="width:100%;" border="0" cellpadding="0" cellspacing="1" 
      class="black_border">
      <tr class="suphead">
        <td colspan="2">
                                                                                修改函数</td>
    </tr>
    <tr>
      <td class="fields_text">
        选择栏目：</td>
      <td class="fields_input">
       <asp:Label ID="CategoryTitle" runat="server" Text="Label"></asp:Label>
        <asp:TextBox ID="CategoryId" runat="server" CssClass="hidden"></asp:TextBox>
          <input id="Button4" type="button" value="..." onclick="popupWindow('Category_Tree.aspx','category_tree',400,300,1)" />
        </td>
    </tr>
    <tr>
      <td class="fields_text">
        函数名称：</td>
      <td class="fields_input">
        <asp:TextBox ID="Title" runat="server" CssClass="input_middle"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
          ControlToValidate="Title" ErrorMessage="请填写函数名称"></asp:RequiredFieldValidator>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        函数说明：</td>
      <td class="fields_input">
        <asp:TextBox ID="Demons" runat="server" CssClass="text_normal" 
          TextMode="MultiLine"></asp:TextBox>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        函数内容：</td>
      <td class="fields_input">
    <asp:TextBox ID="Content" runat="server" CssClass="text_content" 
          TextMode="MultiLine" OnLoad="Content_Load"></asp:TextBox>
        <br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
          ControlToValidate="Content" ErrorMessage="函数内容不能为空"></asp:RequiredFieldValidator>
          <br />
        提示：在文本框中双击弹出Sql语句测试工具窗口。</td>
    </tr>
    <tr>
      <td colspan="2" align="center">
        <asp:Button ID="Button1" runat="server" Text="修改函数" onclick="Button1_Click" />
        <input id="Button2" type="reset" value="取 消" /></td>
    </tr>
  </table>
    </form>
</body>
</html>
