<%@ Page Title="新增过滤关键词管理" Theme="AdminSkin" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="BadWordEdit.aspx.cs" Inherits="Web.Admin.Contents.BadWordEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
       <form id="form1" runat="server">
        <div class="formtextfield">
            <div class="title">
                <h4><span>关键词信息</span></h4>
            </div>
            <div class="content">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="fieldname">关键词:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="Word" runat="server" Width="260"  CssClass="text form-validate" Text="" placeholder="不能为空"></asp:TextBox>
                            <asp:CustomValidator ControlToValidate="Word" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror"  runat="server"></asp:CustomValidator>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">过滤行为:
                        </td>
                        <td class="fieldvalue">
                            <asp:DropDownList ID="Action" runat="server">
                                <asp:ListItem Value="1" Selected="True">替换</asp:ListItem>
                                <asp:ListItem Value="2">禁止</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">被替换的词:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="ReplaceWord" runat="server" Width="260" TextMode="SingleLine" Text="***" CssClass="text"></asp:TextBox>
                        </td>
                        <td class="fielddescription"></td>
                    </tr> 
                </table>
            </div>
            <table width="100%" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSave" runat="server" SkinID="ButtonSave" OnClick="btnSave_Click"/>
                        &nbsp;&nbsp;
                        <asp:Button ID="btnCancel" runat="server" Text="取消" SkinID="ButtonCancel" CausesValidation="false" OnClick="Cancel_Click"/>
                    </td>
                </tr>
            </table>
            <br />
        </div>
         <br />
    </form> 
</asp:Content>
