<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Blog" Namespace="CommunityServer.Blogs.Controls" Assembly="CommunityServer.Blogs" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="CommunityServer.Blogs.Components" %>

<div class="CommonSidebarArea">
	<h4 class="CommonSidebarHeader"><cs:ResourceControl ResourceName="GroupOptions" runat="server" /></h4>
	<div class="CommonSidebarContent">
		<ul class="CommonSidebarList">
			<li class="CommonSidebarRssListItem"><a href="<%= CommunityServer.Blogs.Components.BlogUrls.Instance().GroupRss(CSContext.Current.GroupID, BlogMirrorDisplayType.MirrorBlogsOnly) %>"><cs:ResourceControl runat="server" ResourceName="Syndication" /></a></li>
		</ul>
    </div>
</div>

<Blog:AggregateGroupList ResourceNameTitle="Groups" UrlFormat="rollerhome_Group" runat="server" id="ByGroup" ShowOnlyMultipleGroups="true">
	<SkinTemplate>
	<div class="CommonSidebarArea">
		<h4 class="CommonSidebarHeader"><CS:ResourceControl id="Title" runat="Server" /></h4>
		<div class="CommonSidebarContent">
			<asp:Repeater runat="Server" id="AggList">
				<HeaderTemplate>
					<ul class="CommonSidebarList">
				</HeaderTemplate>
				<ItemTemplate>
					<li><asp:HyperLink Runat="Server" id="AggLink" /></li>
				</ItemTemplate>
				<FooterTemplate>
					</ul>
				</FooterTemplate>
			</asp:Repeater>
		</div>
		<div class="CommonSidebarFooter">
			<a href="<%=Globals.GetSiteUrls().UrlData.FormatUrl("rollerhome") %>"><cs:ResourceControl ResourceName="ViewAllGroups" runat="server" /></a>
		</div>
	</div>	
	</SkinTemplate>
</Blog:AggregateGroupList>
