<%@ Page Language="c#" Inherits="Web.User.addLetterLink" CodeBehind="addLetterLink.aspx.cs" %>
<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>文字链接编辑</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file = "../Css/head.htm" -->
    <!--#include file = "../Css/userCssEdit.htm" -->
      <script type="text/javascript">
          function checkAll() {
              //验证
              if (checkAllValidate()) {
                  return true;
              } else {
                  return false;
              }
          };
          //关闭弹出层 刷新列表
          function divClose1(bigclassid, menuid) {
              parent.$.fancybox.close();
              parent.location = "manageLetterlink.aspx?bigclassid=" + bigclassid + "&menuId=" + menuid;
          };

          function divClose() {
              parent.$.fancybox.close();
              parent.location = "AuditingLink.aspx";
          };

          function delayClose() {
              setTimeout("divClose()", 1000);
          }

          function delayClose1(bigclassid, menuid) {
              setTimeout("divClose1(" + bigclassid + "," + menuid + ")", 1000);
          }
    </script>
</head>
<body>
    <form  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:TextBox ID="name" runat="server" class="input-md w3" notNull="true" msgName="链接名称" ></asp:TextBox>
                        &emsp; 
                        <asp:CheckBox ID="isTop" runat="server" Text="固顶"></asp:CheckBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        链接地址：
                    </th>
                    <td>
                        <asp:TextBox ID="url" runat="server" class="input-md w3" ></asp:TextBox><br />
                        <span class="lgrey">(外链需加上http://，内链可用相对路径，#表示空链接)</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        显示等级：
                       <%-- 浏览权限：--%>                        
                    </th>
                    <td>
                        <%--<asp:DropDownList ID="gate" runat="server" CssClass="input-md" width="125">
                            <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> --%>
                        <asp:DropDownList ID="grade" runat="server"  CssClass="input-md" width="125">
                        </asp:DropDownList>    
                    </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>
                &emsp;
               <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>
