<%@ Control Language="C#" AutoEventWireup="true" Inherits="CMSModules_Forums_Controls_Layouts_Flat_Threads" CodeFile="Threads.ascx.cs" %> <%@ Register Src="~/CMSModules/Forums/Controls/ForumBreadcrumbs.ascx" TagName="ForumBreadcrumbs" TagPrefix="cms" %> <%@ Register Namespace="CMS.Forums" Assembly="CMS.Forums" TagPrefix="cms" %>
<%=HTMLHelper.HTMLEncode(ResHelper.LocalizeString(ForumContext.CurrentForum.ForumDisplayName))%> <%=HTMLHelper.HTMLEncode(ResHelper.LocalizeString(ForumContext.CurrentForum.ForumDescription))%>
<%=GetLink(null, ResHelper.GetString("Forums.Forum.lnkNewThread"), "ActionLink", ForumActionType.NewThread)%> | <%=GetLink(null, ResHelper.GetString("Forums.Forum.SubscribeForum"), "ActionLink", ForumActionType.SubscribeToForum)%> | <%=GetLink(ForumContext.CurrentForum.Generalized.DataClass, ResHelper.GetString("Forums.Forum.AddForumToFavorites"), "ActionLink", ForumActionType.AddForumToFavorites)%> |
<%=ResHelper.GetString("ForumThreadList.ThreadName")%> <%=ResHelper.GetString("ForumThreadList.CreatedBy")%> <%=ResHelper.GetString("ForumThreadList.Posts")%> <%=ResHelper.GetString("ForumThreadList.Views")%> <%=ResHelper.GetString("ForumThreadList.LastUser")%>
<%#GetLink(Container.DataItem, Eval("PostSubject"), "ThreadName", ForumActionType.Thread)%> <%#AdministratorCode(ForumContext.CurrentForum.ForumID, "
")%> <%#GetLink(Container.DataItem, ResHelper.GetString("forums.lock"), "ActionLink", ForumActionType.LockThread)%> <%#GetLink(Container.DataItem, ResHelper.GetString("forums.unlock"), "ActionLink", ForumActionType.UnlockThread)%> <%#GetLink(Container.DataItem, ResHelper.GetString("ForumPost_View.IconStick"), "ActionLink", ForumActionType.StickThread)%> <%#GetLink(Container.DataItem, ResHelper.GetString("ForumPost_View.IconUnStick"), "ActionLink", ForumActionType.UnstickThread)%> <%#GetLink(Container.DataItem, ResHelper.GetString("general.movedown"), "ActionLink", ForumActionType.MoveStickyThreadDown)%> <%#GetLink(Container.DataItem, ResHelper.GetString("general.moveup"), "ActionLink", ForumActionType.MoveStickyThreadUp)%> <%#UnaprovedPosts(Container.DataItem, "
" + ResHelper.GetString("Forums.UnapprovedPosts"), true)%> <%#AdministratorCode(ForumContext.CurrentForum.ForumID, "
")%>
<%#HTMLHelper.HTMLEncode(Eval("PostUserName").ToString())%>
<%#PostCount(Container.DataItem, true)%> <%#ValidationHelper.GetInteger(Eval("PostViews"), 0)%> <%#LastUser(Container.DataItem, true)%>
(<%#LastTime(Container.DataItem, true)%>)
<%-- PAGER --%> "> ... "> <%#Eval("Page")%> <%#Eval("Page")%> "> ...