-
-
+
+
@@ -83,11 +83,11 @@
<%: commentEntry.Comment.CommentText.Length > 23 ? commentEntry.Comment.CommentText.Substring(0, 24) : commentEntry.Comment.CommentText %><%: T(" ...") %>
<% } %>
- <%=Html.DateTime(commentEntry.Comment.CommentDateUtc.GetValueOrDefault()) %>
+ <%: Html.DateTime(commentEntry.Comment.CommentDateUtc.GetValueOrDefault()) %>
- " class="ibutton edit" title="<%: T("Edit Comment")%>"><%: T("Edit Comment")%>
+ " class="ibutton edit" title="<%: T("Edit Comment")%>"><%: T("Edit Comment")%>
<%-- a form in a form doesn't quite work <% using (Html.BeginFormAntiForgeryPost(Url.Action("Delete", new {id = commentEntry.Comment.Id, redirectToAction = "Details"}), FormMethod.Post, new { @class = "inline" })) { %>
diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.aspx b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.aspx
index 689fe4eba..f957a2e38 100644
--- a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.aspx
+++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.aspx
@@ -6,22 +6,22 @@
<%: Html.ValidationSummary() %>
<%: T("Actions:") %>
-
+
<%: Html.SelectOption(Model.Options.BulkAction, CommentIndexBulkAction.None, T("Choose action...").ToString()) %>
- <%: Html.SelectOption(Model.Options.BulkAction, CommentIndexBulkAction.Approve, T("Approve")) %>
- <%: Html.SelectOption(Model.Options.BulkAction, CommentIndexBulkAction.Pend, T("Pend")) %>
- <%: Html.SelectOption(Model.Options.BulkAction, CommentIndexBulkAction.MarkAsSpam, T("Mark as Spam")) %>
- <%: Html.SelectOption(Model.Options.BulkAction, CommentIndexBulkAction.Delete, T("Remove"))%>
+ <%: Html.SelectOption(Model.Options.BulkAction, CommentIndexBulkAction.Approve, T("Approve").ToString()) %>
+ <%: Html.SelectOption(Model.Options.BulkAction, CommentIndexBulkAction.Pend, T("Pend").ToString())%>
+ <%: Html.SelectOption(Model.Options.BulkAction, CommentIndexBulkAction.MarkAsSpam, T("Mark as Spam").ToString())%>
+ <%: Html.SelectOption(Model.Options.BulkAction, CommentIndexBulkAction.Delete, T("Remove").ToString())%>
" />
<%: T("Filter:")%>
-
- <%: Html.SelectOption(Model.Options.Filter, CommentIndexFilter.All, T("All Comments")) %>
- <%: Html.SelectOption(Model.Options.Filter, CommentIndexFilter.Approved, T("Approved Comments")) %>
- <%: Html.SelectOption(Model.Options.Filter, CommentIndexFilter.Pending, T("Pending Comments")) %>
- <%: Html.SelectOption(Model.Options.Filter, CommentIndexFilter.Spam, T("Spam"))%>
+
+ <%: Html.SelectOption(Model.Options.Filter, CommentIndexFilter.All, T("All Comments").ToString())%>
+ <%: Html.SelectOption(Model.Options.Filter, CommentIndexFilter.Approved, T("Approved Comments").ToString())%>
+ <%: Html.SelectOption(Model.Options.Filter, CommentIndexFilter.Pending, T("Pending Comments").ToString())%>
+ <%: Html.SelectOption(Model.Options.Filter, CommentIndexFilter.Spam, T("Spam").ToString())%>
"/>
@@ -54,8 +54,8 @@
%>
-
-
+
+
<% if (commentEntry.Comment.Status == CommentStatus.Spam) { %><%: T("Spam") %><% }
else if (commentEntry.Comment.Status == CommentStatus.Pending) { %><%: T("Pending") %><% }
@@ -67,12 +67,12 @@
<%: commentEntry.Comment.CommentText.Length > 23 ? commentEntry.Comment.CommentText.Substring(0, 24) : commentEntry.Comment.CommentText %><%: T(" ...") %>
<% } %>
- <%=Html.DateTime(commentEntry.Comment.CommentDateUtc.GetValueOrDefault()) %>
+ <%: Html.DateTime(commentEntry.Comment.CommentDateUtc.GetValueOrDefault()) %>
<%: Html.ActionLink(commentEntry.CommentedOn, "Details", new { id = commentEntry.Comment.CommentedOn }) %>
- " title="<%: T("Edit")%>"><%: T("Edit")%>
+ " title="<%: T("Edit")%>"><%: T("Edit")%>
<%-- a form in a form doesn't quite work <% using (Html.BeginFormAntiForgeryPost(Url.Action("Delete", new {id = commentEntry.Comment.Id, redirectToAction = "Details"}), FormMethod.Post, new { @class = "inline" })) { %>
diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.CountAdmin.ascx b/src/Orchard.Web/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.CountAdmin.ascx
index 5ef625dcb..9460a4782 100644
--- a/src/Orchard.Web/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.CountAdmin.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.CountAdmin.ascx
@@ -1,4 +1,4 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl" %>
<%@ Import Namespace="Orchard.Comments.Extensions"%>
<%@ Import Namespace="Orchard.Comments.ViewModels"%>
-
+
diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx b/src/Orchard.Web/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx
index f991fc8f5..8a50ccd48 100644
--- a/src/Orchard.Web/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx
@@ -16,7 +16,7 @@ if (Model.CommentsActive == false) {
}
else if(!Request.IsAuthenticated && !AuthorizedFor(Permissions.AddComment)) { %>
-<%=T("You must {0} to comment.", Html.ActionLink(T("log on").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = string.Format("{0}#addacomment", Context.Request.RawUrl) }))%>
<%
+<%: T("You must {0} to comment.", Html.ActionLink(T("log on").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = string.Format("{0}#addacomment", Context.Request.RawUrl) }))%>
<%
}
else { %>
<% using (Html.BeginForm("Create", "Comment", new { area = "Orchard.Comments" }, FormMethod.Post, new { @class = "comment" })) { %>
@@ -46,7 +46,7 @@ else { %>
}%>
- <% if (Request.IsAuthenticated) { %><%=T("Hi, {0}!", Html.Encode(Page.User.Identity.Name)) %> <% } %><%: T("Comment") %>
+ <% if (Request.IsAuthenticated) { %><%: T("Hi, {0}!", Html.Encode(Page.User.Identity.Name)) %> <% } %><%: T("Comment") %>
diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.HasComments.ascx b/src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.HasComments.ascx
index 366aece1a..3480a651f 100644
--- a/src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.HasComments.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.HasComments.ascx
@@ -4,14 +4,14 @@
<%@ Import Namespace="Orchard.Comments.Models" %>
<%-- todo: (heskew) pull the legend and put the link to the comments elsewhere? --%>
- <%: T("Comments")%><% if (Model.Comments.Count > 0) { %> <%=Html.CommentSummaryLinks(T, Model.ContentItem, Model.Comments.Count, Model.PendingComments.Count)%> <% } %>
+ <%: T("Comments")%><% if (Model.Comments.Count > 0) { %> <%: Html.CommentSummaryLinks(T, Model.ContentItem, Model.Comments.Count, Model.PendingComments.Count)%> <% } %>
<%--
todo: (heskew) can get into a weird state if this is disabled but comments are active so, yeah, comment settings on a content item need to be hashed out
<%: Html.EditorFor(m => m.CommentsShown) %>
- <%=T("Comments are shown. Existing comments are displayed.") %>
+ <%: T("Comments are shown. Existing comments are displayed.") %>
--%>
<%: Html.EditorFor(m => m.CommentsActive) %>
- <%=T("Allow new comments") %>
- <%=T("Enable to show the comment form. Disabling still allows the existing comments to be shown but does not allow the conversation to continue.")%>
+ <%: T("Allow new comments") %>
+ <%: T("Enable to show the comment form. Disabling still allows the existing comments to be shown but does not allow the conversation to continue.")%>
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/ListOfComments.ascx b/src/Orchard.Web/Modules/Orchard.Comments/Views/ListOfComments.ascx
index 7e93f370e..807ca2925 100644
--- a/src/Orchard.Web/Modules/Orchard.Comments/Views/ListOfComments.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/ListOfComments.ascx
@@ -6,7 +6,7 @@ foreach (var comment in Model) { %>
<%-- todo: (heskew) comment text needs processing depending on comment markup style --%>
diff --git a/src/Orchard.Web/Modules/Orchard.DevTools/Views/Content/Details.aspx b/src/Orchard.Web/Modules/Orchard.DevTools/Views/Content/Details.aspx
index 2d1da670f..1a0afea24 100644
--- a/src/Orchard.Web/Modules/Orchard.DevTools/Views/Content/Details.aspx
+++ b/src/Orchard.Web/Modules/Orchard.DevTools/Views/Content/Details.aspx
@@ -12,9 +12,9 @@
<%: T("ContentType:")%>
<%=Model.Item.ContentItem.ContentType %>
<%: T("DisplayText:")%>
- <%=Html.ItemDisplayText(Model.Item) %>
+ <%: Html.ItemDisplayText(Model.Item) %>
<%: T("Links:")%>
- <%=Html.ItemDisplayLink(T("view").ToString(), Model.Item) %> <%=Html.ItemEditLink(T("edit").ToString(), Model.Item) %>
+ <%: Html.ItemDisplayLink(T("view").ToString(), Model.Item) %> <%: Html.ItemEditLink(T("edit").ToString(), Model.Item) %>
<%: T("Content Item Parts")%>
diff --git a/src/Orchard.Web/Modules/Orchard.DevTools/Views/Content/Index.aspx b/src/Orchard.Web/Modules/Orchard.DevTools/Views/Content/Index.aspx
index 7fce3220f..bf06d24a7 100644
--- a/src/Orchard.Web/Modules/Orchard.DevTools/Views/Content/Index.aspx
+++ b/src/Orchard.Web/Modules/Orchard.DevTools/Views/Content/Index.aspx
@@ -12,8 +12,8 @@
<%foreach(var item in Model.Items.OrderBy(x=>x.Id)){%>
<%: Html.ActionLink(T("{0}: {1}", item.Id, item.ContentType).ToString(), "details", "content", new{item.Id},new{}) %>
- <%=Html.ItemDisplayLink(T("view").ToString(), item) %>
- <%=Html.ItemEditLink(T("edit").ToString(), item) %>
+ <%: Html.ItemDisplayLink(T("view").ToString(), item) %>
+ <%: Html.ItemEditLink(T("edit").ToString(), item) %>
<%}%>
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/Add.aspx b/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/Add.aspx
index 483046d6e..5acd5bee4 100644
--- a/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/Add.aspx
+++ b/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/Add.aspx
@@ -18,7 +18,7 @@
<% using (Html.BeginForm("Add", "Admin", FormMethod.Post, new { enctype = "multipart/form-data" })) { %>
<%: Html.ValidationSummary() %>
- <%=T("File Path - multiple files must be in a zipped folder ")%>
+ <%: T("File Path - multiple files must be in a zipped folder ")%>
" size="64"/>
<%: T("After your files have been uploaded, you can edit the titles and descriptions.")%>
diff --git a/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/EditMedia.aspx b/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/EditMedia.aspx
index ac6692b75..beabd31c2 100644
--- a/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/EditMedia.aspx
+++ b/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/EditMedia.aspx
@@ -24,11 +24,11 @@ Html.RegisterStyle("admin.css"); %>
<%-- todo: make these real (including markup) --%>
- <%=T("Dimensions: 500 x 375 pixels ")%>
+ <%: T("Dimensions: 500 x 375 pixels ")%>
- <%=T("Size: {0} ", Model.Size)%>
+ <%: T("Size: {0} ", Model.Size)%>
- <%=T("Added on: {0} by Orchard User ", Model.LastUpdated)%>
+ <%: T("Added on: {0} by Orchard User ", Model.LastUpdated)%>
<%: T("Embed:")%>
@@ -61,9 +61,9 @@ Html.RegisterStyle("admin.css"); %>
" class="previewImage" alt="<%: Model.Caption %>" />
<%-- todo: make these real (including markup)
- <%=T("Dimensions: 500 x 375 pixels ")%>
- <%=T("Size: {0} ", Model.Size)%>
- <%=T("Added on: {0} by Orchard User ", Model.LastUpdated)%>
+ <%: T("Dimensions: 500 x 375 pixels ")%>
+ <%: T("Size: {0} ", Model.Size)%>
+ <%: T("Added on: {0} by Orchard User ", Model.LastUpdated)%>
<%: T("Embed:")%>
", ResolveUrl("~/Media/" + Model.RelativePath + "/" + Model.Name), 500, 375, Model.Caption) %>" />
diff --git a/src/Orchard.Web/Modules/Orchard.MetaData/Views/Admin/ContentTypeList.ascx b/src/Orchard.Web/Modules/Orchard.MetaData/Views/Admin/ContentTypeList.ascx
index f1a53e532..e82bf6ae3 100644
--- a/src/Orchard.Web/Modules/Orchard.MetaData/Views/Admin/ContentTypeList.ascx
+++ b/src/Orchard.Web/Modules/Orchard.MetaData/Views/Admin/ContentTypeList.ascx
@@ -25,7 +25,7 @@
%>
- <%= Html.ActionLink(item.Name, "ContentTypeList", new {id=item.Name})%>
+ <%: Html.ActionLink(item.Name, "ContentTypeList", new {id=item.Name})%>
@@ -60,7 +60,7 @@ using (Html.BeginFormAntiForgeryPost(Url.Action("Save",new {id=Model.SelectedCon
" type="checkbox" /><%}%>
- <%= Html.Encode(item.Name)%>
+ <%: item.Name%>
diff --git a/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Features.ascx b/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Features.ascx
index bf4b9d41d..191997e39 100644
--- a/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Features.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Features.ascx
@@ -33,7 +33,7 @@
featureClassName += " first";
if (feature == features.Last())
featureClassName += " last"; %>
- ">
+ ">
<%:feature.Descriptor.Name %>
diff --git a/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Index.ascx b/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Index.ascx
index 2c700a65a..f8ecde915 100644
--- a/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Index.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Index.ascx
@@ -15,7 +15,7 @@
<%: module.Description %>
<%
} %>
- <%=T("Features: {0}", string.Join(", ", module.Features.Select(f => Html.Link(f.Name, string.Format("{0}#{1}", Url.Action("features", new { area = "Orchard.Modules" }), f.Name.AsFeatureId(n => T(n)))).ToString()).OrderBy(s => s).ToArray())) %>
+ <%: T("Features: {0}", string.Join(", ", module.Features.Select(f => Html.Link(f.Name, string.Format("{0}#{1}", Url.Action("features", new { area = "Orchard.Modules" }), f.Name.AsFeatureId(n => T(n)))).ToString()).OrderBy(s => s).ToArray())) %>
| <%: T("Author: {0}", !string.IsNullOrEmpty(module.Author) ? module.Author : (new []{"Bradley", "Bertrand", "Renaud", "Suha", "Sebastien", "Jon", "Nathan", "Erik"})[(module.DisplayName.Length + (new Random()).Next()) % 7]) %> <%-- very efficient, I know --%>
| <%: T("Website: {0}", !string.IsNullOrEmpty(module.HomePage) ? module.HomePage : T("http://orchardproject.net ").ToString())%>
diff --git a/src/Orchard.Web/Modules/Orchard.Pages/Views/Admin/List.aspx b/src/Orchard.Web/Modules/Orchard.Pages/Views/Admin/List.aspx
index 56a306e3e..bf98ae930 100644
--- a/src/Orchard.Web/Modules/Orchard.Pages/Views/Admin/List.aspx
+++ b/src/Orchard.Web/Modules/Orchard.Pages/Views/Admin/List.aspx
@@ -5,27 +5,27 @@
<%@ Import Namespace="Orchard.Pages.ViewModels"%><%
Html.RegisterStyle("admin.css"); %>
-
<%=Html.TitleForPage(T("Manage Pages").ToString())%>
+
<%: Html.TitleForPage(T("Manage Pages").ToString())%>
<%-- todo: Add helper text here when ready.
<%: T("Possible text about setting up a page goes here.")%>
--%>
<%: Html.ActionLink(T("Add a page").ToString(), "Create", new { }, new { @class = "button primaryAction" })%>
<%
using (Html.BeginFormAntiForgeryPost()) { %>
<%: Html.ValidationSummary()%>
<%: T("Actions:")%>
-
- <%: Html.SelectOption(Model.Options.BulkAction, PagesBulkAction.None, T("Choose action..."))%>
- <%: Html.SelectOption(Model.Options.BulkAction, PagesBulkAction.PublishNow, T("Publish Now"))%>
- <%: Html.SelectOption(Model.Options.BulkAction, PagesBulkAction.Unpublish, T("Unpublish"))%>
- <%: Html.SelectOption(Model.Options.BulkAction, PagesBulkAction.Delete, T("Remove"))%>
+
+ <%: Html.SelectOption(Model.Options.BulkAction, PagesBulkAction.None, T("Choose action...").ToString())%>
+ <%: Html.SelectOption(Model.Options.BulkAction, PagesBulkAction.PublishNow, T("Publish Now").ToString())%>
+ <%: Html.SelectOption(Model.Options.BulkAction, PagesBulkAction.Unpublish, T("Unpublish").ToString())%>
+ <%: Html.SelectOption(Model.Options.BulkAction, PagesBulkAction.Delete, T("Remove").ToString())%>
" />
<%: T("Filter:")%>
-
- <%: Html.SelectOption(Model.Options.Filter, PagesFilter.All, T("All Pages"))%>
- <%: Html.SelectOption(Model.Options.Filter, PagesFilter.Published, T("Published Pages"))%>
- <%: Html.SelectOption(Model.Options.Filter, PagesFilter.Offline, T("Offline Pages"))%>
+
+ <%: Html.SelectOption(Model.Options.Filter, PagesFilter.All, T("All Pages").ToString())%>
+ <%: Html.SelectOption(Model.Options.Filter, PagesFilter.Published, T("Published Pages").ToString())%>
+ <%: Html.SelectOption(Model.Options.Filter, PagesFilter.Offline, T("Offline Pages").ToString())%>
"/>
@@ -37,8 +37,8 @@ using (Html.BeginFormAntiForgeryPost()) { %>
-
-
+
+
<%: Html.ActionLink(pageEntry.Page.Title, "Edit", new { id = pageEntry.PageId })%>
<%
@@ -62,7 +62,7 @@ using (Html.BeginFormAntiForgeryPost()) { %>
<%
if (pageEntry.Page.ScheduledPublishUtc.HasValue && pageEntry.Page.ScheduledPublishUtc.Value > DateTime.UtcNow) { %>
" alt="<%: T("Scheduled") %>" title="<%: T("The page is scheduled for publishing") %>" /><%: T("Scheduled")%>
- <%=Html.DateTime(pageEntry.Page.ScheduledPublishUtc.Value, "M/d/yyyy h:mm tt")%><%
+ <%: Html.DateTime(pageEntry.Page.ScheduledPublishUtc.Value, "M/d/yyyy h:mm tt")%><%
}
else if (pageEntry.Page.IsPublished) { %>
<%: T("Published: {0}", Html.DateTimeRelative(pageEntry.Page.As().VersionPublishedUtc.Value, T)) %><%
@@ -78,15 +78,15 @@ using (Html.BeginFormAntiForgeryPost()) { %>
if (pageEntry.Page.HasPublished) { %>
<%: Html.ActionLink("View", "Item", new { controller = "Page", slug = pageEntry.Page.PublishedSlug }, new {title = T("View Page")})%><%: T(" | ")%><%
if (pageEntry.Page.HasDraft) { %>
- " title="<%: T("Publish Draft")%>"><%: T("Publish Draft")%> <%: T(" | ")%><%
+ " title="<%: T("Publish Draft")%>"><%: T("Publish Draft")%> <%: T(" | ")%><%
} %>
- " title="<%: T("Unpublish Page")%>"><%: T("Unpublish")%> <%: T(" | ")%><%
+ " title="<%: T("Unpublish Page")%>"><%: T("Unpublish")%> <%: T(" | ")%><%
}
else { %>
- " title="<%: T("Publish Page")%>"><%: T("Publish")%> <%: T(" | ")%><%
+ " title="<%: T("Publish Page")%>"><%: T("Publish")%> <%: T(" | ")%><%
} %>
- <%: Html.ActionLink(T("Edit"), "Edit", new {id = pageEntry.Page.Id}, new {title = T("Edit Page")})%><%: T(" | ")%>
- " title="<%: T("Remove Page")%>"><%: T("Remove")%>
+ <%: Html.ActionLink(T("Edit").ToString(), "Edit", new { id = pageEntry.Page.Id }, new { title = T("Edit Page").ToString() })%><%: T(" | ")%>
+ " title="<%: T("Remove Page")%>"><%: T("Remove")%>
diff --git a/src/Orchard.Web/Modules/Orchard.Pages/Views/DisplayTemplates/Items/Pages.Page.Summary.ascx b/src/Orchard.Web/Modules/Orchard.Pages/Views/DisplayTemplates/Items/Pages.Page.Summary.ascx
index 0cc265efb..502fa2fa4 100644
--- a/src/Orchard.Web/Modules/Orchard.Pages/Views/DisplayTemplates/Items/Pages.Page.Summary.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Pages/Views/DisplayTemplates/Items/Pages.Page.Summary.ascx
@@ -3,7 +3,7 @@
<%@ Import Namespace="Orchard.ContentManagement"%>
<%@ Import Namespace="Orchard.Core.Common.Models"%>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
-
+
<% Html.Zone("primary", ":manage :metadata"); %>
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Pages/Views/EditorTemplates/Items/Pages.Page.ascx b/src/Orchard.Web/Modules/Orchard.Pages/Views/EditorTemplates/Items/Pages.Page.ascx
index 7bb793594..b1f9c64b3 100644
--- a/src/Orchard.Web/Modules/Orchard.Pages/Views/EditorTemplates/Items/Pages.Page.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Pages/Views/EditorTemplates/Items/Pages.Page.ascx
@@ -13,7 +13,7 @@
"/><%
//TODO: (erikpo) In the future, remove the HasPublished check so the user can delete the content item from here if the choose to
if (Model.Item.HasDraft && Model.Item.HasPublished) { %>
- <%=Html.AntiForgeryTokenValueOrchardLink(T("Discard Draft").ToString(), Url.Action("DiscardDraft", new {Area = "Orchard.Pages", Controller = "Admin", id = Model.Item.Id}), new {@class = "button"})%><%
+ <%: Html.AntiForgeryTokenValueOrchardLink(T("Discard Draft").ToString(), Url.Action("DiscardDraft", new {Area = "Orchard.Pages", Controller = "Admin", id = Model.Item.Id}), new {@class = "button"})%><%
} %>
diff --git a/src/Orchard.Web/Modules/Orchard.Sandbox/Views/DisplayTemplates/Items/Sandbox.Page.ascx b/src/Orchard.Web/Modules/Orchard.Sandbox/Views/DisplayTemplates/Items/Sandbox.Page.ascx
index 5e7a09ce1..6683a7fc9 100644
--- a/src/Orchard.Web/Modules/Orchard.Sandbox/Views/DisplayTemplates/Items/Sandbox.Page.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Sandbox/Views/DisplayTemplates/Items/Sandbox.Page.ascx
@@ -8,7 +8,7 @@
<% Html.Zone("metatop"); %>
- <%=Html.ItemEditLink(T("Edit this page").ToString(), Model.Item) %>
+ <%: Html.ItemEditLink(T("Edit this page").ToString(), Model.Item) %>
<%: Html.ActionLink(T("Return to list").ToString(), "index") %>
<% Html.Zone("actions"); %>
diff --git a/src/Orchard.Web/Modules/Orchard.Sandbox/Views/DisplayTemplates/Parts/Sandbox.Page.Title.ascx b/src/Orchard.Web/Modules/Orchard.Sandbox/Views/DisplayTemplates/Parts/Sandbox.Page.Title.ascx
index df84c03ff..87b976b48 100644
--- a/src/Orchard.Web/Modules/Orchard.Sandbox/Views/DisplayTemplates/Parts/Sandbox.Page.Title.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Sandbox/Views/DisplayTemplates/Parts/Sandbox.Page.Title.ascx
@@ -1,3 +1,3 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="Orchard.ContentManagement"%>
-<%=Html.ItemDisplayLink(Model) %>
\ No newline at end of file
+<%: Html.ItemDisplayLink(Model) %>
diff --git a/src/Orchard.Web/Modules/Orchard.Search/Views/Admin/Index.ascx b/src/Orchard.Web/Modules/Orchard.Search/Views/Admin/Index.ascx
index e7202166b..85a9b9950 100644
--- a/src/Orchard.Web/Modules/Orchard.Search/Views/Admin/Index.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Search/Views/Admin/Index.ascx
@@ -1,16 +1,16 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl" %>
<%@ Import Namespace="Orchard.Mvc.Html" %><%
Html.RegisterStyle("admin.css"); %>
-<%=Html.TitleForPage(T("Search Index Management").ToString()) %> <%
+<%: Html.TitleForPage(T("Search Index Management").ToString()) %> <%
using (Html.BeginForm("update", "admin", FormMethod.Post, new {area = "Orchard.Search"})) { %>
- <%=T("The search index was last updated {0}. Update ", Html.DateTimeRelative(Model.IndexUpdatedUtc, T))%>
- <%=Html.AntiForgeryTokenOrchard() %>
+ <%: T("The search index was last updated {0}. Update ", Html.DateTimeRelative(Model.IndexUpdatedUtc, T))%>
+ <%: Html.AntiForgeryTokenOrchard() %>
<%
}
using (Html.BeginForm("rebuild", "admin", FormMethod.Post, new {area = "Orchard.Search"})) { %>
- <%=T("Rebuild the search index for a fresh start. Rebuild ") %>
- <%=Html.AntiForgeryTokenOrchard() %>
+ <%: T("Rebuild the search index for a fresh start. Rebuild ") %>
+ <%: Html.AntiForgeryTokenOrchard() %>
<%
} %>
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Search/Views/Search/Index.ascx b/src/Orchard.Web/Modules/Orchard.Search/Views/Search/Index.ascx
index 09e0fa0c3..bd0456e22 100644
--- a/src/Orchard.Web/Modules/Orchard.Search/Views/Search/Index.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Search/Views/Search/Index.ascx
@@ -1,17 +1,17 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl" %>
<%@ Import Namespace="Orchard.Mvc.Html" %><%
Html.RegisterStyle("search.css"); %>
-<%=Html.TitleForPage(T("Search").Text)%> <%
+<%: Html.TitleForPage(T("Search").Text)%> <%
Html.Zone("search");
if (!string.IsNullOrWhiteSpace(Model.Query)) {
if (Model.PageOfResults.Count() == 0) { %>
- <%=T("zero results") %>
<%
+ <%: T("zero results") %>
<%
}
else { %>
- <%=T("{0} - {1} of {2} results", Model.PageOfResults.StartPosition, Model.PageOfResults.EndPosition, Model.PageOfResults.TotalItemCount)%>
<%
+ <%: T("{0} - {1} of {2} results", Model.PageOfResults.StartPosition, Model.PageOfResults.EndPosition, Model.PageOfResults.TotalItemCount)%>
<%
}
}
if (Model.PageOfResults != null && Model.PageOfResults.Count() > 0) { %>
<%: Html.UnorderedList(Model.PageOfResults, (r, i) => Html.DisplayForItem(r.Content).ToHtmlString() , "search-results contentItems") %>
-<%=Html.Pager(Model.PageOfResults, Model.PageOfResults.PageNumber, Model.DefaultPageSize, new {q = Model.Query}) %><%
+<%: Html.Pager(Model.PageOfResults, Model.PageOfResults.PageNumber, Model.DefaultPageSize, new {q = Model.Query}) %><%
} %>
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Search/Views/SearchForm.ascx b/src/Orchard.Web/Modules/Orchard.Search/Views/SearchForm.ascx
index b1df13ea6..8c66dc2ec 100644
--- a/src/Orchard.Web/Modules/Orchard.Search/Views/SearchForm.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Search/Views/SearchForm.ascx
@@ -2,7 +2,7 @@
<%@ Import Namespace="Orchard.Search.ViewModels" %><%
using(Html.BeginForm("index", "search", new { area = "Orchard.Search" }, FormMethod.Get, new { @class = "search" })) { %>
- <%=Html.TextBox("q", Model.Query) %>
- <%=T("Search") %>
+ <%: Html.TextBox("q", Model.Query) %>
+ <%: T("Search") %>
<%
} %>
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Setup/Views/Setup/Index.ascx b/src/Orchard.Web/Modules/Orchard.Setup/Views/Setup/Index.ascx
index 941f95942..7db91a3c0 100644
--- a/src/Orchard.Web/Modules/Orchard.Setup/Views/Setup/Index.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Setup/Views/Setup/Index.ascx
@@ -1,6 +1,6 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl" %>
<%@ Import Namespace="Orchard.Setup.ViewModels"%>
-<%: Html.TitleForPage(T("Get Started"))%>
+<%: Html.TitleForPage(T("Get Started").ToString())%>
<%
using (Html.BeginFormAntiForgeryPost()) { %>
<%: Html.ValidationSummary() %>
diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Index.aspx b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Index.aspx
index 855e7a634..9a8101ce4 100644
--- a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Index.aspx
+++ b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Index.aspx
@@ -5,9 +5,9 @@
<%: Html.ValidationSummary() %>
<%: T("Actions:") %>
-
- <%: Html.SelectOption(Model.BulkAction, TagAdminIndexBulkAction.None, T("Choose action..."))%>
- <%: Html.SelectOption(Model.BulkAction, TagAdminIndexBulkAction.Delete, T("Remove"))%>
+
+ <%: Html.SelectOption(Model.BulkAction, TagAdminIndexBulkAction.None, T("Choose action...").ToString())%>
+ <%: Html.SelectOption(Model.BulkAction, TagAdminIndexBulkAction.Delete, T("Remove").ToString())%>
" />
@@ -33,8 +33,8 @@
%>
-
-
+
+
<%: Html.ActionLink(Html.Encode(tagEntry.Tag.TagName), "Search", new {id = tagEntry.Tag.Id}) %>
diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Search.aspx b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Search.aspx
index a63547db3..f41688f50 100644
--- a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Search.aspx
+++ b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Search.aspx
@@ -15,8 +15,8 @@
<% foreach (var contentItem in Model.Contents) { %>
- <%=Html.ItemDisplayText(contentItem) %>
- <%=Html.ItemDisplayLink(contentItem) %>
+ <%: Html.ItemDisplayText(contentItem) %>
+ <%: Html.ItemDisplayLink(contentItem) %>
<% } %>
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Views/Home/Search.ascx b/src/Orchard.Web/Modules/Orchard.Tags/Views/Home/Search.ascx
index 5aea18f3c..69322cdc9 100644
--- a/src/Orchard.Web/Modules/Orchard.Tags/Views/Home/Search.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Tags/Views/Home/Search.ascx
@@ -1,5 +1,5 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl" %>
<%@ Import Namespace="Orchard.Tags.ViewModels"%>
<% Html.AddTitleParts(T("Tags").ToString(), T("Contents tagged with {0}", Model.TagName).ToString()); %>
-<%=T("Contents tagged with {0} ", Html.Encode(Model.TagName)) %>
+<%: T("Contents tagged with {0} ", Html.Encode(Model.TagName)) %>
<%: Html.UnorderedList(Model.Items, (c, i) => Html.DisplayForItem(c).ToHtmlString(), "taggedPosts contentItems") %>
diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx
index acf81f455..d380f6256 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx
@@ -9,7 +9,7 @@
} else {
%><%: T("Current Theme")%> - <%: Model.CurrentTheme.DisplayName %>
- <%=Html.Image(Html.ThemePath(Model.CurrentTheme, "/Theme.png"), Html.Encode(Model.CurrentTheme.DisplayName), new { @class = "themePreviewImage" })%>
+ <%: Html.Image(Html.ThemePath(Model.CurrentTheme, "/Theme.png"), Html.Encode(Model.CurrentTheme.DisplayName), new { @class = "themePreviewImage" })%>
<%: T("By") %> <%: Model.CurrentTheme.Author %>
@@ -27,7 +27,7 @@
%>
<%: theme.DisplayName %>
- <%=Html.Image(Html.ThemePath(theme, "/Theme.png"), Html.Encode(theme.DisplayName), null)%>
+ <%: Html.Image(Html.ThemePath(theme, "/Theme.png"), Html.Encode(theme.DisplayName), null)%>
<% using (Html.BeginFormAntiForgeryPost(Url.Action("Activate"), FormMethod.Post, new { @class = "inline" })) { %>
<%: Html.Hidden("themeName", theme.ThemeName)%>
"><%: T("Activate") %>
diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx
index 5fc3ae8e3..dcbe48351 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx
@@ -58,9 +58,9 @@ html.dyn #themepreview button.preview { display:none; }
<% using(Html.BeginFormAntiForgeryPost(Url.Action("Preview", new{Controller="Admin", Area="Orchard.Themes"}), FormMethod.Post, new { @class = "inline" })) { %>
- <%=T("You are previewing: ")%>
+ <%: T("You are previewing: ")%>
<%: Html.Hidden("ReturnUrl", Context.Request.RawUrl)%>
- <%=Html.DropDownList("ThemeName", Model.Themes, new {onChange = "this.form.submit();"})%>
+ <%: Html.DropDownList("ThemeName", Model.Themes, new {onChange = "this.form.submit();"})%>
" name="submit.Preview" value="<%: T("Preview")%>"><%: T("Preview")%>
" name="submit.Apply" value="<%: T("Apply")%>"><%: T("Apply this theme") %>
" name="submit.Cancel" value="<%: T("Cancel")%>"><%: T("Cancel")%>
diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/User.ascx b/src/Orchard.Web/Modules/Orchard.Themes/Views/User.ascx
index 47cdceaa0..ef473bf37 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Views/User.ascx
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/User.ascx
@@ -2,7 +2,7 @@
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<% if (Request.IsAuthenticated) { %>
- <%= T("Welcome,
{0} !", Page.User.Identity.Name) %>
+ <%: T("Welcome,
{0} !", Page.User.Identity.Name) %>
<%: Html.ActionLink(T("Log Off").ToString(), "LogOff", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = Context.Request.RawUrl })%>
| <%: Html.ActionLink("Admin", "Index", new {Area = "Dashboard", Controller = "Admin"})%>
<% } else { %>
diff --git a/src/Orchard.Web/Modules/TinyMce/Views/EditorTemplates/TinyMceTextEditor.ascx b/src/Orchard.Web/Modules/TinyMce/Views/EditorTemplates/TinyMceTextEditor.ascx
index ef9fc941a..b3280c449 100644
--- a/src/Orchard.Web/Modules/TinyMce/Views/EditorTemplates/TinyMceTextEditor.ascx
+++ b/src/Orchard.Web/Modules/TinyMce/Views/EditorTemplates/TinyMceTextEditor.ascx
@@ -1,7 +1,7 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl
" %>
<%@ Import Namespace="Orchard.Core.Common.ViewModels"%>
<% Html.RegisterScript("tiny_mce.js"); %>
-<%=Html.TextArea("Text", Model.Text, 25, 80, new { @class = "html" }) %><%
+<%: Html.TextArea("Text", Model.Text, 25, 80, new { @class = "html" }) %><%
using (this.Capture("end-of-page-scripts")) {%>
<%
}%>
\ No newline at end of file
diff --git a/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.Blog.Summary.ascx b/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.Blog.Summary.ascx
index 71a1a6030..cfa18d826 100644
--- a/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.Blog.Summary.ascx
+++ b/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.Blog.Summary.ascx
@@ -4,5 +4,5 @@
<%@ Import Namespace="Orchard.Blogs.Models"%>
<%: Html.Link(Model.Item.Name, Url.Blog(Model.Item.Slug)) %>
-
+
<%: Model.Item.Description %>
diff --git a/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.BlogPost.Summary.ascx b/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.BlogPost.Summary.ascx
index 8f5fa60d4..dc79bf381 100644
--- a/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.BlogPost.Summary.ascx
+++ b/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.BlogPost.Summary.ascx
@@ -4,7 +4,7 @@
<%@ Import Namespace="Orchard.Blogs.Models"%>
<%Model.Zones.AddRenderPartial("zonetest", "ZoneTest", Model); %>
<%: Html.Link(Model.Item.Title, Url.BlogPost(Model.Item)) %>
-<%=Html.PublishedState(Model.Item, T) %> | <%Html.Zone("meta");%>
+<%: Html.PublishedState(Model.Item, T) %> | <%Html.Zone("meta");%>
<% Html.Zone("primary"); %>
\ No newline at end of file
diff --git a/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.BlogPost.ascx b/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.BlogPost.ascx
index 0cf40e77e..e40fb3678 100644
--- a/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.BlogPost.ascx
+++ b/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.BlogPost.ascx
@@ -7,7 +7,7 @@
What I have in this template is as close as I can get at the moment. --%>
<%--
--%>
diff --git a/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.Blog.Summary.ascx b/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.Blog.Summary.ascx
index 71a1a6030..cfa18d826 100644
--- a/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.Blog.Summary.ascx
+++ b/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.Blog.Summary.ascx
@@ -4,5 +4,5 @@
<%@ Import Namespace="Orchard.Blogs.Models"%>
<%: Html.Link(Model.Item.Name, Url.Blog(Model.Item.Slug)) %>
-
+
<%: Model.Item.Description %>
diff --git a/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.BlogPost.Summary.ascx b/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.BlogPost.Summary.ascx
index 8f5fa60d4..dc79bf381 100644
--- a/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.BlogPost.Summary.ascx
+++ b/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.BlogPost.Summary.ascx
@@ -4,7 +4,7 @@
<%@ Import Namespace="Orchard.Blogs.Models"%>
<%Model.Zones.AddRenderPartial("zonetest", "ZoneTest", Model); %>
<%: Html.Link(Model.Item.Title, Url.BlogPost(Model.Item)) %>
-<%=Html.PublishedState(Model.Item, T) %> | <%Html.Zone("meta");%>
+<%: Html.PublishedState(Model.Item, T) %> | <%Html.Zone("meta");%>
<% Html.Zone("primary"); %>
\ No newline at end of file
diff --git a/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.BlogPost.ascx b/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.BlogPost.ascx
index 0cf40e77e..e40fb3678 100644
--- a/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.BlogPost.ascx
+++ b/src/Orchard.Web/Themes/ClassicDark/Views/DisplayTemplates/Items/Blogs.BlogPost.ascx
@@ -7,7 +7,7 @@
What I have in this template is as close as I can get at the moment. --%>
<%--
--%>
diff --git a/src/Orchard.Web/Themes/Contoso/Views/DisplayTemplates/Items/Blogs.BlogPost.ListByArchive.ascx b/src/Orchard.Web/Themes/Contoso/Views/DisplayTemplates/Items/Blogs.BlogPost.ListByArchive.ascx
index 1166d49d9..5f42b0f35 100644
--- a/src/Orchard.Web/Themes/Contoso/Views/DisplayTemplates/Items/Blogs.BlogPost.ListByArchive.ascx
+++ b/src/Orchard.Web/Themes/Contoso/Views/DisplayTemplates/Items/Blogs.BlogPost.ListByArchive.ascx
@@ -4,7 +4,7 @@
<%: Html.TitleForPage(T("Archives").ToString(), Model.ArchiveData.Year.ToString(), Model.ArchiveData.Month > 0 ? new DateTime(Model.ArchiveData.Year, Model.ArchiveData.Month, 1).ToString("MMMM") : null, Model.ArchiveData.Day > 0 ? Model.ArchiveData.Day.ToString() : null)%>
-<%=T("Archives").ToString()
+<%: T("Archives").ToString()
%> / <%: Html.Link(Model.ArchiveData.Year.ToString(), Url.BlogArchiveYear(Model.Blog.Slug, Model.ArchiveData.Year))
%><%=Model.ArchiveData.Month > 0 ? string.Format(" / {0}", Html.Link(Model.ArchiveData.ToDateTime().ToString("MMMM"), Url.BlogArchiveMonth(Model.Blog.Slug, Model.ArchiveData.Year, Model.ArchiveData.Month))) : ""
%><%=Model.ArchiveData.Day > 0 ? string.Format(" / {0}", Html.Link(Model.ArchiveData.Day.ToString(), Url.BlogArchiveDay(Model.Blog.Slug, Model.ArchiveData.Year, Model.ArchiveData.Month, Model.ArchiveData.Day))) : ""
diff --git a/src/Orchard.Web/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx b/src/Orchard.Web/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx
index 37a92c0c5..ad5ee5532 100644
--- a/src/Orchard.Web/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx
+++ b/src/Orchard.Web/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx
@@ -16,7 +16,7 @@ if (Model.CommentsActive == false) {
}
else if(!Request.IsAuthenticated && !AuthorizedFor(Permissions.AddComment)) { %>
-
<%=T("You must {0} to comment.", Html.ActionLink(T("log on").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = string.Format("{0}#addacomment", Context.Request.RawUrl) }))%>
<%
+
<%: T("You must {0} to comment.", Html.ActionLink(T("log on").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = string.Format("{0}#addacomment", Context.Request.RawUrl) }))%>
<%
}
else { %>
<% using (Html.BeginForm("Create", "Comment", new { area = "Orchard.Comments" }, FormMethod.Post, new { @class = "comment-form" })) { %>
@@ -46,7 +46,7 @@ else { %>
}%>
- <% if (Request.IsAuthenticated) { %><%=T("Hi, {0}!", Html.Encode(Page.User.Identity.Name)) %> <% } %><%: T("Comment") %>
+ <% if (Request.IsAuthenticated) { %><%: T("Hi, {0}!", Html.Encode(Page.User.Identity.Name)) %> <% } %><%: T("Comment") %>
diff --git a/src/Orchard.Web/Themes/Contoso/Views/Layout.HomePage.ascx b/src/Orchard.Web/Themes/Contoso/Views/Layout.HomePage.ascx
index 831aee24a..7fb52ea30 100644
--- a/src/Orchard.Web/Themes/Contoso/Views/Layout.HomePage.ascx
+++ b/src/Orchard.Web/Themes/Contoso/Views/Layout.HomePage.ascx
@@ -23,7 +23,7 @@
<%-- Init jQuery Slider --%>
-
+