mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 18:27:55 +08:00
Fix localization issue from previous merge
--HG-- branch : dev
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Search.ViewModels.SearchViewModel>" %>
|
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Search.ViewModels.SearchViewModel>" %>
|
||||||
<%@ Import Namespace="Orchard.Mvc.Html" %><%
|
<%@ Import Namespace="Orchard.Mvc.Html" %><%
|
||||||
Html.RegisterStyle("search.css"); %>
|
Html.RegisterStyle("search.css"); %>
|
||||||
<h1><%=Html.TitleForPage(T("Search"))%></h1><%
|
<h1><%=Html.TitleForPage(T("Search").Text)%></h1><%
|
||||||
Html.Zone("search");
|
Html.Zone("search");
|
||||||
if (!string.IsNullOrWhiteSpace(Model.Query)) { %>
|
if (!string.IsNullOrWhiteSpace(Model.Query)) { %>
|
||||||
<p class="search-summary"><%=T("<em>{0}</em> results", Model.Results.Count()) %></p><%
|
<p class="search-summary"><%=T("<em>{0}</em> results", Model.Results.Count()) %></p><%
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<LogOnViewModel>" %>
|
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<LogOnViewModel>" %>
|
||||||
<%@ Import Namespace="Orchard.Users.ViewModels"%>
|
<%@ Import Namespace="Orchard.Users.ViewModels"%>
|
||||||
<h1><%=Html.TitleForPage(Model.Title)%></h1>
|
<h1><%=Html.TitleForPage(Model.Title)%></h1>
|
||||||
<p><%=_Encoded("Please enter your username and password.")%> <%= Html.ActionLink(T("Register"), "Register")%><%=_Encoded(" if you don't have an account.")%></p>
|
<p><%=_Encoded("Please enter your username and password.")%> <%= Html.ActionLink(T("Register").Text, "Register")%><%=_Encoded(" if you don't have an account.")%></p>
|
||||||
<%= Html.ValidationSummary(T("Login was unsuccessful. Please correct the errors and try again.").ToString())%>
|
<%= Html.ValidationSummary(T("Login was unsuccessful. Please correct the errors and try again.").ToString())%>
|
||||||
<%
|
<%
|
||||||
using (Html.BeginFormAntiForgeryPost(Url.Action("LogOn", new {ReturnUrl = Request.QueryString["ReturnUrl"]}))) { %>
|
using (Html.BeginFormAntiForgeryPost(Url.Action("LogOn", new {ReturnUrl = Request.QueryString["ReturnUrl"]}))) { %>
|
||||||
|
Reference in New Issue
Block a user