- Fixing the theme preview image path for the current theme in the themes admin.

- Rolling back the markup in the Orange theme's layout a little more

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045372
This commit is contained in:
skewed
2010-01-14 00:41:00 +00:00
parent 133220d976
commit e73efc95c2
2 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
} else {
%><h3><%=Html.Encode(Model.CurrentTheme.DisplayName) %></h3>
<p>
<%=Html.Image(Html.ThemePath("/Theme.gif"), Html.Encode(Model.CurrentTheme.DisplayName), null)%><br />
<%=Html.Image(Html.ThemePath(Model.CurrentTheme, "/Theme.gif"), Html.Encode(Model.CurrentTheme.DisplayName), null)%><br />
<%=_Encoded("By") %> <%=Html.Encode(Model.CurrentTheme.Author) %><br />
<%=Html.Encode(Model.CurrentTheme.Version) %><br />
<%=Html.Encode(Model.CurrentTheme.Description) %><br />

View File

@@ -7,14 +7,14 @@ Model.Zones.AddRenderPartial("menu", "menu", Model);
Model.Zones.AddRenderPartial("content:before", "messages", Model.Messages);
%>
<div class="page">
<div id="header"><%Html.Zone("header");%>.ToHtmlString();
Html.Zone("header").Render();
<div id="header"><%
Html.Zone("header");
Html.Zone("menu"); %>
</div>
<div id="main"><%
Html.Zone("content"); %>
Html.ZoneBody("content"); %>
<div id="footer"><%
Html.Zone("footer", ()=>Html.RenderPartial("footer", Model));
Html.Zone("footer");
%></div>
</div>
</div>