<%@ Page language="c#" Codebehind="ProductionManager.aspx.cs" AutoEventWireup="false" Inherits="Microsoft.ContentManagement.WebAuthor.ProductionManager" %>
<%@ Register tagprefix="WebAuthor" Tagname="DialogTitle" Src="..\..\..\Controls\DialogTitle.ascx" %>
<%@ Register TagPrefix="WebAuthor" Namespace="Microsoft.ContentManagement.WebAuthor" Assembly="Microsoft.ContentManagement.WebAuthor" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
		<title> <%= IDS_UI_BROWSER_TITLE %>
		</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<%= EmbedHeadSection() %>
	</HEAD>
	<BODY class=WBC_styclsTextColor0 bgColor="<%=IDS_BODYSETTING_BGCOLOR %>" 
                                    leftMargin="<%=IDS_BODYSETTING_LEFTMARGIN%>" 
                                    topMargin="<%= IDS_BODYSETTING_TOPMARGIN %>">
		<FORM id="ProductionManager" method="post" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<!-- Set Dialog Title-->
				<tr>
					<td colspan="3">
						<WebAuthor:DialogTitle ID="title" runat="server"></WebAuthor:DialogTitle>
					</td>
				</tr>
				<!-- Define a margin -->
				<tr>
					<td colspan="3"><img src="<%=IDS_TRANSPARENT_GIF%>"   width="15" height="<%= C_INT_MAIN_SPACING %>" border="0"></td>
				</tr>
				<!-- Set the margin width for the rest of the page -->
				<tr>
					<td rowSpan="999"><img height=1 src="<%=IDS_TRANSPARENT_GIF%>" width="<%= C_INT_MAIN_MARGIN %>" border=0></td>
					<td><img height=1  src="<%=IDS_TRANSPARENT_GIF%>" width="100%" border=0 ></td>
					<td rowSpan="999"><img height=1  src="<%=IDS_TRANSPARENT_GIF%>" width="<%= C_INT_MAIN_MARGIN %>"  border=0></td>
				</tr>
				<!-- Write the status box -->
				<tr>
					<td>
						<WebAuthor:StatusBox ID="statusbox" runat="server"></WebAuthor:StatusBox>
					</td>
				</tr>
				<!-- Define a margin -->
				<tr>
					<td colspan="3"><img src="<%=IDS_TRANSPARENT_GIF%>"   width="15" height="<%= C_INT_MAIN_SPACING %>" border="0"></td>
				</tr>
				<!-- Display info about subset being shown and the PagingConfigControl -->
				<tr>
					<td width="100%" align="right">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="50%" align="left" class="WBC_styclsTextColor0">
									<asp:Literal id="ItemsInfo" runat="server" />
								</td>
								<td width="50%" align="right" class="WBC_styclsTextColor0">
									<asp:Literal ID="ItemsPerPage" Runat="server" />
									&nbsp;
									<asp:DropDownList id="PagingConfigControl" AutoPostBack="True" OnSelectedIndexChanged="ChangePagingConfig" runat="server" />
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td><img src="<%=IDS_TRANSPARENT_GIF%>"
							width="15" height="<%=C_INT_XSMALL_SPACING%>" border="0"></td>
				</tr>
				<!-- Display Separator -->
				<tr>
					<td class="WBC_styclsBackground1"><img src="<%=IDS_TRANSPARENT_GIF%>"  width="15" height="<%=C_INT_SEPARATOR_HEIGHT%>"></td>
				</tr>
				<!-- Define a margin -->
				<tr>
					<td><img src="<%=IDS_TRANSPARENT_GIF%>"   width="15" height="<%= C_INT_MAIN_SPACING %>" border="0"></td>
				</tr>
				<!-- Show the Pages in Production as List -->
				<tr>
					<td>
						<WebAuthor:CustomDataGrid id="ProductionManagerGrid" AutoGenerateColumns="False" runat="server" AllowSorting="True" OnSortCommand="SortGrid" AllowPaging="True" PagerStyle-HorizontalAlign="Center" OnPageIndexChanged="ChangeGridPage" GridLines="None">
							<Columns>
								<asp:TemplateColumn>
									<ItemTemplate>
										<table border='0'>
											<tr>
												<td>
													<a id="Preview_<%#DataBindGuid(Container.DataItem)%>" href='#' onClick='WBC_openWindowOnFocus("<%# DataBindPageColumnPostingUrl(Container.DataItem) %>",IDS_WIN_PREVIEW, WBC_getPoppedUpWindowFeatures(IDS_WIN_PREVIEW_FEATURES, window.top));return false;'>
														<img alt="Preview Page" border="0"
															src="<%#IDS_PATH_IMAGES_COMMON_ICONS %><%# IDS_IMG_ICON_PREVIEW%>"> </a>
												</td>
												<td class="<%=IDS_CSS_NORMALTEXT0%>" valign="top">
													<asp:Literal runat="server" Text="<%# DataBindPageColumnPostingName(Container.DataItem) %>" />
												</td>
											</tr>
										</table>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn>
									<ItemStyle HorizontalAlign="Center" />								
									<ItemTemplate>
										<nobr><a id="GoTo_<%#DataBindGuid(Container.DataItem)%>" href='#' onClick='WBC_onSelectGoto("<%# DataBindGoToColumnPageUrl(Container.DataItem) %>");return false;'>
												<img border='0' src="<%# IDS_PATH_IMAGES_COMMON_ICONS %><%# IDS_IMG_ICON_GOTO %>">
											</a></nobr>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn>
									<ItemTemplate>
										<asp:Literal runat="server" Text="<%# DataBindChannelColumn(Container.DataItem) %>"/>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn>
									<ItemTemplate>
										<asp:Literal runat="server" Text="<%# DataBindStatusColumn(Container.DataItem) %>" />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn>
									<ItemTemplate>
										<asp:Literal runat="server" Text="<%# DataBindLastModifiedColumn(Container.DataItem) %>" />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn>
									<ItemTemplate>
										<asp:Literal runat="server" Text="<%# DataBindDescriptionColumn(Container.DataItem) %>" />
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
						</WebAuthor:CustomDataGrid>
					</td>
				</tr>
			</table>
		</FORM>
	</BODY>
</HTML>
