<%#GenerateIndentCode(Container.DataItem, "")%>
<%#IFCompare(!ValidationHelper.GetBoolean(GetData(Container.DataItem, "PostApproved"), false), " Unapproved", "")%> ">
|
<%-- OnSite management --%>
<%#AdministratorCode(Eval("PostForumID"), " ")%>
<%#GetLink(Container.DataItem, ResHelper.GetString("general.approve"), "ActionLink", ForumActionType.Appprove)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("forums.approveall"), "ActionLink", ForumActionType.ApproveAll)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("general.reject"), "ActionLink", ForumActionType.Reject)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("forums.rejectall"), "ActionLink", ForumActionType.RejectAll)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("forums.splitthread"), "ActionLink", ForumActionType.SplitThread)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("forums.movethread"), "ActionLink", ForumActionType.MoveToTheOtherForum)%>
<%#AdministratorCode(Eval("PostForumID"), " ")%>
|
|
<%--Avatar--%>
<%#AvatarImage(Container.DataItem)%>
<%--Badges--%>
<%#GetNotEmpty(Eval("BadgeDisplayName"), " " + Encode(ResHelper.LocalizeString(Convert.ToString(Eval("BadgeDisplayName")))) + " ", "" + ResHelper.GetString("Forums.PublicBadge") + " ", ForumActionType.Badge)%>
<%#GetNotEmpty(Eval("BadgeImageURL"), "", "", ForumActionType.Badge)%>
<%--Send message, Friendship request--%>
<%#IFCompare((EnableMessaging || EnableFriendship) && (ValidationHelper.GetInteger(Eval("PostUserID"), 0) > 0), "", "")%>
<%#IFCompare((EnableMessaging) && (ValidationHelper.GetInteger(Eval("PostUserID"), 0) > 0), " " + ResHelper.GetString("sendmessage.sendmessage") + "", "")%>
<%#IFCompare((EnableFriendship) && (ValidationHelper.GetInteger(Eval("PostUserID"), 0) > 0), " " + ResHelper.GetString("friends.requestfriendship") + "", "")%>
<%#IFCompare((EnableMessaging || EnableFriendship) && (ValidationHelper.GetInteger(Eval("PostUserID"), 0) > 0), " ", "")%>
|
<%#GenerateAnswerCode(Container.DataItem, " | " + ResHelper.GetString("General.AcceptedSolution") + " | ")%>
<%#GetUserName(Container.DataItem)%>
-
<%#CMSContext.ConvertDateTime(ValidationHelper.GetDateTime(Eval("PostTime"), DateTimeHelper.ZERO_TIME), this)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("Forums_WebInterface_ForumPost.AddPostToFavorites"), "ActionLink", ForumActionType.AddPostToFavorites)%>
<%#IFCompare(IsAvailable(Container.DataItem, ForumActionType.IsAnswer), "" + ResHelper.GetString("Forums_WebInterface_ForumPost.Washelpful"), "")%>
<%#GetLink(Container.DataItem, ResHelper.GetString("general.yes"), "ActionLink", ForumActionType.IsAnswer)%>
<%#IFCompare(IsAvailable(Container.DataItem, ForumActionType.IsAnswer), "|", "")%>
<%#GetLink(Container.DataItem, ResHelper.GetString("general.no"), "ActionLink", ForumActionType.IsNotAnswer)%>
<%#IFCompare(IsAvailable(Container.DataItem, ForumActionType.IsAnswer), " ", "")%>
<%#HTMLHelper.HTMLEncode(Eval("PostSubject").ToString())%>
<%#GetSignatureArea(Container.DataItem, "", " ")%>
<%#GetLink(Container.DataItem, ResHelper.GetString("Forums_WebInterface_ForumPost.replyLinkText"), "PostActionLink", ForumActionType.Reply)%>
<%#Separator(Container.DataItem, "|", 0)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("Forums_WebInterface_ForumPost.quoteLinkText"), "PostActionLink", ForumActionType.Quote)%>
<%#Separator(Container.DataItem, "|", 1)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("Forums_WebInterface_ForumPost.Subscribe"), "PostActionLink", ForumActionType.SubscribeToPost)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("general.edit"), "ActionLink", ForumActionType.Edit)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("general.delete"), "ActionLink", ForumActionType.Delete)%>
<%#GetLink(Container.DataItem, ResHelper.GetString("general.attachments"), "ActionLink", ForumActionType.Attachment)%>
|
<%#GenerateIndentCode(Container.DataItem, " ")%>
|