<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Label_Add.aspx.cs" Inherits="TotCms.Web.Admin.Label_Add" 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 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:DropDownList ID="CategoryId" runat="server">
        </asp:DropDownList>
        </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" 
          TextMode="MultiLine" OnLoad="Content_Load"></asp:TextBox>
        <br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
          ControlToValidate="Content" ErrorMessage="标签内容不能为空"></asp:RequiredFieldValidator>
          <br />
        提示：在“标签内容”文本框中双击弹出当前标签设计器窗口。</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>
