mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Changed multiple usages of <%= to <%: where appropriate
--HG-- branch : dev
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<UsersIndexViewModel>" %>
|
||||
<%@ Import Namespace="Orchard.Users.ViewModels"%>
|
||||
<h1><%=Html.TitleForPage(T("Manage Users").ToString()) %></h1>
|
||||
<h1><%: Html.TitleForPage(T("Manage Users").ToString()) %></h1>
|
||||
<% using (Html.BeginFormAntiForgeryPost()) { %>
|
||||
<%=Html.ValidationSummary()%>
|
||||
<div class="manage"><%=Html.ActionLink(T("Add a new user").ToString(), "Create", new { }, new { @class = "button primaryAction" })%></div>
|
||||
<%: Html.ValidationSummary()%>
|
||||
<div class="manage"><%: Html.ActionLink(T("Add a new user").ToString(), "Create", new { }, new { @class = "button primaryAction" })%></div>
|
||||
<fieldset>
|
||||
<table class="items">
|
||||
<colgroup>
|
||||
@@ -13,9 +13,9 @@
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><%=_Encoded("Name")%></th>
|
||||
<th scope="col"><%=_Encoded("Email")%></th>
|
||||
<th scope="col"><%=_Encoded("") %></th>
|
||||
<th scope="col"><%: T("Name")%></th>
|
||||
<th scope="col"><%: T("Email")%></th>
|
||||
<th scope="col"><%: T("") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<% foreach (var row in Model.Rows)
|
||||
@@ -28,8 +28,8 @@
|
||||
<%: row.User.Email %>
|
||||
</td>
|
||||
<td>
|
||||
<%=Html.ActionLink(T("Edit").ToString(), "Edit", new { row.User.Id })%> |
|
||||
<%=Html.ActionLink(T("Remove").ToString(), "Delete", new { row.User.Id })%>
|
||||
<%: Html.ActionLink(T("Edit").ToString(), "Edit", new { row.User.Id })%> |
|
||||
<%: Html.ActionLink(T("Remove").ToString(), "Delete", new { row.User.Id })%>
|
||||
</td>
|
||||
</tr>
|
||||
<%}%>
|
||||
|
Reference in New Issue
Block a user