C:/Program Files (x86)/Git/Replies/ URLs renamed to /Mentions/

main
Inga 🏳‍🌈 13 years ago
parent c32ac15925
commit 396f964217
  1. 2
      FLocal.Common/FLocal.Common.csproj
  2. 3
      FLocal.Common/URL/UrlManager.cs
  3. 6
      FLocal.Common/URL/users/user/Mentions.cs
  4. 2
      FLocal.IISHandler/HandlersFactory.cs
  5. 2
      FLocal.IISHandler/handlers/response/UserRepliesHandler.cs
  6. 2
      Resources/FLocal/templates/Full/Boards.xslt
  7. 4
      Resources/FLocal/templates/Full/UserInfo.xslt
  8. 4
      Resources/FLocal/templates/Lite/UserInfo.xslt
  9. 2
      Resources/FLocal/templates/Modern/Boards.xslt
  10. 4
      Resources/FLocal/templates/Modern/elems/ForumHeader.xslt
  11. 4
      Resources/FLocal/templates/Modern/elems/UserHeader.xslt

@ -183,7 +183,7 @@
<Compile Include="URL\users\user\Info.cs" />
<Compile Include="URL\users\user\PollsParticipated.cs" />
<Compile Include="URL\users\user\Posts.cs" />
<Compile Include="URL\users\user\Replies.cs" />
<Compile Include="URL\users\user\Mentions.cs" />
<Compile Include="URL\users\user\Threads.cs" />
<Compile Include="UserContext.cs" />
<Compile Include="UserSettingsGateway.cs" />

@ -305,7 +305,8 @@ namespace FLocal.Common.URL {
case "posts":
return new users.user.Posts(requestParts[2], GetRemainder(requestParts, 4));
case "replies":
return new users.user.Replies(requestParts[2], GetRemainder(requestParts, 4));
case "mentions":
return new users.user.Mentions(requestParts[2], GetRemainder(requestParts, 4));
case "threads":
return new users.user.Threads(requestParts[2], GetRemainder(requestParts, 4));
default:

@ -4,14 +4,14 @@ using System.Linq;
using System.Text;
namespace FLocal.Common.URL.users.user {
public class Replies : Abstract {
public class Mentions : Abstract {
public Replies(string userId, string remainder) : base(userId, remainder) {
public Mentions(string userId, string remainder) : base(userId, remainder) {
}
protected override string _canonical {
get {
return "/Users/User/" + this.user.id + "/Replies/";
return "/Users/User/" + this.user.id + "/Mentions/";
}
}
}

@ -51,7 +51,7 @@ namespace FLocal.IISHandler {
{ typeof(URL.users.user.Info), CreateHandler<URL.users.user.Info, handlers.response.UserInfoHandler> },
{ typeof(URL.users.user.PollsParticipated), CreateHandler<URL.users.user.PollsParticipated, handlers.response.UserPollsParticipatedHandler> },
{ typeof(URL.users.user.Posts), CreateHandler<URL.users.user.Posts, handlers.response.UserPostsHandler> },
{ typeof(URL.users.user.Replies), CreateHandler<URL.users.user.Replies, handlers.response.UserRepliesHandler> },
{ typeof(URL.users.user.Mentions), CreateHandler<URL.users.user.Mentions, handlers.response.UserRepliesHandler> },
{ typeof(URL.users.user.Threads), CreateHandler<URL.users.user.Threads, handlers.response.UserThreadsHandler> },
};

@ -12,7 +12,7 @@ using Web.Core.DB.conditions;
namespace FLocal.IISHandler.handlers.response {
class UserRepliesHandler : AbstractUserGetHandler<FLocal.Common.URL.users.user.Replies> {
class UserRepliesHandler : AbstractUserGetHandler<FLocal.Common.URL.users.user.Mentions> {
override protected string templateName {
get {

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

@ -192,8 +192,8 @@
</a>
<xsl:text> | </xsl:text>
<a>
<xsl:attribute name="href">/Users/User/<xsl:value-of select="user/id"/>/Replies/</xsl:attribute>
<xsl:text>Îòâåòû</xsl:text>
<xsl:attribute name="href">/Users/User/<xsl:value-of select="user/id"/>/Mentions/</xsl:attribute>
<xsl:text>Îòêëèêè</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a>

@ -209,8 +209,8 @@
</a>
<xsl:text> | </xsl:text>
<a>
<xsl:attribute name="href">/Users/User/<xsl:value-of select="user/id"/>/Replies/</xsl:attribute>
<xsl:text>Îòâåòû</xsl:text>
<xsl:attribute name="href">/Users/User/<xsl:value-of select="user/id"/>/Mentions/</xsl:attribute>
<xsl:text>Îòêëèêè</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a>

@ -53,7 +53,7 @@
<xsl:text>. </xsl:text>
<a>
<xsl:if test="session/user">
<xsl:attribute name="href">/Users/User/<xsl:value-of select="session/user/id"/>/Replies/</xsl:attribute>
<xsl:attribute name="href">/Users/User/<xsl:value-of select="session/user/id"/>/Mentions/</xsl:attribute>
</xsl:if>
<xsl:call-template name="Messages_LastReplies"/>
</a>

@ -17,8 +17,8 @@
<xsl:with-param name="text">Ñîîáùåíèÿ</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/User/<xsl:value-of select="session/user/id"/>/Replies/</xsl:with-param>
<xsl:with-param name="text">Îòâåòû</xsl:with-param>
<xsl:with-param name="url">/Users/User/<xsl:value-of select="session/user/id"/>/Mentions/</xsl:with-param>
<xsl:with-param name="text">Îòêëèêè</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>

@ -17,8 +17,8 @@
<xsl:with-param name="text">Ñîîáùåíèÿ</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Replies/</xsl:with-param>
<xsl:with-param name="text">Îòâåòû</xsl:with-param>
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Mentions/</xsl:with-param>
<xsl:with-param name="text">Îòêëèêè</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="headerLink">
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>PollsParticipated/</xsl:with-param>

Loading…
Cancel
Save