<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="managePPLset.aspx.cs" Inherits="Web.PassPortLogin.managePPLset" %>

<!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>
    <title>passport登录参数设置</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" rel="stylesheet" href="../css/public.css" />
    <link type="text/css" rel="stylesheet" href="../Wpdcc/css/adminfunc.css" />    
    <script type="text/javascript" src="../Js/validate.js" charset="utf-8"></script>
    
    <script type="text/javascript">
        function checkall(){
            //验证
            if (checkAllValidate()){
                return true ;
            }else{
                return false ;
            }
        }
    </script>
    
</head>
<body>
    <form id="form1" runat="server">
    <div class="edit-func-box func-box">
        <div class="hd">
            Passport参数设置</div>
            <div class="bd">
            <table id="Table1" class="edit-table">
                <tr>
                    <th>
                        启用Passport登录：
                    </th>
                    <td>
                        <asp:RadioButtonList ID="rbPassportSel" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Selected="True" Value="1">是&emsp;</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <th>
                        Passport验证地址：
                    </th>
                    <td>
                        <asp:TextBox ID="txtPassportUrl" runat="server" class="input-txt input-txt3" notNull="true" msgName="Passport验证地址" ></asp:TextBox>
                        &nbsp;<span class="tip">注：请填写完整http地址，非80端口请标明，如：http://192.168.0.100:81/</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        Member地址：
                    </th>
                    <td>
                        <asp:TextBox ID="txtMemberUrl" runat="server" class="input-txt input-txt3" msgName="member地址" ></asp:TextBox>
                        &nbsp;<span class="tip">可不填，为兼容V5.x版保留</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        验证成功后跳转地址：
                    </th>
                    <td>
                        <asp:TextBox ID="txtOfficeUrl" runat="server" class="input-txt input-txt3" notNull="true" msgName="验证成功后跳转地址" ></asp:TextBox>
                        &nbsp;<span class="tip">通常填写办公中心地址，以便从办公桌面统一转到各个应用</span>
                    </td>
                </tr>                
                <tr>
                    <th>
                        服务ID：
                    </th>
                    <td>
                        <asp:TextBox ID="txtServerId" runat="server" class="input-txt input-txt3" notNull="true" msgName="服务ID" ></asp:TextBox>
                        &nbsp;<span class="tip">由passport提供</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        服务KEY：
                    </th>
                    <td>
                        <asp:TextBox ID="txtServerKey" runat="server" class="input-txt input-txt3" notNull="true" msgName="服务KEY" ></asp:TextBox>
                        &nbsp;<span class="tip">由passport提供</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        用户请求访问的地址：
                    </th>
                    <td>
                        <asp:TextBox ID="txtWebUrl" runat="server" class="input-txt3 input-txt" ></asp:TextBox>
                        &nbsp;<span class="tip">注：请填写完整http地址，若为空则取当前网站登录页面地址</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        root参数：
                    </th>
                    <td>
                        <asp:TextBox ID="txtRoot" runat="server" class="input-txt" notNull="true" msgName="root" ></asp:TextBox>
                        &nbsp;<span class="tip">指AP是否是发布在根目录下。如果本网站部署为独立站点则设为1，部署为虚拟目录则设为0。</span>
                    </td>
                </tr>
            </table>
        </div>
        <div class="ft">
            <div class="action-field txt-c">
                <asp:Button ID="editSystem" class="btn" runat="server" Text="保 存" OnClientClick="return checkall()" OnClick="editSystem_Click">
                </asp:Button>&nbsp;
                <asp:Button ID="reset" class="btn" runat="server" Text="重 载" OnClick="reset_Click">
                </asp:Button>&nbsp;
                <input class="btn" type="reset" value="重 置" />
            </div>
            <!--/action-field-->
        </div>
    </div>
    </form>
</body>
</html>
