<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Template_AddCustomTag, ECMe_Deploy" validaterequest="false" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!-- Put IE into quirks mode -->
<!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">
    <title>添加全局变量</title>
    <link href="../CSS/Admin/CSS/ECMe.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/body63.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/AdminIndex.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:RequiredFieldValidator ID="RFV_TName" runat="server" ErrorMessage="标签标识不能为空"
        ControlToValidate="TName" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RFV_TTagName" runat="server" ErrorMessage="标签名称不能为空"
        ControlToValidate="TTagName" Display="None"></asp:RequiredFieldValidator>
    <div class="header">
        <h2>
            模板管理 &gt; <a href="#" class="admin_blue">添加全局变量</a></h2>
    </div>
    <div class="container">
        <div class="title">
            全局标签基本信息</div>
        <asp:ValidationSummary ID="MainValidationSummary" DisplayMode="List" CssClass="error"
            runat="server" />
        <div class="all_1">
            <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                <tr>
                    <td valign="top">
                        <div class="right">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="ADDGood_table_1">
                                <tr>
                                    <th style="width: 70px">
                                        标识名称：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TName" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        标签得标示名称。
                                    </td>
                                </tr>
                                <tr>
                                    <th style="width: 70px">
                                        标签名称：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TTagName" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        标签得名称，在模板中用此名称获取标签值，例如：ShuoMing，前台调用标签$CommonTag_ShuoMing$ 。
                                    </td>
                                </tr>
                                <tr>
                                    <th style="width: 70px">
                                        标签说明：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TRemark" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        标签得说明文字。
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="title">
            标签值</div>
        <div class="all_1">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="all">
                        <FCKeditorV2:FCKeditor ID="FContent" Width="100%" Height="300px" runat="server">
                        </FCKeditorV2:FCKeditor>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="footer">
        <div class="footer_button">
            <asp:Button ID="BSubmit" runat="server" Text="保存当前操作" CssClass="footer_but" OnClick="BSubmit_Click" />
        </div>
    </div>
    </form>
</body>
</html>
