Cleaned up some random invalid markup

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-05-11 12:32:02 -07:00
parent 198060d3e4
commit 3182cfcfbc
6 changed files with 18 additions and 22 deletions

View File

@@ -1,3 +1,2 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<BodyDisplayViewModel>" %>
<%@ Import Namespace="Orchard.Core.Common.ViewModels"%>
</div>

View File

@@ -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>

View File

@@ -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);%>

View File

@@ -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>

View File

@@ -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>
<%} %>
<%} %>--%>

View File

@@ -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>
<%} %>
<%} %>--%>