diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 6a5426c..941d0e5 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -474 \ No newline at end of file +479 \ No newline at end of file diff --git a/Builder/IISUploadHandler/build.txt b/Builder/IISUploadHandler/build.txt index 55596b2..58e77f3 100644 --- a/Builder/IISUploadHandler/build.txt +++ b/Builder/IISUploadHandler/build.txt @@ -1 +1 @@ -210 \ No newline at end of file +215 \ No newline at end of file diff --git a/IISMainHandler/handlers/response/PMSendHandler.cs b/IISMainHandler/handlers/response/PMSendHandler.cs index 3f85893..6bca473 100644 --- a/IISMainHandler/handlers/response/PMSendHandler.cs +++ b/IISMainHandler/handlers/response/PMSendHandler.cs @@ -19,6 +19,12 @@ namespace FLocal.IISHandler.handlers.response { } override protected XElement[] getSpecificData(WebContext context) { + if(context.requestParts.Length > 1) { + Account account = Account.LoadById(int.Parse(context.requestParts[1])); + return new XElement[] { + new XElement("receiver", account.exportToXml(context)), + }; + } return new XElement[0]; } } diff --git a/templates/Full/PMSend.xslt b/templates/Full/PMSend.xslt index fea243c..b7833ce 100644 --- a/templates/Full/PMSend.xslt +++ b/templates/Full/PMSend.xslt @@ -24,7 +24,17 @@
Получатель: - + + + + + + + + + + +

Тема: diff --git a/templates/Full/UserInfo.xslt b/templates/Full/UserInfo.xslt index 01ee2a1..2d50c95 100644 --- a/templates/Full/UserInfo.xslt +++ b/templates/Full/UserInfo.xslt @@ -181,6 +181,9 @@ + + /PMSend// + Послать личное сообщение