diff --git a/Dnn.CommunityForums/config/templates/ReplyEditor.ascx b/Dnn.CommunityForums/config/templates/ReplyEditor.ascx index e47d3ea4a..55124fbd0 100644 --- a/Dnn.CommunityForums/config/templates/ReplyEditor.ascx +++ b/Dnn.CommunityForums/config/templates/ReplyEditor.ascx @@ -73,26 +73,26 @@ [TOPIC] - + @@ -100,26 +100,26 @@ [/TOPIC] [REPLIES] - + diff --git a/Dnn.CommunityForums/controls/af_post.ascx.cs b/Dnn.CommunityForums/controls/af_post.ascx.cs index 6dac9857f..7ead546c1 100644 --- a/Dnn.CommunityForums/controls/af_post.ascx.cs +++ b/Dnn.CommunityForums/controls/af_post.ascx.cs @@ -539,6 +539,12 @@ private void PrepareReply() this.ctlForm.EditorMode = Modules.ActiveForums.Controls.SubmitForm.EditorModes.Reply; string template = TemplateCache.GetCachedTemplate(this.ForumModuleId, "ReplyEditor", this.fi.FeatureSettings.ReplyFormId); + +#region "Backward compatilbility -- remove in v10.00.00" + template = DotNetNuke.Modules.ActiveForums.Services.Tokens.TokenReplacer.MapLegacyAuthorTokenSynonyms(new StringBuilder(template), this.PortalSettings, this.MainSettings, this.ForumUser.UserInfo?.Profile?.PreferredLocale).ToString(); + template = DotNetNuke.Modules.ActiveForums.Services.Tokens.TokenReplacer.MapLegacyPostTokenSynonyms(new StringBuilder(template), this.PortalSettings, this.ForumUser.UserInfo?.Profile?.PreferredLocale).ToString(); +#endregion "Backward compatilbility -- remove in v10.00.00" + if (this.isEdit) { template = template.Replace("[RESX:ReplyToTopic]", "[RESX:EditingExistingReply]"); diff --git a/Dnn.CommunityForums/themes/community-bootstrap/templates/ReplyEditor.ascx b/Dnn.CommunityForums/themes/community-bootstrap/templates/ReplyEditor.ascx index 1cef9f5b1..43e3eecb8 100644 --- a/Dnn.CommunityForums/themes/community-bootstrap/templates/ReplyEditor.ascx +++ b/Dnn.CommunityForums/themes/community-bootstrap/templates/ReplyEditor.ascx @@ -73,26 +73,26 @@
[POSTINFO]
[SPACER:1:125]
[DCF:TEMPLATE-PROFILEINFO]
[SPACER:1:125]
- + - + - + - +
[POSTDATE][FORUMPOST:DATECREATED]
[AF:CONTROL:POLL][BODY][AF:CONTROL:POLL][FORUMPOST:BODY]
[ATTACHMENTS]
[SIGNATURE][FORUMAUTHOR:SIGNATURE]
[MODEDITDATE][FORUMPOST:MODEDITDATE]
[POSTINFO]
[SPACER:1:125]
[DCF:TEMPLATE-PROFILEINFO]
[SPACER:1:125]
- + - + - + - +
[POSTDATE][FORUMPOST:DATECREATED]
[BODY][FORUMPOST:BODY]
[ATTACHMENTS]
[SIGNATURE][FORUMAUTHOR:SIGNATURE]
[MODEDITDATE][FORUMPOST:MODEDITDATE]
[TOPIC] - + @@ -100,26 +100,26 @@ [/TOPIC] [REPLIES] - + diff --git a/Dnn.CommunityForums/themes/community-bootstrap/templates/TopicView.ascx b/Dnn.CommunityForums/themes/community-bootstrap/templates/TopicView.ascx index 8d7b945b7..734891c51 100644 --- a/Dnn.CommunityForums/themes/community-bootstrap/templates/TopicView.ascx +++ b/Dnn.CommunityForums/themes/community-bootstrap/templates/TopicView.ascx @@ -64,7 +64,7 @@
- [POSTINFO] + [DCF:TEMPLATE-PROFILEINFO]
@@ -111,7 +111,7 @@
- [POSTINFO] + [DCF:TEMPLATE-PROFILEINFO]
diff --git a/Dnn.CommunityForums/themes/community-default/templates/TopicView.ascx b/Dnn.CommunityForums/themes/community-default/templates/TopicView.ascx index fae30fa26..c3d8350e2 100644 --- a/Dnn.CommunityForums/themes/community-default/templates/TopicView.ascx +++ b/Dnn.CommunityForums/themes/community-default/templates/TopicView.ascx @@ -61,7 +61,7 @@
- [POSTINFO] + [DCF:TEMPLATE-PROFILEINFO]
@@ -118,7 +118,7 @@
- [POSTINFO] + [DCF:TEMPLATE-PROFILEINFO]
[POSTINFO]
[SPACER:1:125]
[DCF:TEMPLATE-PROFILEINFO]
[SPACER:1:125]
- + - + - + - +
[POSTDATE][FORUMPOST:DATECREATED]
[AF:CONTROL:POLL][BODY][AF:CONTROL:POLL][FORUMPOST:BODY]
[ATTACHMENTS]
[SIGNATURE][FORUMAUTHOR:SIGNATURE]
[MODEDITDATE][FORUMPOST:MODEDITDATE]
[POSTINFO]
[SPACER:1:125]
[DCF:TEMPLATE-PROFILEINFO]
[SPACER:1:125]
- + - + - + - +
[POSTDATE][FORUMPOST:DATECREATED]
[BODY][FORUMPOST:BODY]
[ATTACHMENTS]
[SIGNATURE][FORUMAUTHOR:SIGNATURE]
[MODEDITDATE][FORUMPOST:MODEDITDATE]