<%@ Page language="c#" Codebehind="FeedForm.aspx.cs" AutoEventWireup="false" Inherits="CommunityServerWeb.ControlPanel.BlogAdmin.FeedForm" MasterPageFile="~/ControlPanel/Masters/Modal.master" %>
<%@ Import Namespace="CommunityServer.Components" %>

<asp:Content ContentPlaceHolderId="bcr" runat="server">
	<script type="text/javascript">
	// <![CDATA[
	function closeModal()
	{
		window.parent.Telligent_Modal.Close(true);
	}
	// ]]>
	</script>
	<div class="CommonContentArea">
		<div class="CommonContent">
		
		<div class="CommonFormFieldName">
				<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Blogs_FeedUrlLabel" /></strong><br />
				<cp:ResourceControl runat="server" resourcename="CP_BlogAdmin_Blogs_FeedUrlLabel_Help" />
	    </div>
	    <div class="CommonFormField">
				<asp:textbox id="FeedUrlTxt" runat="Server" style="width: 300px;" cssclass="ControlPanelTextInput" />
				<asp:RequiredFieldValidator id="FeedUrlTxtValidator" Runat="server" ControlToValidate="FeedUrlTxt" Display="Dynamic" Text="*" />
	    </div>
	    
	    <div class="CommonFormFieldName">
				<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Blogs_FeedSiteUrlLabel" /></strong><br />
				<cp:ResourceControl runat="server" resourcename="CP_BlogAdmin_Blogs_FeedSiteUrlLabel_Help" />
	    </div>
	    <div class="CommonFormField">
				<asp:textbox id="FeedSiteUrlTxt" runat="Server" style="width: 300px;" cssclass="ControlPanelTextInput" />
		</div>
		
		<div class="CommonFormFieldName">
				<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Blogs_FeedTitleLabel" /></strong><br />
				<cp:ResourceControl runat="server" resourcename="CP_BlogAdmin_Blogs_FeedTitleLabel_Help" />
	    </div>
	    <div class="CommonFormField">
				<asp:textbox id=FeedTitleTxt runat="Server" style="width: 300px;" cssclass="ControlPanelTextInput" />
				<asp:RequiredFieldValidator id="FeedTitleTxtValidator" Runat="server" ControlToValidate="FeedTitleTxt" Display="Dynamic" Text="*" />
		</div>
		
		<div class="CommonFormFieldName">
				<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Blogs_FeedIntervalLabel" /></strong><br />
				<cp:ResourceControl runat="server" resourcename="CP_BlogAdmin_Blogs_FeedIntervalLabel_Help" />
		</div>
		<div class="CommonFormField">
				<asp:textbox id="FeedIntervalTxt" runat="Server" style="width: 50px;" Text="60" cssclass="ControlPanelTextInput" />
				<asp:RegularExpressionValidator runat="server"
                    ControlToValidate="FeedIntervalTxt"
                    ValidationExpression="0*[1-9][0-9]*"
                    ErrorMessage="* Your entry is not a number"
                    display="dynamic" Text="* Your entry is not a number" />
				<asp:RequiredFieldValidator id="FeedIntervalTxtValidator" Runat="server" ControlToValidate="FeedIntervalTxt" Display="Dynamic" Text="*" />
		</div>
		
		<div class="CommonFormFieldName">
				<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Blogs_FeedExcerptSize" /></strong><br />
				<cp:ResourceControl runat="server" resourcename="CP_BlogAdmin_Blogs_FeedExcerptSize_Help" />
		</div>
		<div class="CommonFormField">
				<asp:textbox id="FeedExerptSize" runat="Server" style="width: 50px;" Text="250" cssclass="ControlPanelTextInput" />
				<asp:RegularExpressionValidator runat="server"
                    ControlToValidate="FeedExerptSize"
                    ValidationExpression="0*[1-9][0-9]*"
                    ErrorMessage="* Your entry is not a number"
                    display="dynamic" Text="* Your entry is not a number" />
				<asp:RequiredFieldValidator id="FeedExerptSizeValidator" Runat="server" ControlToValidate="FeedExerptSize" Display="Dynamic" Text="*" />
		</div>
		
		<div class="CommonFormFieldName">
				<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Blogs_FeedShowFullPost" /></strong><br />
				<cp:ResourceControl runat="server" resourcename="CP_BlogAdmin_Blogs_FeedShowFullPost_Help" />
		</div>
		<div class="CommonFormField">
				<asp:checkbox id="checkShowFullPost" runat="Server" cssclass="ControlPanelTextInput" />
		</div>

		<div class="CommonFormFieldName">
				<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Blogs_BlogRollAgg" /></strong><br />
				<cp:ResourceControl runat="server" resourcename="CP_BlogAdmin_Blogs_BlogRollAgg_Help" />
		</div>
		<div class="CommonFormField">
				<asp:checkbox id="checkBlogRollAgg" runat="Server" checked="true" cssclass="ControlPanelTextInput" />
		</div>
		
		<div class="CommonFormFieldName">
				<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Blogs_BlogAgg" /></strong><br />
				<cp:ResourceControl runat="server" resourcename="CP_BlogAdmin_Blogs_BlogAgg_Help" />
		</div>
		<div class="CommonFormField">
				<asp:checkbox id="checkBlogAgg" runat="Server" checked="true" cssclass="ControlPanelTextInput" />
		</div>
		
		<div class="CommonFormField" align="right">
				<cp:ResourceLinkButton id="AddFeedButton" runat="Server" cssclass="CommonTextButton" resourcename="CP_Add" />
	    </div>

			
		</DIV>
	</DIV>
</asp:Content>