diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 90afd51..dcdf7f5 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -940 \ No newline at end of file +942 \ No newline at end of file diff --git a/Common/dataobjects/Post.cs b/Common/dataobjects/Post.cs index 454916f..723e0ca 100644 --- a/Common/dataobjects/Post.cs +++ b/Common/dataobjects/Post.cs @@ -187,8 +187,6 @@ namespace FLocal.Common.dataobjects { new XElement("id", this.id), new XElement("poster", this.poster.exportToXmlForViewing(context)), new XElement("postDate", this.postDate.ToXml()), - new XElement("lastChangeDate", this.lastChangeDate.ToXml()), - new XElement("revision", this.revision.ToString()), new XElement("layerId", this.layerId), new XElement("layerName", this.layer.name), new XElement("title", this.title), @@ -196,7 +194,15 @@ namespace FLocal.Common.dataobjects { //this.XMLBody(context), new XElement("bodyShort", this.bodyShort), new XElement("threadId", this.threadId), - new XElement("isOwner", ((context.account != null) && (this.poster.id == context.account.user.id)).ToPlainString()) + new XElement("isOwner", ((context.account != null) && (this.poster.id == context.account.user.id)).ToPlainString()), + new XElement( + "specific", + new XElement( + "changeInfo", + new XElement("lastChangeDate", this.lastChangeDate.ToXml()), + new XElement("revision", this.revision.ToString()) + ) + ) ); if(includeParentPost) { if(this.parentPostId.HasValue) { diff --git a/templates/Full/elems/PostInfo.xslt b/templates/Full/elems/PostInfo.xslt index ebe7b37..706e269 100644 --- a/templates/Full/elems/PostInfo.xslt +++ b/templates/Full/elems/PostInfo.xslt @@ -123,22 +123,7 @@ - - - - - - Это сообщение было отредактировано пользователем - - раз, последний раз - -
-
-
- - -
-
+ @@ -156,5 +141,21 @@ + + + + + + Это сообщение было отредактировано пользователем + + раз, последний раз + +
+
+
+ + +
+
\ No newline at end of file