");
- string userUrl = NavigationManager.NavigateURL(PortalSettings.UserTabId, string.Empty, new[] { "userId=" + comment.UserId });
+ string userUrl = Globals.NavigateURL(PortalSettings.UserTabId, string.Empty, new[] { "userId=" + comment.UserId });
sb.AppendFormat("{0}", comment.DisplayName, userUrl);
-
+
if (comment.CommentXML != null && comment.CommentXML.SelectSingleNode("/root/comment") != null)
{
string text;
if (CdataRegex.IsMatch(comment.CommentXML.SelectSingleNode("/root/comment").InnerText))
{
var match = CdataRegex.Match(comment.CommentXML.SelectSingleNode("/root/comment").InnerText);
- text = match.Groups["text"].Value;
+ text = match.Groups["text"].Value;
}
else
{
@@ -338,12 +334,12 @@ internal string GetCommentRow(JournalItem journal, CommentInfo comment) {
else
{
sb.Append(comment.Comment.Replace("\n", "
"));
- }
+ }
var timeFrame = DateUtils.CalculateDateForDisplay(comment.DateCreated);
comment.DateCreated = CurrentUser.LocalTime(comment.DateCreated);
sb.AppendFormat("{1}", comment.DateCreated, timeFrame);
-
+
sb.Append("