Headers reorganized

main
Inga 🏳‍🌈 14 years ago
parent 585f4afd20
commit 8c1faa9479
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      Common/BBCodes/User.cs
  3. 102
      IISMainHandler/HandlersFactory.cs
  4. 2
      IISMainHandler/handlers/request/LoginHandler.cs
  5. 2
      IISMainHandler/handlers/request/RegisterByInviteHandler.cs
  6. 2
      IISMainHandler/handlers/request/RegisterHandler.cs
  7. 4
      IISMainHandler/handlers/response/ConversationHandler.cs
  8. 2
      IISMainHandler/handlers/response/ConversationsHandler.cs
  9. 4
      IISMainHandler/handlers/response/MigrateAccountHandler.cs
  10. 2
      IISMainHandler/handlers/response/PMReplyHandler.cs
  11. 4
      IISMainHandler/handlers/response/PMSendHandler.cs
  12. 4
      IISMainHandler/handlers/response/RegisterByInviteHandler.cs
  13. 4
      IISMainHandler/handlers/response/UserInfoHandler.cs
  14. 4
      IISMainHandler/handlers/response/UserPollsParticipatedHandler.cs
  15. 4
      IISMainHandler/handlers/response/UserPostsHandler.cs
  16. 4
      IISMainHandler/handlers/response/UserRepliesHandler.cs
  17. 4
      templates/Full/Boards.xslt
  18. 8
      templates/Full/Conversation.xslt
  19. 6
      templates/Full/Conversations.xslt
  20. 4
      templates/Full/Login.xslt
  21. 2
      templates/Full/MigrateAccount.xslt
  22. 2
      templates/Full/PMReply.xslt
  23. 2
      templates/Full/PMSend.xslt
  24. 2
      templates/Full/RegisterByInvite.xslt
  25. 2
      templates/Full/Settings.xslt
  26. 10
      templates/Full/UserInfo.xslt
  27. 35
      templates/Full/UserList.xslt
  28. 4
      templates/Full/UserPollsParticipated.xslt
  29. 6
      templates/Full/UserPosts.xslt
  30. 6
      templates/Full/UserReplies.xslt
  31. 4
      templates/Full/elems/ConversationInfo.xslt
  32. 55
      templates/Full/elems/Header.xslt
  33. 2
      templates/Full/elems/Main.xslt
  34. 2
      templates/Full/elems/PMInfo.xslt
  35. 2
      templates/Full/result/NewAccount.xslt
  36. 4
      templates/Full/result/PMSent.xslt
  37. 6
      templates/Lite/Conversation.xslt
  38. 4
      templates/Lite/Conversations.xslt
  39. 2
      templates/Lite/Login.xslt
  40. 8
      templates/Lite/UserInfo.xslt
  41. 2
      templates/Lite/elems/ConversationInfo.xslt
  42. 4
      templates/Lite/elems/Header.xslt
  43. 2
      templates/Lite/elems/Main.xslt
  44. 2
      templates/Lite/elems/PMInfo.xslt
  45. 2
      templates/Lite/result/NewAccount.xslt
  46. 4
      templates/Lite/result/PMSent.xslt

@ -13,7 +13,7 @@ namespace FLocal.Common.BBCodes {
public override string Format(ITextFormatter formatter) { public override string Format(ITextFormatter formatter) {
var user = dataobjects.User.LoadByName(this.Default); var user = dataobjects.User.LoadByName(this.Default);
return String.Format("<a class=\"separate UG_{0}\" href=\"/User/{1}/\">{2}</a>", this.Safe(user.userGroup.name), user.id, this.Safe(user.name)); return String.Format("<a class=\"separate UG_{0}\" href=\"/Users/User/{1}/\">{2}</a>", this.Safe(user.userGroup.name), user.id, this.Safe(user.name));
} }
} }

