<%@ Control Language="c#" AutoEventWireup="false" Codebehind="StandardProperties.ascx.cs" Inherits="Microsoft.ContentManagement.WebAuthor.StandardProperties" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="WebAuthor" Namespace="Microsoft.ContentManagement.WebAuthor" Assembly="Microsoft.ContentManagement.WebAuthor" %>

<asp:Panel id="WBC_formStandardProps" style="position: absolute; top: 186; left: 10; width: 633" runat="server">                
	<table border="0" cellspacing="0" cellpadding="0" width="<%= PropertiesDialogBase.ID_PROPS_TAB_CONTENT_WIDTH %>">

		<!-- Begin Properties Content in Standard Tab -->
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="5" cellpadding="5">
	               	<tr class="WBC_styclsBackground2" valign="top">
	            		<td class="WBC_styclsHeavyTextColor1" width="30%">
	            			 <%= DescriptionFieldKey %>
	            		</td>
	            		<td class="WBC_styclsTextColor1" width="70%">
	            			<asp:TextBox id="WBC_txtareaDescription" TextMode="Multiline" cssclass="WBC_styclsInputField" 
	            				Columns="<%# PropertiesDialogBase.ID_UI_TEXTAREA_COLS_IE %>" 
	            				Rows="<%# PropertiesDialogBase.ID_UI_TEXTAREA_ROWS_IE %>"
	            				wrap="true" 
	            				runat="server" />
	            			<asp:Literal id="WBC_txtDescription" runat="server" />
	             		</td>
	             	</tr>
				    </table>
			</td>
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
	            	<tr>
	            		<td width="240"><hr></td>
	            		<td class="WBC_styclsHeavyTextColor1" width="150" height="100%" align="Center"><%= DialogBase.IDS_UI_LABEL_PUBLISHING_OPTIONS %></td>
	            		<td width="240"><hr></td>
	            	</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="5" cellpadding="0">
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="4">


					<asp:PlaceHolder id="SetPublishingDatesPlaceHolder" runat="server">

						<tr class="WBC_styclsBackground2" valign="top">
							<td class="WBC_styclsHeavyTextColor1" nowrap>
								<%= DialogBase.IDS_UI_LABEL_START_PUBLISHING %>
							</td>
							<td class="WBC_styclsTextColor1" nowrap>
								<asp:RadioButton cssclass="WBC_styclsInputField" id="WBC_inradioStartImmediately" Text="Immediately" GroupName="StartDate" runat="server" AutoPostBack="True" OnCheckedChanged="OnRadioButtonChange" />&nbsp;				
							</td>
						</tr>
						<tr class="WBC_styclsBackground2" valign="top">
							<td>&nbsp;</td>
							<td class="WBC_styclsTextColor1" nowrap>
								<asp:RadioButton cssclass="WBC_styclsInputField" id="WBC_inradioStartDate" GroupName="StartDate" runat="server" AutoPostBack="True" OnCheckedChanged="OnRadioButtonChange"/>
							    <asp:TextBox id="tbxStartDate" runat="server" Width="110px"></asp:TextBox>
							    &nbsp;
					            <asp:ImageButton id="ibnStartDate" OnClick="PopupCalendar" ImageUrl=<%# DialogBase.IDS_PATH_IMAGES_COMMON_ICONS + DialogBase.IDS_IMG_ICON_CALENDAR %> runat="server"></asp:ImageButton>
					            <span style="position: relative; top: 0; left: 0">
					            	<asp:Calendar id="calStartDate" runat="server" style="z-index: 200; position: absolute; top: 0; left: 0" BackColor="ButtonFace" Visible="False" Height="147px" Width="148px" Font-Names="Tahoma" Font-Size="9pt" OnSelectionChanged="SelectDate"></asp:Calendar>
					            </span>
								&nbsp;&nbsp
							    <asp:TextBox id="tbxStartTime" runat="server" Width="110px"></asp:TextBox>
							</td>
						</tr>

						<tr class="WBC_styclsBackground2" valign="top">
							<td class="WBC_styclsHeavyTextColor1" nowrap>
								<%= DialogBase.IDS_UI_LABEL_STOP_PUBLISHING %>
							</td>
							<td class="WBC_styclsTextColor1" nowrap>
								<asp:RadioButton cssclass="WBC_styclsTextColor1" id="WBC_inradioExpiryNever" GroupName="ExpiryDate" runat="server" AutoPostBack="True" OnCheckedChanged="OnRadioButtonChange" />&nbsp;
								        <%= DialogBase.IDS_UI_LABEL_NEVER %>
							</td>
						</tr>
						<tr class="WBC_styclsBackground2" valign="top">
							<td>&nbsp;</td>
							<td class="WBC_styclsTextColor1" nowrap>
								<asp:RadioButton cssclass="WBC_styclsInputField" id="WBC_inradioExpiryDate" GroupName="ExpiryDate" runat="server" AutoPostBack="True" OnCheckedChanged="OnRadioButtonChange"/>
							    <asp:TextBox id="tbxExpiryDate" runat="server" Width="110px"></asp:TextBox>
							    &nbsp;
					            <asp:ImageButton id="ibnExpiryDate" OnClick="PopupCalendar" ImageUrl=<%# DialogBase.IDS_PATH_IMAGES_COMMON_ICONS + DialogBase.IDS_IMG_ICON_CALENDAR %> runat="server"></asp:ImageButton>
					            
					            <span style="position: relative; top: 0; left: 0">					            
	                       	  		<asp:Calendar id="calExpiryDate" runat="server" style="position: absolute; top: 0; left: 0" BackColor="ButtonFace" Visible="False" Height="147px" Width="148px" Font-Names="Tahoma" Font-Size="9pt" OnSelectionChanged="SelectDate"></asp:Calendar> 
	                       	  	</span>
	                       	  	
								&nbsp;&nbsp;
							    <asp:TextBox id="tbxExpiryTime" runat="server" Width="110px"></asp:TextBox>
							</td>
						</tr>	
					</asp:PlaceHolder>
						
					<asp:PlaceHolder id="FixedPublishingDatesPlaceHolder" runat="server">
						<tr class="WBC_styclsBackground2" valign="top">
							<td class="WBC_styclsHeavyTextColor1" nowrap>
								<%= DialogBase.IDS_UI_LABEL_START_PUBLISHING %>
							</td>
							<td class="WBC_styclsTextColor1" nowrap>
                                <%= StartDate %>
							</td>
						</tr>
						<tr class="WBC_styclsBackground2" valign="top">
							<td class="WBC_styclsHeavyTextColor1" nowrap>
								<%= DialogBase.IDS_UI_LABEL_STOP_PUBLISHING %>
							</td>
							<td class="WBC_styclsTextColor1" nowrap>
								<%= ExpiryDate %>
							</td>
						</tr>	
					</asp:PlaceHolder>

							<tr class="WBC_styclsBackground2">
								<td  colspan="2"><IMG height="5" src="<%= IDS_TRANSPARENT_GIF %>" border="0"></td>
							</tr>
	                    	<tr>
	                    		<td class="WBC_styclsHeavyTextColor1">
	                    	        <%= DialogBase.IDS_UI_LABEL_OWNER %>:
	                    		</td>
	                    		<td class="WBC_styclsTextColor1">
	                    			<%= Owner %>
	                    		</td>
	                    	</tr>
	                    	<tr>
	                    		<td class="WBC_styclsHeavyTextColor1">
	                    			<%= DialogBase.IDS_UI_LABEL_LAST_MODIFIED %>:
	                    		</td>
	                    		<td class="WBC_styclsTextColor1">
	                    			<%= LastModifiedDate %>
	                    		</td>
	                    	</tr>
						</table>
					</td>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="5" cellpadding="0">
				<asp:PlaceHolder id="SetFlagsPlaceHolder" runat="server" >
					<tr class="WBC_styclsBackground2" valign="top">
						<td class="WBC_styclsHeavyTextColor1">
							<asp:CheckBox cssclass="WBC_styclsInputField" id="WBC_inchkIsImportant" value="true" runat="server" />
						</td>
						<% if (IsFramedChannel == true) { %>
						<td class="WBC_styclsHeavyTextColor1">
							<asp:CheckBox cssclass="WBC_styclsInputField" id="WBC_inchkIsRobotFollowable" value="true" runat="server" />
						</td>
						<% } %>
					</tr>

					<tr class="WBC_styclsBackground2" valign="top">
						<td class="WBC_styclsHeavyTextColor1">
							<asp:CheckBox cssclass="WBC_styclsInputField" id="WBC_inchkIsHiddenModePublished" value="true" runat="server" />
						</td>
						<% if (IsFramedChannel == true) { %>
						<td class="WBC_styclsHeavyTextColor1">
							<asp:CheckBox cssclass="WBC_styclsInputField" id="WBC_inchkIsRobotIndexable" value="true" runat="server" />
						</td>
						<% } %>
					</tr>
				</asp:PlaceHolder>

					<asp:PlaceHolder id="FixedFlagsPlaceHolder" runat="server" >
					<tr class="WBC_styclsBackground2" valign="top">
						<td class="WBC_styclsHeavyTextColor1">
							<asp:Literal id="WBC_txtIsImportant" runat="server" />
						</td>
						<% if (IsFramedChannel == true) { %>
						<td class="WBC_styclsHeavyTextColor1">
							<asp:Literal id="WBC_txtIsRobotFollowable" runat="server" />
						</td>
						<% } %>
					</tr>

					<tr class="WBC_styclsBackground2" valign="top">
						<td class="WBC_styclsHeavyTextColor1">
							<asp:Literal id="WBC_txtIsHiddenModePublished" runat="server" />
						</td>
						<% if (IsFramedChannel == true) { %>
						<td class="WBC_styclsHeavyTextColor1">
							<asp:Literal id="WBC_txtIsRobotIndexable" runat="server" />
						</td>
						<% } %>
					</tr>
				</asp:PlaceHolder>

				</table>
			</td>
		</tr>
		<!-- End of Properties Content in Standard Tab -->

	</table>
</asp:Panel>

