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

<%@ Register src="UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>

<%@ Register src="UI/label_ui.ascx" tagname="label_ui" 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">
    <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" width="100">
        选择栏目：</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">
      
        <uc2:label_ui ID="label_ui1" runat="server" />
      
    <asp:TextBox ID="Content" runat="server" CssClass="text_content_default" 
          TextMode="MultiLine" OnLoad="Content_Load"></asp:TextBox>
        <br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
          ControlToValidate="Content" ErrorMessage="标签内容不能为空"></asp:RequiredFieldValidator>
          <br />
        提示：在“标签内容”文本框中双击弹出当前标签设计器窗口。</td>
    </tr>
    <tr>
      <td></td>
      <td align="left" height="45">
        <asp:Button ID="Button1" runat="server" Text="修改标签" onclick="Button1_Click" 
          CssClass="btn-submit" />
        &nbsp;<input id="Button2" type="reset" value="取 消" class="btn-cancel" /></td>
    </tr>
  </table>
    </form>
</body>
</html>