@ -76,12 +76,48 @@ namespace FLocal.IISHandler {
default: default:
return new handlers.WrongUrlHandler(); return new handlers.WrongUrlHandler();
} }
case "login": case "my":
return new handlers.response.LoginHandler(); if(context.requestParts.Length == 1) {
case "migrateaccount": if(context.account != null) {
return new handlers.response.MigrateAccountHandler(); throw new RedirectException("/My/Conversations/");
case "registerbyinvite": } else {
return new handlers.response.RegisterByInviteHandler(); throw new RedirectException("/My/Login/");
}
}
switch(context.requestParts[1].ToLower()) {
case "login":
if(context.requestParts.Length == 2) {
return new handlers.response.LoginHandler();
} else {
switch(context.requestParts[2].ToLower()) {
case "migrateaccount":
return new handlers.response.MigrateAccountHandler();
case "registerbyinvite":
return new handlers.response.RegisterByInviteHandler();
default:
return new handlers.WrongUrlHandler();
}
}
case "settings":
return new handlers.response.SettingsHandler();
case "conversations":
if(context.requestParts.Length == 2) {
return new handlers.response.ConversationsHandler();
} else {
switch(context.requestParts[2].ToLower()) {
case "conversation":
return new handlers.response.ConversationHandler();
case "pmsend":
return new handlers.response.PMSendHandler();
case "pmreply":
return new handlers.response.PMReplyHandler();
default:
return new handlers.response.ConversationsHandler();
}
}
default:
return new handlers.WrongUrlHandler();
}
case "users": case "users":
if(context.requestParts.Length == 1) { if(context.requestParts.Length == 1) {
throw new RedirectException("/Users/All/"); throw new RedirectException("/Users/All/");
@ -93,39 +129,29 @@ namespace FLocal.IISHandler {
return new handlers.response.ActiveAccountListHandler(); return new handlers.response.ActiveAccountListHandler();
case "online": case "online":
return new handlers.response.WhoIsOnlineHandler(); return new handlers.response.WhoIsOnlineHandler();
case "user":
if(context.requestParts.Length < 3) {
return new handlers.WrongUrlHandler();
}
if(context.requestParts.Length == 3) {
return new handlers.response.UserInfoHandler();
}
switch(context.requestParts[3].ToLower()) {
case "posts":
return new handlers.response.UserPostsHandler();
case "replies":
return new handlers.response.UserRepliesHandler();
case "pollsparticipated":
return new handlers.response.UserPollsParticipatedHandler();
default:
return new handlers.WrongUrlHandler();
}
default: default:
return new handlers.WrongUrlHandler(); return new handlers.WrongUrlHandler();
} }
case "user":
if(context.requestParts.Length < 2) {
return new handlers.WrongUrlHandler();
}
if(context.requestParts.Length == 2) {
return new handlers.response.UserInfoHandler();
}
switch(context.requestParts[2].ToLower()) {
case "posts":
return new handlers.response.UserPostsHandler();
case "replies":
return new handlers.response.UserRepliesHandler();
case "pollsparticipated":
return new handlers.response.UserPollsParticipatedHandler();
default:
return new handlers.WrongUrlHandler();
}
case "settings":
return new handlers.response.SettingsHandler();
case "conversations":
return new handlers.response.ConversationsHandler();
case "conversation":
return new handlers.response.ConversationHandler();
case "pmsend":
return new handlers.response.PMSendHandler();
case "pmreply":
return new handlers.response.PMReplyHandler();
case "upload": case "upload":
if(context.requestParts.Length < 2) { if(context.requestParts.Length < 2) {
return new handlers.WrongUrlHandler(); throw new RedirectException("/Upload/List/");
} }
switch(context.requestParts[1].ToLower()) { switch(context.requestParts[1].ToLower()) {
case "item": case "item":
@ -161,6 +187,14 @@ namespace FLocal.IISHandler {
return new handlers.response.LocalNetworksListHandler(); return new handlers.response.LocalNetworksListHandler();
case "static": case "static":
return new handlers.StaticHandler(context.requestParts); return new handlers.StaticHandler(context.requestParts);
case "registerbyinvite":
string[] rbi_parts = context.requestParts;
rbi_parts[0] = "My/Login/RegisterByInvite";
throw new RedirectException("/" + string.Join("/", rbi_parts));
case "user":
string[] u_parts = context.requestParts;
u_parts[0] = "Users/User";
throw new RedirectException("/" + string.Join("/", u_parts));
case "do": case "do":
if(context.requestParts.Length < 2) { if(context.requestParts.Length < 2) {
return new handlers.WrongUrlHandler(); return new handlers.WrongUrlHandler();

@ -33,7 +33,7 @@ namespace FLocal.IISHandler.handlers.request {
try { try {
Account tmpAccount = Account.LoadByName(context.httprequest.Form["name"]); Account tmpAccount = Account.LoadByName(context.httprequest.Form["name"]);
if(tmpAccount.needsMigration) { if(tmpAccount.needsMigration) {
throw new RedirectException("/MigrateAccount/" + context.httprequest.Form["name"]); throw new RedirectException("/My/Login/MigrateAccount/" + context.httprequest.Form["name"]);
} }
} catch(NotFoundInDBException) { } catch(NotFoundInDBException) {
} }

@ -17,7 +17,7 @@ namespace FLocal.IISHandler.handlers.request {
try { try {
Account tmpAccount = Account.LoadByName(context.httprequest.Form["login"]); Account tmpAccount = Account.LoadByName(context.httprequest.Form["login"]);
if(tmpAccount.needsMigration) { if(tmpAccount.needsMigration) {
throw new RedirectException("/MigrateAccount/" + context.httprequest.Form["login"]); throw new RedirectException("/My/Login/MigrateAccount/" + context.httprequest.Form["login"]);
} }
} catch(NotFoundInDBException) { } catch(NotFoundInDBException) {
} }

@ -17,7 +17,7 @@ namespace FLocal.IISHandler.handlers.request {
try { try {
Account tmpAccount = Account.LoadByName(context.httprequest.Form["login"]); Account tmpAccount = Account.LoadByName(context.httprequest.Form["login"]);
if(tmpAccount.needsMigration) { if(tmpAccount.needsMigration) {
throw new RedirectException("/MigrateAccount/" + context.httprequest.Form["login"]); throw new RedirectException("/My/Login/MigrateAccount/" + context.httprequest.Form["login"]);
} }
} catch(NotFoundInDBException) { } catch(NotFoundInDBException) {
} }

@ -21,7 +21,7 @@ namespace FLocal.IISHandler.handlers.response {
} }
override protected IEnumerable<XElement> getSpecificData(WebContext context) { override protected IEnumerable<XElement> getSpecificData(WebContext context) {
Account interlocutor = Account.LoadById(int.Parse(context.requestParts[1])); Account interlocutor = Account.LoadById(int.Parse(context.requestParts[3]));
PMConversation conversation = PMConversation.LoadByAccounts(context.session.account, interlocutor); PMConversation conversation = PMConversation.LoadByAccounts(context.session.account, interlocutor);
PageOuter pageOuter = PageOuter.createFromGet( PageOuter pageOuter = PageOuter.createFromGet(
context.requestParts, context.requestParts,
@ -52,7 +52,7 @@ namespace FLocal.IISHandler.handlers.response {
) )
} }
}, },
2 4
); );
IEnumerable<PMMessage> messages = conversation.getMessages(pageOuter, context); IEnumerable<PMMessage> messages = conversation.getMessages(pageOuter, context);

@ -20,7 +20,7 @@ namespace FLocal.IISHandler.handlers.response {
} }
override protected IEnumerable<XElement> getSpecificData(WebContext context) { override protected IEnumerable<XElement> getSpecificData(WebContext context) {
PageOuter pageOuter = PageOuter.createFromGet(context.requestParts, context.userSettings.threadsPerPage, 1); PageOuter pageOuter = PageOuter.createFromGet(context.requestParts, context.userSettings.threadsPerPage, 2);
IEnumerable<PMConversation> conversations = PMConversation.getConversations(context.session.account, pageOuter); IEnumerable<PMConversation> conversations = PMConversation.getConversations(context.session.account, pageOuter);
XElement[] result = new XElement[] { XElement[] result = new XElement[] {
new XElement("conversations", new XElement("conversations",

@ -21,10 +21,10 @@ namespace FLocal.IISHandler.handlers.response {
if(context.httprequest.Form["username"] != null && context.httprequest.Form["username"] != "") { if(context.httprequest.Form["username"] != null && context.httprequest.Form["username"] != "") {
username = context.httprequest.Form["username"]; username = context.httprequest.Form["username"];
} else { } else {
if(context.requestParts.Length != 2) { if(context.requestParts.Length != 4) {
throw new CriticalException("Username is not specified"); throw new CriticalException("Username is not specified");
} }
username = context.requestParts[1]; username = context.requestParts[3];
} }
Account account = Account.LoadByName(username); Account account = Account.LoadByName(username);
if(!account.needsMigration) throw new FLocalException("Already migrated"); if(!account.needsMigration) throw new FLocalException("Already migrated");

@ -19,7 +19,7 @@ namespace FLocal.IISHandler.handlers.response {
} }
override protected IEnumerable<XElement> getSpecificNewMessageData(WebContext context) { override protected IEnumerable<XElement> getSpecificNewMessageData(WebContext context) {
PMMessage message = PMMessage.LoadById(int.Parse(context.requestParts[1])); PMMessage message = PMMessage.LoadById(int.Parse(context.requestParts[3]));
string quoted = UBBParser.StripQuotes(message.bodyUBB).Trim(); string quoted = UBBParser.StripQuotes(message.bodyUBB).Trim();
return new XElement[] { return new XElement[] {
message.exportToXml(context), message.exportToXml(context),

@ -19,8 +19,8 @@ namespace FLocal.IISHandler.handlers.response {
} }
override protected IEnumerable<XElement> getSpecificNewMessageData(WebContext context) { override protected IEnumerable<XElement> getSpecificNewMessageData(WebContext context) {
if(context.requestParts.Length > 1) { if(context.requestParts.Length > 3) {
Account receiver = Account.LoadById(int.Parse(context.requestParts[1])); Account receiver = Account.LoadById(int.Parse(context.requestParts[3]));
if(receiver.needsMigration) throw new ApplicationException("User is not migrated"); if(receiver.needsMigration) throw new ApplicationException("User is not migrated");
return new XElement[] { return new XElement[] {
new XElement("receiver", receiver.exportToXml(context)), new XElement("receiver", receiver.exportToXml(context)),

@ -16,8 +16,8 @@ namespace FLocal.IISHandler.handlers.response {
} }
protected override IEnumerable<XElement> getSpecificData(WebContext context) { protected override IEnumerable<XElement> getSpecificData(WebContext context) {
int inviteId = int.Parse(context.requestParts[1]); int inviteId = int.Parse(context.requestParts[3]);
string code = context.requestParts[2]; string code = context.requestParts[4];
Invite invite = Invite.LoadById(inviteId); Invite invite = Invite.LoadById(inviteId);
if(invite.isUsed) throw new FLocalException("Invite is already used"); if(invite.isUsed) throw new FLocalException("Invite is already used");
if(invite.code != code) throw new FLocalException("Code mismatch"); if(invite.code != code) throw new FLocalException("Code mismatch");

@ -24,10 +24,10 @@ namespace FLocal.IISHandler.handlers.response {
User user; User user;
{ {
int userId; int userId;
if(int.TryParse(context.requestParts[1], out userId)) { if(int.TryParse(context.requestParts[2], out userId)) {
user = User.LoadById(userId); user = User.LoadById(userId);
} else { } else {
user = User.LoadByName(context.requestParts[1]); user = User.LoadByName(context.requestParts[2]);
} }
} }
Account account = null; Account account = null;

@ -21,11 +21,11 @@ namespace FLocal.IISHandler.handlers.response {
} }
override protected IEnumerable<XElement> getSpecificData(WebContext context) { override protected IEnumerable<XElement> getSpecificData(WebContext context) {
User user = User.LoadById(int.Parse(context.requestParts[1])); User user = User.LoadById(int.Parse(context.requestParts[2]));
PageOuter pageOuter = PageOuter.createFromGet( PageOuter pageOuter = PageOuter.createFromGet(
context.requestParts, context.requestParts,
context.userSettings.postsPerPage, context.userSettings.postsPerPage,
3 4
); );
IEnumerable<Poll.Vote> votes = Poll.Vote.LoadByIds( IEnumerable<Poll.Vote> votes = Poll.Vote.LoadByIds(
from stringId in Config.instance.mainConnection.LoadIdsByConditions( from stringId in Config.instance.mainConnection.LoadIdsByConditions(

@ -21,11 +21,11 @@ namespace FLocal.IISHandler.handlers.response {
} }
override protected IEnumerable<XElement> getSpecificData(WebContext context) { override protected IEnumerable<XElement> getSpecificData(WebContext context) {
User user = User.LoadById(int.Parse(context.requestParts[1])); User user = User.LoadById(int.Parse(context.requestParts[2]));
PageOuter pageOuter = PageOuter.createFromGet( PageOuter pageOuter = PageOuter.createFromGet(
context.requestParts, context.requestParts,
context.userSettings.postsPerPage, context.userSettings.postsPerPage,
3 4
); );
IEnumerable<Post> posts = user.getPosts(pageOuter); IEnumerable<Post> posts = user.getPosts(pageOuter);

@ -21,11 +21,11 @@ namespace FLocal.IISHandler.handlers.response {
} }
override protected IEnumerable<XElement> getSpecificData(WebContext context) { override protected IEnumerable<XElement> getSpecificData(WebContext context) {
User user = User.LoadById(int.Parse(context.requestParts[1])); User user = User.LoadById(int.Parse(context.requestParts[2]));
PageOuter pageOuter = PageOuter.createFromGet( PageOuter pageOuter = PageOuter.createFromGet(
context.requestParts, context.requestParts,
context.userSettings.postsPerPage, context.userSettings.postsPerPage,
3 4
); );
IEnumerable<Post> posts = user.getReplies(pageOuter); IEnumerable<Post> posts = user.getReplies(pageOuter);

@ -58,14 +58,14 @@
<br /> <br />
<a> <a>
<xsl:if test="session/user"> <xsl:if test="session/user">
<xsl:attribute name="href">/User/<xsl:value-of select="session/user/id"/>/Replies/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="session/user/id"/>/Replies/</xsl:attribute>
</xsl:if> </xsl:if>
<xsl:text>Последние ответы на мои сообщения</xsl:text> <xsl:text>Последние ответы на мои сообщения</xsl:text>
</a> </a>
<br /> <br />
<a> <a>
<xsl:if test="session/user"> <xsl:if test="session/user">
<xsl:attribute name="href">/User/<xsl:value-of select="session/user/id"/>/PollsParticipated/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="session/user/id"/>/PollsParticipated/</xsl:attribute>
</xsl:if> </xsl:if>
<xsl:text>Последние опросы с моим участием</xsl:text> <xsl:text>Последние опросы с моим участием</xsl:text>
</a> </a>

@ -1,11 +1,13 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:import href="elems\PMInfo.xslt"/> <xsl:import href="elems\PMInfo.xslt"/>
<xsl:template name="specificTitle"> <xsl:template name="specificTitle">
<xsl:value-of select="conversationInfo/interlocutor/account/user/name"/> <xsl:value-of select="conversationInfo/interlocutor/account/user/name"/>
</xsl:template> </xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<xsl:call-template name="conversationInfo"/> <xsl:call-template name="conversationInfo"/>
<br /> <br />
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
@ -19,7 +21,7 @@
<td> <td>
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"> <xsl:apply-templates select="messages/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param> <xsl:with-param name="baseLink">/My/Conversations/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</td> </td>
</tr> </tr>
@ -34,7 +36,7 @@
<td> <td>
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"> <xsl:apply-templates select="messages/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param> <xsl:with-param name="baseLink">/My/Conversations/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</td> </td>
</tr> </tr>
@ -60,7 +62,7 @@
<tr class="darktable"> <tr class="darktable">
<td align="left" width="33%"> <td align="left" width="33%">
<font class="catandforum"> <font class="catandforum">
<a href="/Conversations"><xsl:text>Ïðèâàòíûå ñîîáùåíèÿ</xsl:text></a> <a href="/My/Conversations/"><xsl:text>Ïðèâàòíûå ñîîáùåíèÿ</xsl:text></a>
<xsl:text> &gt;&gt; </xsl:text> <xsl:text> &gt;&gt; </xsl:text>
<xsl:value-of select="conversation/interlocutor/account/user/name"/> <xsl:value-of select="conversation/interlocutor/account/user/name"/>
</font> </font>

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:import href="elems\ConversationInfo.xslt"/> <xsl:import href="elems\ConversationInfo.xslt"/>
<xsl:template name="specificTitle">Ëè÷íûå ñîîáùåíèÿ</xsl:template> <xsl:template name="specificTitle">Ëè÷íûå ñîîáùåíèÿ</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>
@ -21,7 +23,7 @@
<td class="navigation" nowrap="nowrap"> <td class="navigation" nowrap="nowrap">
<!-- postoption is either newpost.gif or greynewpost.gif --> <!-- postoption is either newpost.gif or greynewpost.gif -->
<a> <a>
<xsl:attribute name="href">/PMSend/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/PMSend/</xsl:attribute>
<img src="/static/images/newpost.gif" alt="Íîâîå ñîîáùåíèå" border="0" width="13" height="15" style="vertical-align: text-bottom" /> <img src="/static/images/newpost.gif" alt="Íîâîå ñîîáùåíèå" border="0" width="13" height="15" style="vertical-align: text-bottom" />
<xsl:text>Ñîîáùåíèå</xsl:text> <xsl:text>Ñîîáùåíèå</xsl:text>
</a> </a>
@ -79,7 +81,7 @@
<font class="onbody"> <font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="conversations/pageOuter" mode="withCurrent"> <xsl:apply-templates select="conversations/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/Conversations/</xsl:with-param> <xsl:with-param name="baseLink">/My/Conversations/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</font> </font>
</td> </td>

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:template name="specificTitle">Âõîä</xsl:template> <xsl:template name="specificTitle">Âõîä</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>
@ -51,7 +53,7 @@
</tr> </tr>
<tr> <tr>
<td class="lighttable"> <td class="lighttable">
<form method="post" action="/MigrateAccount/"> <form method="post" action="/My/Login/MigrateAccount/">
<xsl:text>Ëîãèí</xsl:text><br /> <xsl:text>Ëîãèí</xsl:text><br />
<input type="text" name="username" class="formboxes" /><br/> <input type="text" name="username" class="formboxes" /><br/>
<input type="submit" name="buttlogin" value="Äàëåå" class="buttons" /> <input type="submit" name="buttlogin" value="Äàëåå" class="buttons" />

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:template name="specificTitle">Ìèãðàöèÿ</xsl:template> <xsl:template name="specificTitle">Ìèãðàöèÿ</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>

@ -1,12 +1,14 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:import href="elems\TextEditor.xslt"/> <xsl:import href="elems\TextEditor.xslt"/>
<xsl:template name="specificTitle"> <xsl:template name="specificTitle">
<xsl:text>Îòâåò íà ëè÷íîå ñîîáùåíèå - </xsl:text> <xsl:text>Îòâåò íà ëè÷íîå ñîîáùåíèå - </xsl:text>
<xsl:value-of select="message/interlocutor/account/user/name"/> <xsl:value-of select="message/interlocutor/account/user/name"/>
</xsl:template> </xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:import href="elems\TextEditor.xslt"/> <xsl:import href="elems\TextEditor.xslt"/>
<xsl:template name="specificTitle">Íîâîå ëè÷íîå ñîîáùåíèå</xsl:template> <xsl:template name="specificTitle">Íîâîå ëè÷íîå ñîîáùåíèå</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:template name="specificTitle">Ðåãèñòðàöèÿ</xsl:template> <xsl:template name="specificTitle">Ðåãèñòðàöèÿ</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:template name="specificTitle">Íàñòðîéêè</xsl:template> <xsl:template name="specificTitle">Íàñòðîéêè</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:template name="specificTitle"><xsl:value-of select="user/name"/></xsl:template> <xsl:template name="specificTitle"><xsl:value-of select="user/name"/></xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>
@ -183,7 +185,7 @@
<td valign="top" colspan="3" align="center" class="darktable"> <td valign="top" colspan="3" align="center" class="darktable">
<a> <a>
<xsl:if test="accountId"> <xsl:if test="accountId">
<xsl:attribute name="href">/PMSend/<xsl:value-of select="accountId"/>/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/PMSend/<xsl:value-of select="accountId"/>/</xsl:attribute>
</xsl:if> </xsl:if>
<img src="/static/images/sendprivate.gif" border="0" style="vertical-align: text-bottom" /> <img src="/static/images/sendprivate.gif" border="0" style="vertical-align: text-bottom" />
<xsl:text> Ïîñëàòü ëè÷íîå ñîîáùåíèå</xsl:text> <xsl:text> Ïîñëàòü ëè÷íîå ñîîáùåíèå</xsl:text>
@ -191,7 +193,7 @@
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a> <a>
<xsl:if test="accountId"> <xsl:if test="accountId">
<xsl:attribute name="href">/Conversation/<xsl:value-of select="accountId"/>/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/Conversation/<xsl:value-of select="accountId"/>/</xsl:attribute>
</xsl:if> </xsl:if>
<img src="/static/images/sundial.gif" border="0" style="vertical-align: text-bottom" /> <img src="/static/images/sundial.gif" border="0" style="vertical-align: text-bottom" />
<xsl:text> Èñòîðèÿ</xsl:text> <xsl:text> Èñòîðèÿ</xsl:text>
@ -203,13 +205,13 @@
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a> <a>
<xsl:attribute name="href">/User/<xsl:value-of select="user/id"/>/Posts/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="user/id"/>/Posts/</xsl:attribute>
<img src="/static/images/viewposts.gif" align="top" style="vertical-align: text-bottom" /> <img src="/static/images/viewposts.gif" align="top" style="vertical-align: text-bottom" />
<xsl:text> Ñîîáùåíèÿ</xsl:text> <xsl:text> Ñîîáùåíèÿ</xsl:text>
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a> <a>
<xsl:attribute name="href">/User/<xsl:value-of select="user/id"/>/Replies/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="user/id"/>/Replies/</xsl:attribute>
<xsl:text>Îòâåòû</xsl:text> <xsl:text>Îòâåòû</xsl:text>
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>

@ -1,9 +1,10 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:template name="specificTitle">Ïîëüçîâàòåëè</xsl:template> <xsl:template name="specificTitle">Ïîëüçîâàòåëè</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="subHeader"/> <xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>
@ -89,7 +90,7 @@
</td> </td>
<td> <td>
<a> <a>
<xsl:attribute name="href">/User/<xsl:value-of select="id"/>/Posts/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="id"/>/Posts/</xsl:attribute>
<xsl:value-of select="totalPosts"/> <xsl:value-of select="totalPosts"/>
<xsl:if test="actualPosts"> <xsl:if test="actualPosts">
<xsl:text> (</xsl:text> <xsl:text> (</xsl:text>
@ -110,34 +111,4 @@
</tr> </tr>
</xsl:template> </xsl:template>
<xsl:template name="subHeader">
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/All/</xsl:with-param>
<xsl:with-param name="text">Âñå</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/Active/</xsl:with-param>
<xsl:with-param name="text">Àêòèâíûå (ñìèãðèðîâàííûå)</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/Online/</xsl:with-param>
<xsl:with-param name="text">Â îíëàéíå</xsl:with-param>
</xsl:call-template>
</td>
</tr>
</table>
</td>
</tr>
</table>
<center>&#160;&#160;</center>
</xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:import href="elems\PollShortInfo.xslt"/> <xsl:import href="elems\PollShortInfo.xslt"/>
<xsl:template name="specificTitle">Îïðîñû</xsl:template> <xsl:template name="specificTitle">Îïðîñû</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>
@ -48,7 +50,7 @@
<font class="onbody"> <font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="polls/pageOuter" mode="withCurrent"> <xsl:apply-templates select="polls/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/User/<xsl:value-of select="user/id"/>/PollsParticipated/</xsl:with-param> <xsl:with-param name="baseLink">/Users/User/<xsl:value-of select="user/id"/>/PollsParticipated/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</font> </font>
</td> </td>

@ -1,12 +1,14 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:import href="elems\PostInfo.xslt"/> <xsl:import href="elems\PostInfo.xslt"/>
<xsl:template name="specificTitle"> <xsl:template name="specificTitle">
<xsl:text>Ñîîáùåíèÿ - </xsl:text> <xsl:text>Ñîîáùåíèÿ - </xsl:text>
<xsl:value-of select="user/name"/> <xsl:value-of select="user/name"/>
</xsl:template> </xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>
@ -47,7 +49,7 @@
<td> <td>
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"> <xsl:apply-templates select="posts/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/User/<xsl:value-of select="user/id"/>/Posts/</xsl:with-param> <xsl:with-param name="baseLink">/Users/User/<xsl:value-of select="user/id"/>/Posts/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</td> </td>
</tr> </tr>
@ -62,7 +64,7 @@
<td> <td>
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"> <xsl:apply-templates select="posts/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/User/<xsl:value-of select="user/id"/>/Posts/</xsl:with-param> <xsl:with-param name="baseLink">/Users/User/<xsl:value-of select="user/id"/>/Posts/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</td> </td>
</tr> </tr>

@ -1,12 +1,14 @@
<?xml version="1.0" encoding="Windows-1251"?> <?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/> <xsl:import href="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:import href="elems\PostInfo.xslt"/> <xsl:import href="elems\PostInfo.xslt"/>
<xsl:template name="specificTitle"> <xsl:template name="specificTitle">
<xsl:text>Îòâåòû - </xsl:text> <xsl:text>Îòâåòû - </xsl:text>
<xsl:value-of select="user/name"/> <xsl:value-of select="user/name"/>
</xsl:template> </xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr> <tr>
<td> <td>
@ -47,7 +49,7 @@
<td> <td>
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"> <xsl:apply-templates select="posts/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/User/<xsl:value-of select="user/id"/>/Replies/</xsl:with-param> <xsl:with-param name="baseLink">/Users/User/<xsl:value-of select="user/id"/>/Replies/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</td> </td>
</tr> </tr>
@ -62,7 +64,7 @@
<td> <td>
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="posts/pageOuter" mode="withCurrent"> <xsl:apply-templates select="posts/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/User/<xsl:value-of select="user/id"/>/Replies/</xsl:with-param> <xsl:with-param name="baseLink">/Users/User/<xsl:value-of select="user/id"/>/Replies/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</td> </td>
</tr> </tr>

@ -24,7 +24,7 @@
</img> </img>
<a> <a>
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:text>/Conversation/</xsl:text> <xsl:text>/My/Conversations/Conversation/</xsl:text>
<xsl:value-of select="interlocutor/account/id"/> <xsl:value-of select="interlocutor/account/id"/>
<xsl:text>/</xsl:text> <xsl:text>/</xsl:text>
<xsl:if test="afterLastRead&lt;=lastMessageId"> <xsl:if test="afterLastRead&lt;=lastMessageId">
@ -36,7 +36,7 @@
</a> </a>
<span class="small" style="margin-left:1.5em"> <span class="small" style="margin-left:1.5em">
<xsl:apply-templates select="pageOuter" mode="withoutCurrent"> <xsl:apply-templates select="pageOuter" mode="withoutCurrent">
<xsl:with-param name="baseLink">/Conversation/<xsl:value-of select="interlocutor/account/id"/>/</xsl:with-param> <xsl:with-param name="baseLink">/My/Conversations/Conversation/<xsl:value-of select="interlocutor/account/id"/>/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</span> </span>
</td> </td>

@ -23,30 +23,23 @@
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1"> <table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr> <tr>
<td align="center" class="menubar"> <td align="center" class="menubar">
<xsl:if test="session/sessionKey and (session/indicators/unreadPrivateMessages != '0')">
<a href="/My/Conversations/">
<img src="/static/images/newpm.gif" border="0">
<xsl:attribute name="alt">
<xsl:text>Ó âàñ </xsl:text>
<xsl:value-of select="session/indicators/unreadPrivateMessages"/>
<xsl:text> íåïðî÷èòàííûõ ëè÷íûõ ñîîáùåíèé</xsl:text>
</xsl:attribute>
</img>
</a>
<xsl:text> | </xsl:text>
</xsl:if>
<xsl:call-template name="headerLink"> <xsl:call-template name="headerLink">
<xsl:with-param name="url">/Boards/</xsl:with-param> <xsl:with-param name="url">/Boards/</xsl:with-param>
<xsl:with-param name="text">Ñïèñîê ôîðóìîâ</xsl:with-param> <xsl:with-param name="text">Ñïèñîê ôîðóìîâ</xsl:with-param>
</xsl:call-template> </xsl:call-template>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Conversations/</xsl:with-param>
<xsl:with-param name="text">
<xsl:if test="session/indicators/unreadPrivateMessages != '0'">
<img src="/static/images/newpm.gif" border="0">
<xsl:attribute name="alt">
<xsl:text>Ó âàñ </xsl:text>
<xsl:value-of select="session/indicators/unreadPrivateMessages"/>
<xsl:text> íåïðî÷èòàííûõ ëè÷íûõ ñîîáùåíèé</xsl:text>
</xsl:attribute>
</img>
</xsl:if>
<xsl:text>Ëè÷íûå ñîîáùåíèÿ</xsl:text>
</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink"> <xsl:call-template name="headerLink">
<xsl:with-param name="url">/Upload/List/</xsl:with-param> <xsl:with-param name="url">/Upload/List/</xsl:with-param>
<xsl:with-param name="text">Àïëîàä</xsl:with-param> <xsl:with-param name="text">Àïëîàä</xsl:with-param>
@ -56,19 +49,8 @@
</xsl:call-template> </xsl:call-template>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<xsl:call-template name="headerLink"> <xsl:call-template name="headerLink">
<xsl:with-param name="url">/Settings/</xsl:with-param> <xsl:with-param name="url">/My/</xsl:with-param>
<xsl:with-param name="text">Íàñòðîéêè</xsl:with-param> <xsl:with-param name="text">My Home</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Login/</xsl:with-param>
<xsl:with-param name="text">Âõîä</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="session/sessionKey">true</xsl:if>
</xsl:with-param>
</xsl:call-template> </xsl:call-template>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<xsl:call-template name="headerLink"> <xsl:call-template name="headerLink">
@ -76,15 +58,8 @@
<xsl:with-param name="text">FAQ</xsl:with-param> <xsl:with-param name="text">FAQ</xsl:with-param>
</xsl:call-template> </xsl:call-template>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a target="_top">
<xsl:if test="session/sessionKey">
<xsl:attribute name="href">/do/Logout/?sessionKey=<xsl:value-of select="session/sessionKey"/></xsl:attribute>
</xsl:if>
<xsl:text>Âûõîä</xsl:text>
</a>
<xsl:text> | </xsl:text>
<xsl:call-template name="headerLink"> <xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/All/</xsl:with-param> <xsl:with-param name="url">/Users/</xsl:with-param>
<xsl:with-param name="text">Ïîëüçîâàòåëè</xsl:with-param> <xsl:with-param name="text">Ïîëüçîâàòåëè</xsl:with-param>
</xsl:call-template> </xsl:call-template>
</td> </td>

@ -198,7 +198,7 @@
<xsl:text>separate </xsl:text> <xsl:text>separate </xsl:text>
<xsl:text>UG_</xsl:text><xsl:value-of select="group/name"/> <xsl:text>UG_</xsl:text><xsl:value-of select="group/name"/>
</xsl:attribute> </xsl:attribute>
<xsl:attribute name="href">/User/<xsl:value-of select="id"/>/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="id"/>/</xsl:attribute>
<xsl:value-of select="name"/> <xsl:value-of select="name"/>
<xsl:if test="isModerator='true'"> <xsl:if test="isModerator='true'">
<img src="/static/images/mod.gif" border="0"/> <img src="/static/images/mod.gif" border="0"/>

@ -45,7 +45,7 @@
<tr> <tr>
<td class="navigation"> <td class="navigation">
<a> <a>
<xsl:attribute name="href">/PMReply/<xsl:value-of select="id"/>/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/PMReply/<xsl:value-of select="id"/>/</xsl:attribute>
<img src="/static/images/reply.gif" border="0" alt="Îòâåò íà ñîîáùåíèå" width="27" height="14" title="Îòâåò íà ñîîáùåíèå" style="vertical-align: text-bottom" /> <img src="/static/images/reply.gif" border="0" alt="Îòâåò íà ñîîáùåíèå" width="27" height="14" title="Îòâåò íà ñîîáùåíèå" style="vertical-align: text-bottom" />
</a> </a>
</td> </td>

@ -29,7 +29,7 @@
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a id="actionLink_right"> <a id="actionLink_right">
<xsl:attribute name="href">/Login/</xsl:attribute> <xsl:attribute name="href">/My/Login/</xsl:attribute>
<xsl:text>Âîéňč</xsl:text> <xsl:text>Âîéňč</xsl:text>
</a> </a>
<xsl:text> [&#8594;]</xsl:text> <xsl:text> [&#8594;]</xsl:text>

@ -24,12 +24,12 @@
<p align="center"> <p align="center">
<xsl:text>[&#8592;] </xsl:text> <xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left"> <a id="actionLink_left">
<xsl:attribute name="href">/Conversations/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/</xsl:attribute>
<xsl:text>Âĺđíóňüń˙ ę ëč÷íűě ńîîáůĺíč˙ě</xsl:text> <xsl:text>Âĺđíóňüń˙ ę ëč÷íűě ńîîáůĺíč˙ě</xsl:text>
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a id="actionLink_right"> <a id="actionLink_right">
<xsl:attribute name="href">/Conversation/<xsl:value-of select="message/interlocutor/account/id"/>/p<xsl:value-of select="message/id"/></xsl:attribute> <xsl:attribute name="href">/My/Conversations/Conversation/<xsl:value-of select="message/interlocutor/account/id"/>/p<xsl:value-of select="message/id"/></xsl:attribute>
<xsl:text>Ďđîńěîňđĺňü ńîîáůĺíčĺ</xsl:text> <xsl:text>Ďđîńěîňđĺňü ńîîáůĺíčĺ</xsl:text>
</a> </a>
<xsl:text> [&#8594;]</xsl:text> <xsl:text> [&#8594;]</xsl:text>

@ -19,7 +19,7 @@
<td> <td>
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"> <xsl:apply-templates select="messages/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param> <xsl:with-param name="baseLink">/My/Conversations/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</td> </td>
</tr> </tr>
@ -34,7 +34,7 @@
<td> <td>
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"> <xsl:apply-templates select="messages/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param> <xsl:with-param name="baseLink">/My/Conversations/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</td> </td>
</tr> </tr>
@ -52,7 +52,7 @@
<xsl:template name="conversationInfo"> <xsl:template name="conversationInfo">
<p> <p>
<font class="catandforum"> <font class="catandforum">
<a href="/Conversations"><xsl:text>Ïðèâàòíûå ñîîáùåíèÿ</xsl:text></a> <a href="/My/Conversations/"><xsl:text>Ïðèâàòíûå ñîîáùåíèÿ</xsl:text></a>
<xsl:text> &gt;&gt; </xsl:text> <xsl:text> &gt;&gt; </xsl:text>
<xsl:value-of select="conversation/interlocutor/account/user/name"/> <xsl:value-of select="conversation/interlocutor/account/user/name"/>
</font> </font>

@ -9,7 +9,7 @@
<xsl:text> [</xsl:text> <xsl:text> [</xsl:text>
<a> <a>
<xsl:if test="session/sessionKey"> <xsl:if test="session/sessionKey">
<xsl:attribute name="href">/PMSend/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/PMSend/</xsl:attribute>
</xsl:if> </xsl:if>
<xsl:text>New Message</xsl:text> <xsl:text>New Message</xsl:text>
</a> </a>
@ -27,7 +27,7 @@
<font class="onbody"> <font class="onbody">
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="conversations/pageOuter" mode="withCurrent"> <xsl:apply-templates select="conversations/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/Conversations/</xsl:with-param> <xsl:with-param name="baseLink">/My/Conversations/</xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</font> </font>
</td> </td>

@ -51,7 +51,7 @@
</tr> </tr>
<tr> <tr>
<td class="lighttable"> <td class="lighttable">
<form method="post" action="/MigrateAccount/"> <form method="post" action="/My/Login/MigrateAccount/">
<xsl:text>Ëîãèí</xsl:text><br /> <xsl:text>Ëîãèí</xsl:text><br />
<input type="text" name="username" class="formboxes" /><br/> <input type="text" name="username" class="formboxes" /><br/>
<input type="submit" name="buttlogin" value="Äàëåå" class="buttons" /> <input type="submit" name="buttlogin" value="Äàëåå" class="buttons" />

@ -183,7 +183,7 @@
<td valign="top" colspan="3" align="center" class="darktable"> <td valign="top" colspan="3" align="center" class="darktable">
<a> <a>
<xsl:if test="accountId"> <xsl:if test="accountId">
<xsl:attribute name="href">/PMSend/<xsl:value-of select="accountId"/>/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/PMSend/<xsl:value-of select="accountId"/>/</xsl:attribute>
</xsl:if> </xsl:if>
<img src="/static/images/sendprivate.gif" border="0" style="vertical-align: text-bottom" /> <img src="/static/images/sendprivate.gif" border="0" style="vertical-align: text-bottom" />
<xsl:text> Ïîñëàòü ëè÷íîå ñîîáùåíèå</xsl:text> <xsl:text> Ïîñëàòü ëè÷íîå ñîîáùåíèå</xsl:text>
@ -191,7 +191,7 @@
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a> <a>
<xsl:if test="accountId"> <xsl:if test="accountId">
<xsl:attribute name="href">/Conversation/<xsl:value-of select="accountId"/>/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/Conversation/<xsl:value-of select="accountId"/>/</xsl:attribute>
</xsl:if> </xsl:if>
<img src="/static/images/sundial.gif" border="0" style="vertical-align: text-bottom" /> <img src="/static/images/sundial.gif" border="0" style="vertical-align: text-bottom" />
<xsl:text> Èñòîðèÿ</xsl:text> <xsl:text> Èñòîðèÿ</xsl:text>
@ -203,13 +203,13 @@
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a> <a>
<xsl:attribute name="href">/User/<xsl:value-of select="user/id"/>/Posts/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="user/id"/>/Posts/</xsl:attribute>
<img src="/static/images/viewposts.gif" align="top" style="vertical-align: text-bottom" /> <img src="/static/images/viewposts.gif" align="top" style="vertical-align: text-bottom" />
<xsl:text> Ñîîáùåíèÿ</xsl:text> <xsl:text> Ñîîáùåíèÿ</xsl:text>
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a> <a>
<xsl:attribute name="href">/User/<xsl:value-of select="user/id"/>/Replies/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="user/id"/>/Replies/</xsl:attribute>
<xsl:text>Îòâåòû</xsl:text> <xsl:text>Îòâåòû</xsl:text>
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>

@ -23,7 +23,7 @@
</xsl:choose> </xsl:choose>
<a> <a>
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:text>/Conversation/</xsl:text> <xsl:text>/My/Conversations/Conversation/</xsl:text>
<xsl:value-of select="interlocutor/account/id"/> <xsl:value-of select="interlocutor/account/id"/>
<xsl:text>/</xsl:text> <xsl:text>/</xsl:text>
<xsl:if test="afterLastRead&lt;=lastMessageId"> <xsl:if test="afterLastRead&lt;=lastMessageId">

@ -4,7 +4,7 @@
<p> <p>
<xsl:if test="session/sessionKey"> <xsl:if test="session/sessionKey">
<a> <a>
<xsl:attribute name="href">/Conversations/?<xsl:value-of select="current/date/ticks"/></xsl:attribute> <xsl:attribute name="href">/My/Conversations/?<xsl:value-of select="current/date/ticks"/></xsl:attribute>
<xsl:if test="session/indicators/unreadPrivateMessages != '0'"> <xsl:if test="session/indicators/unreadPrivateMessages != '0'">
<img src="/static/images/newpm.gif" border="0"> <img src="/static/images/newpm.gif" border="0">
<xsl:attribute name="alt"> <xsl:attribute name="alt">
@ -25,7 +25,7 @@
</xsl:if> </xsl:if>
<xsl:if test="session/notLoggedIn"> <xsl:if test="session/notLoggedIn">
<a target="_top"> <a target="_top">
<xsl:attribute name="href">/Login/</xsl:attribute> <xsl:attribute name="href">/My/Login/</xsl:attribute>
<xsl:text>Âõîä</xsl:text> <xsl:text>Âõîä</xsl:text>
</a> </a>
</xsl:if> </xsl:if>

@ -204,7 +204,7 @@
<xsl:text>separate </xsl:text> <xsl:text>separate </xsl:text>
<xsl:text>UG_</xsl:text><xsl:value-of select="group/name"/> <xsl:text>UG_</xsl:text><xsl:value-of select="group/name"/>
</xsl:attribute> </xsl:attribute>
<xsl:attribute name="href">/User/<xsl:value-of select="id"/>/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="id"/>/</xsl:attribute>
<xsl:value-of select="name"/> <xsl:value-of select="name"/>
<xsl:if test="isModerator='true'"> <xsl:if test="isModerator='true'">
<xsl:text>^M</xsl:text> <xsl:text>^M</xsl:text>

@ -27,7 +27,7 @@
<span style="padding-left:1em"> <span style="padding-left:1em">
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a> <a>
<xsl:attribute name="href">/PMReply/<xsl:value-of select="id"/>/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/PMReply/<xsl:value-of select="id"/>/</xsl:attribute>
<xsl:text>Reply</xsl:text> <xsl:text>Reply</xsl:text>
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>

@ -29,7 +29,7 @@
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a id="actionLink_right"> <a id="actionLink_right">
<xsl:attribute name="href">/Login/</xsl:attribute> <xsl:attribute name="href">/My/Login/</xsl:attribute>
<xsl:text>Âîéňč</xsl:text> <xsl:text>Âîéňč</xsl:text>
</a> </a>
<xsl:text> [&#8594;]</xsl:text> <xsl:text> [&#8594;]</xsl:text>

@ -24,12 +24,12 @@
<p align="center"> <p align="center">
<xsl:text>[&#8592;] </xsl:text> <xsl:text>[&#8592;] </xsl:text>
<a id="actionLink_left"> <a id="actionLink_left">
<xsl:attribute name="href">/Conversations/</xsl:attribute> <xsl:attribute name="href">/My/Conversations/</xsl:attribute>
<xsl:text>Âĺđíóňüń˙ ę ëč÷íűě ńîîáůĺíč˙ě</xsl:text> <xsl:text>Âĺđíóňüń˙ ę ëč÷íűě ńîîáůĺíč˙ě</xsl:text>
</a> </a>
<xsl:text> | </xsl:text> <xsl:text> | </xsl:text>
<a id="actionLink_right"> <a id="actionLink_right">
<xsl:attribute name="href">/Conversation/<xsl:value-of select="message/interlocutor/account/id"/>/p<xsl:value-of select="message/id"/></xsl:attribute> <xsl:attribute name="href">/My/Conversations/Conversation/<xsl:value-of select="message/interlocutor/account/id"/>/p<xsl:value-of select="message/id"/></xsl:attribute>
<xsl:text>Ďđîńěîňđĺňü ńîîáůĺíčĺ</xsl:text> <xsl:text>Ďđîńěîňđĺňü ńîîáůĺíčĺ</xsl:text>
</a> </a>
<xsl:text> [&#8594;]</xsl:text> <xsl:text> [&#8594;]</xsl:text>

Loading…
Cancel
Save