<%@ page language="C#" autoeventwireup="true" inherits="Qwx.CMS.admin_Info_LabelAdd, Qwx.CMS" enableeventvalidation="false" validaterequest="false" %>

<!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">
<title>添加标签</title>
<script type="text/javascript"  src="../../common/jquery.js"></script>
<script type="text/javascript"  src="../skin/sysifrm.js"></script>
<link href="../skin/syscss.css" rel="stylesheet" type="text/css" />


<script type="text/javascript" src="../tcode/codemirror.js"></script>
<link href="../tcode/codemirror.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../tcode/xml.js"></script>
<script type="text/javascript" src="../tcode/javascript.js"></script>
<script type="text/javascript" src="../tcode/css.js"></script>
<script type="text/javascript" src="../tcode/htmlmixed.js"></script>

</head>
<body>
<form id="form1" runat="server">
<div class="fheader">添加标签<a href="javascript:igoto();" onclick="javascript:iurl('LabelShow.aspx');return false;">返回上一级▲</a></div>
<div class="fcontent">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 
 <tr>
    <td class="std1">
        标题：</td>
    <td class="std2">
        <asp:TextBox ID="LabelTitle" runat="server"  CssClass="iwb"></asp:TextBox>
        <asp:RequiredFieldValidator
            ID="RequiredFieldValidator2" runat="server" ControlToValidate="LabelTitle" ErrorMessage="必填"></asp:RequiredFieldValidator></td>
  </tr>
  
  
  <tr>
    <td class="std1">
        标签：</td>
    <td class="std2"><asp:TextBox ID="LabelName" runat="server"  CssClass="iwb"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="LabelName"
                        Display="Dynamic" ErrorMessage="必填"></asp:RequiredFieldValidator>
        <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label></td>
  </tr>
  

  
  <tr>
    <td class="std1">
        内容：</td>
    <td class="std25"><asp:TextBox ID="LabelContent" runat="server" Width="635px" TextMode="MultiLine" Height="280px"></asp:TextBox></td>
  </tr>



  <tr>
    <td colspan="2" class="scontrol"><asp:Button ID="Button1" runat="server"  CssClass="btn" Text="保存添加" OnClick="Button1_Click"  /></td>
    </tr>
</table>

<script type="text/javascript">
  var mixedMode = {
	name: "htmlmixed",
	scriptTypes: [{matches: /\/x-handlebars-template|\/x-mustache/i,
				   mode: null},
				  {matches: /(text|application)\/(x-)?vb(a|script)/i,
				   mode: "vbscript"}]
  };
  var editor = CodeMirror.fromTextArea(document.getElementById("LabelContent"), {lineNumbers: true,mode: mixedMode, tabMode: "indent"});
</script>


</div>
</form>
</body>
</html>