<%
    //-----------------------------------------------------------
    // 文件名称: Tool_PagePower_Manage.aspx
    // 页面名称: 权限组功能管理
    //
    // 描    述:
    //
    // 创建标识: Add By 吴建春 2008-05-20
    //-----------------------------------------------------------
%>

<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Tool_PagePower_Manage, V5Shop.Shop.Tool" culture="Auto" uiculture="auto" meta:resourcekey="PageResource1" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/ManageHeader.ascx" TagName="ManageHeader" TagPrefix="uc3" %>
<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>

<!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/css.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="js/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <uc3:ManageHeader ID="PageHead" runat="server" />
            <div id="content">
                <asp:Panel runat="server" ID="PanelShow" HorizontalAlign="Center" Width="100%">
                    <div align="center" style="background: #f1f1f1">
                        <table id="OperateTable" runat="server" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <!-- 角色 -->
                            <tr class="FFtr">
                                <td align="right" style="width: 20%; height: 30px;">
                                    <asp:Label ID="lblRole" runat="server" Text="权限组：" Width="56px" Height="16px"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="ddlRoleAdd" runat="server" Width="144px" AutoPostBack="True" OnSelectedIndexChanged="ddlRoleAdd_SelectedIndexChanged">
                                        <asp:ListItem Value="-1" Selected="True">请选择</asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:CustomValidator ID="cvRoleAdd" runat="server" ControlToValidate="ddlRoleAdd" Display="Dynamic" ErrorMessage="必须选择." OnServerValidate="ValidateDropDownList" ValidateEmptyText="True"></asp:CustomValidator>
                                    <span class="NeedMsg">*</span></td>
                            </tr>
                            <!-- 页面 -->
                            <tr class="F7tr">
                                <td align="right" style="height: 30px">
                                    <cc1:HelpCtrl ID="HelpCtrl1" runat="server" FontColor="red" Header="页面" HideSelects="False" ImageURL="images/help.gif" Text="选中的页面属于这个权限组,即属于这个权限组的操作员能操作这些页面。" />
                                    <asp:Label ID="lblPageAdd" runat="server" Text="页面："></asp:Label></td>
                                <td align="left" style="">
                                    <asp:Panel ID="pnlPage" runat="server" Visible="False">
                                        <asp:Button ID="btnSelectAll" runat="server" CssClass="button" OnClick="btnSelectAll_Click" Text="全选" />
                                        <asp:Button ID="btnSelectNoAll" runat="server" CssClass="button" OnClick="btnSelectNoAll_Click" Text="全不选" /><asp:CheckBoxList ID="chkPageAdd" runat="server" RepeatColumns="5" Width="100%" CssClass="input2">
                                        </asp:CheckBoxList></asp:Panel>
                                </td>
                            </tr>
                            <!-- 确定/更新/重置 -->
                            <tr bgcolor="#FFFFFF">
                                <td>
                                </td>
                                <td align="left" style="height: 36px">
                                    <asp:Button ID="btnAddSubmit" runat="server" meta:resourcekey="btnAddResource1" OnClick="btnAddSubmit_Click" Text="确定" CssClass="button" />
                                    &nbsp;
                                    <input id="iptReset" runat="server" type="reset" value="重置" class="button" /></td>
                            </tr>
                        </table>
                    </div>
                </asp:Panel>
                <br />
            </div>
            <div id="hiddenfield">
                <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
                <asp:HiddenField ID="PageIndex" runat="server" Value="0" />
                <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0" />
                <uc1:HiddenField ID="Alert" runat="server" />
            </div>
            <uc2:PageBottom ID="PageBottom1" runat="server" />
        </div>
    </form>
</body>
</html>
