<%@ Page Language="c#" Inherits="Web.User.addLinkGroup" CodeBehind="addLinkGroup.aspx.cs" %>
<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>addLetterLink</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file = "../Css/head.htm" -->    
    <script type="text/javascript">
    function checkAll()
    {
        //验证
        if (checkAllValidate()){
            return true ;
        }else{
            return false ;
        }
    }
      //关闭弹出层 刷新列表
        function divClose(bigclassid,menuid){
            parent.$.fancybox.close();
            parent.location="manageLinkGroup.aspx?type="+bigclassid+"&menuId="+menuid;
        }
        function delayClose(bigclassid, menuid) {
            setTimeout("divClose(" + bigclassid + "," + menuid + ")", 1000);
        }
    </script>
</head>
<body>
    <form id="addLetterLink" method="post" runat="server">
    <div class="edit-func-box func-box">
        <div class="hd b">
            文字链接组编辑</div>
        <div class="bd">
            <table class="edit-table">
                <tr>
                    <th>是否显示：</th>
                    <td><asp:DropDownList ID="isShowDropDownList" runat="server" CssClass="input-md">
                            <asp:ListItem Value="1">显示</asp:ListItem>
                            <asp:ListItem Value="0">不显示</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <th>
                        组名称：
                    </th>
                    <td>
                        <asp:TextBox ID="name" runat="server" class="input-md w3"  notNull="true" msgName="组名称" MaxLength="50"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        描述：
                    </th>
                    <td>
                        <asp:TextBox ID="remark" runat="server" class="input-md w3"  MaxLength="100"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        显示等级：
                    </th>
                    <td>
                        <asp:DropDownList ID="grade" runat="server" DataValueField="pkId"  DataTextField="name" CssClass="input-md">
                        </asp:DropDownList>
                       <%-- &nbsp; 浏览权限：
                        <asp:DropDownList ID="gate" runat="server" CssClass="input-md">
                            <asp:ListItem Value="0">无限制</asp:ListItem>
                            <asp:ListItem Value="1">仅内网可见</asp:ListItem>
                                <asp:ListItem Value="2">仅登录可见</asp:ListItem>
                                <asp:ListItem Value="3">内网或登录可见</asp:ListItem>
                        </asp:DropDownList>--%>
                        &nbsp; 
                        <asp:TextBox ID="orderingTextbox" runat="server" class="input-md" Visible="False">0</asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <div class="ft">
            <div class="action-field text-center">
                <asp:Button ID="add" class="btn btn-sm btn-primary" runat="server" Text="添 加" OnClientClick="return checkAll();" OnClick="add_Click">
                </asp:Button>&nbsp;&nbsp;
                <input type="button" class="btn btn-sm btn-primary" value="取 消" onclick="parent.$.fancybox.close();" />&emsp;
                    <asp:Label ID="lbTip" runat="server" ForeColor="Red" Text=""></asp:Label>
            </div>
            <!--/action-field-->
        </div>
    </div>
    </form>
      <!--#include file = "../Css/foot.htm" -->
</body>
</html>
