mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 12:03:51 +08:00
Cleaned up some random invalid markup
--HG-- branch : dev
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<BodyDisplayViewModel>" %>
|
||||
<%@ Import Namespace="Orchard.Core.Common.ViewModels"%>
|
||||
</div>
|
||||
@@ -1,9 +1,6 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
|
||||
|
||||
<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
|
||||
Home Page
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<p>Use this url for LiveWriter</p>
|
||||
</asp:Content>
|
||||
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><title>Use this url for LiveWriter</title></head>
|
||||
<body><p>Use this url for LiveWriter</p></body>
|
||||
</html>
|
||||
@@ -20,13 +20,13 @@
|
||||
<ul>
|
||||
<%foreach (var partType in Model.PartTypes.OrderBy(x => x.Name)) {%>
|
||||
<li><span style="font-weight: bold;">
|
||||
<%if (partType.IsGenericType) {%><%=Html.Encode(partType.Name +" "+partType.GetGenericArguments().First().Name)%></span>
|
||||
<%if (partType.IsGenericType) {%><%=Html.Encode(partType.Name +" "+partType.GetGenericArguments().First().Name)%>
|
||||
<%=Html.Encode(" (" + partType.GetGenericArguments().First().Namespace + ")")%><%}
|
||||
else {%><%=Html.Encode(partType.Name)%></span>
|
||||
else {%><%=Html.Encode(partType.Name)%>
|
||||
<%=Html.Encode( " (" + partType.Namespace + ")")%><%
|
||||
}
|
||||
|
||||
%>
|
||||
%></span>
|
||||
<ul style="margin-left: 20px">
|
||||
<%foreach (var prop in partType.GetProperties().Where(x => x.DeclaringType == partType)) {
|
||||
var value = prop.GetValue(Model.Locate(partType), null);%>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<object>" %>
|
||||
<h1><%=Html.TitleForPage(T("Change Password").ToString()) %></h2>
|
||||
<h1><%=Html.TitleForPage(T("Change Password").ToString()) %></h1>
|
||||
<p><%=_Encoded("Your password has been changed successfully.")%></p>
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
<div class="page-title"><%=Html.TitleForPage(Model.Item.Title)%></div>
|
||||
|
||||
<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
|
||||
<%} %>
|
||||
<%--<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
|
||||
<%} %>--%>
|
||||
|
||||
<% Html.Zone("primary");
|
||||
Html.ZonesAny(); %>
|
||||
|
||||
<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
|
||||
<%--<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
|
||||
</a>
|
||||
<%} %>
|
||||
<%} %>--%>
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
<div class="page-title"><%=Html.TitleForPage(Model.Item.Title)%></div>
|
||||
|
||||
<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
|
||||
<%} %>
|
||||
<%--<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
|
||||
<%} %>--%>
|
||||
|
||||
<% Html.Zone("primary");
|
||||
Html.ZonesAny(); %>
|
||||
|
||||
<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
|
||||
<%--<% if (Html.Resolve<IAuthenticationService>().GetAuthenticatedUser() != null){ %>
|
||||
</a>
|
||||
<%} %>
|
||||
<%} %>--%>
|
||||
Reference in New Issue
Block a user