<%@ Control Language="c#" AutoEventWireup="false" Codebehind="GeneralProperties.ascx.cs" Inherits="Microsoft.ContentManagement.WebAuthor.GeneralProperties" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="WebAuthor" Namespace="Microsoft.ContentManagement.WebAuthor" Assembly="Microsoft.ContentManagement.WebAuthor" %>
<!-- Show the Page Information -->
<table width="100%" border="0" cellspacing="0" cellpadding="10">
	<TR>
		<td>
			<table width="105%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td class="WBC_styclsBackground1">
						<table width="100%" border="0" cellspacing="2" cellpadding="5">
							<tr class="WBC_styclsBackground2">
								<td>
									<table width="100%" border="0" cellspacing="0" cellpadding="2">
										<!-- Display the name field -->
										<tr class="WBC_styclsBackground2" valign="top">
											<td class="WBC_styclsHeavyTextColor1" width="150">
												<%# NameFieldKey %>
											</td>
											<td class="WBC_styclsTextColor1" colspan="2">
												<!-- The following two controls are visible one at a time, depending on whether this shared property can be set -->
												<asp:TextBox cssclass="WBC_styclsInputField" id="WBC_intxtName" runat="server" 
													Columns="<%# PropertiesDialogBase.ID_UI_INPUTBOX_SIZE_IE %>" />
												<asp:Literal id="WBC_txtName" runat="server" />
											</td>
										</tr>
										<!-- Write Channel/Page display name html tags -->
										<tr class="WBC_styclsBackground2" valign="top">
											<td class="WBC_styclsHeavyTextColor1">
												<%= DialogBase.IDS_UI_LABEL_DISPLAY_NAME %>:
											</td>
											<td class="WBC_styclsTextColor1">
												<!-- The following two controls are visible one at a time, depending on whether this property can be set -->
												<asp:TextBox cssclass="WBC_styclsInputField" id="WBC_intxtDisplayName" runat="server" 
													Columns="<%# PropertiesDialogBase.ID_UI_INPUTBOX_SIZE_IE %>" />
												<asp:Literal id="WBC_txtDisplayName" runat="server" />
											</td>
											<td class="WBC_styclsTextColor1" valign="bottom">
												<%		if (CanSetLocalProperties) { %>
												<a href="#" onclick="WBC_resetDisplayName(); return false;"><img name="WBC_imgResetDisplayName" 
													src="<%= DialogBase.IDS_PATH_IMAGES_COMMON_BUTTONS%><%=PropertiesDialogBase.IDS_IMG_BTN_OFFRESET %>" border="0" alt=""></a>
												<%		} else { %>
												&nbsp;
												<%		} %>
											</td>
										</tr>
										<!-- Write Channel/Page parent Path html tags -->
										<tr class="WBC_styclsBackground2" valign="top">
											<td class="WBC_styclsHeavyTextColor1">
												<%= DialogBase.IDS_UI_LABEL_URL %>:
											</td>
											<td class="WBC_styclsTextColor1" colspan = "2" nowrap>
												<asp:Literal id="WBC_txtUrl" runat="server" />
											</td>
										</tr>
										<!-- Write Template Path html tags -->
										<tr class="WBC_styclsBackground2" valign="top">
											<td class="WBC_styclsHeavyTextColor1">
												<%= DialogBase.IDS_UI_LABEL_TEMPLATEPATH %>:
											</td>
											<td class="WBC_styclsTextColor1" colspan = "2" nowrap>
												<asp:Literal id="WBC_txtTemplatePath" runat="server" />
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</TR>
</table>
