Cleaned up the fallback theme's document and layout markup

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044178
This commit is contained in:
skewed
2009-12-16 21:53:23 +00:00
parent b519b51ae9
commit e33efb4a16
2 changed files with 19 additions and 21 deletions

View File

@@ -1,17 +1,15 @@
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="Orchard.Mvc.Html"%>
<!DOCTYPE html>
<%@ Import Namespace="Orchard.Mvc.Html"
%><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title><%=Html.Title() %> - Safe Mode!</title>
<% Html.RenderZone("metas"); %>
<% Html.RenderZone("styles"); %>
<% Html.RenderZone("scripts"); %>
<title><%=Html.Title() %> - Safe Mode!</title><%
Html.RenderZone("head", ":metas :styles :scripts"); %>
</head>
<body>
<% Html.RenderZone("document-first"); %>
<% Html.RenderBody(); %>
<% Html.RenderZone("document-last"); %>
<body><%
Html.RenderZone("document-first");
Html.RenderBody();
Html.RenderZone("document-last"); %>
</body>
</html>

View File

@@ -1,15 +1,15 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<% Html.RegisterStyle("site.css"); %>
<%@ Import Namespace="Orchard.Mvc.Html" %><%
Html.RegisterStyle("site.css"); %>
<div class="page">
<div id="header">
<% Html.RenderZone("header"); %>
<% Html.RenderZone("menu"); %>
</div>
<div id="main">
<% Html.RenderBody(); %>
<div id="footer">
<% Html.RenderZone("footer"); %>
</div>
<div id="header"><%
Html.RenderZone("header");
Html.RenderZone("menu");
%></div>
<div id="main"><%
Html.RenderBody();
%> <div id="footer"><%
Html.RenderZone("footer");
%></div>
</div>
</div>