mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
More <%= to <%: cleanup.
--HG-- branch : dev
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
} else {
|
||||
%><h3><%: T("Current Theme")%> - <%: Model.CurrentTheme.DisplayName %></h3>
|
||||
|
||||
<%=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" })%>
|
||||
<h5><%: T("By") %> <%: Model.CurrentTheme.Author %></h5>
|
||||
|
||||
<p>
|
||||
@@ -27,7 +27,7 @@
|
||||
%> <li>
|
||||
<div>
|
||||
<h3><%: theme.DisplayName %></h3>
|
||||
<%=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)%>
|
||||
<button type="submit" title="<%: T("Activate") %>"><%: T("Activate") %></button>
|
||||
|
@@ -58,9 +58,9 @@ html.dyn #themepreview button.preview { display:none; }
|
||||
<div id="themepreview">
|
||||
<% using(Html.BeginFormAntiForgeryPost(Url.Action("Preview", new{Controller="Admin", Area="Orchard.Themes"}), FormMethod.Post, new { @class = "inline" })) { %>
|
||||
<fieldset>
|
||||
<span><%=T("You are previewing: ")%></span>
|
||||
<span><%: T("You are previewing: ")%></span>
|
||||
<%: 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();"})%>
|
||||
<button type="submit" class="preview" title="<%: T("Preview")%>" name="submit.Preview" value="<%: T("Preview")%>"><%: T("Preview")%></button>
|
||||
<button type="submit" title="<%: T("Apply")%>" name="submit.Apply" value="<%: T("Apply")%>"><%: T("Apply this theme") %></button>
|
||||
<button type="submit" class="cancel" title="<%: T("Cancel")%>" name="submit.Cancel" value="<%: T("Cancel")%>"><%: T("Cancel")%></button>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
||||
<div id="logindisplay">
|
||||
<% if (Request.IsAuthenticated) { %>
|
||||
<%= T("Welcome, <strong>{0}</strong>!", Page.User.Identity.Name) %>
|
||||
<%: T("Welcome, <strong>{0}</strong>!", 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 { %>
|
||||
|
Reference in New Issue
Block a user