<%@ Register TagPrefix="Portal" TagName="Divider" Src="~/ModuleDivider.ascx"%>
<%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%>
<%@ Control Inherits="Xpdt.Portal.Users" CodeBehind="Users.ascx.cs" Language="c#" AutoEventWireup="false" %>
<TABLE class="ModuleFrame" width="100%">
	<TR>
		<TD><portal:title id="Title1" runat="server"></portal:title>
			<table cellSpacing="0" cellPadding="2" border="0">
				<tr vAlign="top">
					<td width="23">&nbsp;
					</td>
					<td class="<%# GetNormalStyle( ) %>" 
            ><asp:literal id="Message" runat="server"></asp:literal><br>
						<br>
					</td>
				</tr>
				<tr vAlign="top">
					<td width="23">&nbsp;
					</td>
					<td class="<%# GetNormalStyle(  ) %>" 
            align=right>&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:linkbutton id="addNew" runat="server" CommandName="Add" Text="Add New User" cssclass="CommandButton"></asp:linkbutton></td>
				</tr>
				<TR>
					<TD width="23"></TD>
					<TD class="<%# GetNormalStyle(  ) %>">
						<asp:DataGrid id="AllUsersGrid" runat="server" Width="100%" AllowSorting="True" AutoGenerateColumns="False" AllowPaging="True" PageSize="5" CellPadding="3" GridLines="None">
							<SelectedItemStyle CssClass="AdminGridSelectedItem"></SelectedItemStyle>
							<AlternatingItemStyle CssClass="AdminGridAlternatingItem"></AlternatingItemStyle>
							<ItemStyle CssClass="AdminGridItem"></ItemStyle>
							<HeaderStyle CssClass="AdminGridHeader"></HeaderStyle>
							<Columns>
								<asp:BoundColumn Visible="False" DataField="UserID"></asp:BoundColumn>
								<asp:BoundColumn DataField="Email" SortExpression="Email" HeaderText="Registered Users"></asp:BoundColumn>
								<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" CancelText="Cancel" EditText="&lt;img src='images/edit.gif' border=0 align=absmiddle alt='Edit this item' &gt;">
									<HeaderStyle Width="20px"></HeaderStyle>
								</asp:EditCommandColumn>
								<asp:ButtonColumn Text="&lt;img src='images/delete.gif' border=0 align=absmiddle alt='Delete this item' &gt;" CommandName="Delete">
									<HeaderStyle Width="20px"></HeaderStyle>
								</asp:ButtonColumn>
							</Columns>
							<PagerStyle PageButtonCount="3" CssClass="AdminGridHeader" Mode="NumericPages"></PagerStyle>
						</asp:DataGrid></TD>
				</TR>
				<TR>
					<TD width="23"></TD>
					<TD class="<%# GetNormalStyle(  ) %>">
						<asp:Panel id="ConfirmPanel" runat="server" Width="100%" CssClass="AdminGridHeader" HorizontalAlign="Right" Height="48px"><BR>
<asp:Label id="Label1" runat="server" Width="274px" ForeColor="#FF8080">Please confirm deletion of this user   </asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp; 
<asp:Button id="ConfirmDeleteBtn" runat="server" Text="Delete"></asp:Button>&nbsp;&nbsp; 
<asp:Button id="ConfirmCancelBtn" runat="server" Text="Cancel"></asp:Button>&nbsp;&nbsp; 
            </asp:Panel></TD>
				</TR>
			</table>
			<Portal:Divider runat="server" id="Divider1" /></TD>
	</TR>
</TABLE>
