NIHVIVO-1297 Undid the effects of revision 6246. This was a mistake, since including the body template from the page template rather than pregenerating the body string doesn't allow the addition of stylesheet tags to the page head.

This commit is contained in:
rjy7 2010-10-29 16:44:29 +00:00
parent 0bbe23a7fa
commit c178c8d922
8 changed files with 103 additions and 65 deletions

View file

@ -27,7 +27,7 @@
<form action="${formAction}" method="post">
<label for="loginName">Email or Username</label>
<input id="loginName" class="focus" name="loginName" type="text" value="${username}" />
<input id="loginName" class="focus" name="loginName" type="text" value="${loginName}" />
<label for="loginPassword">Password</label>
<input id="loginPassword" type="password" name="loginPassword" />
<input name="loginForm" type="submit" class="submit" value="Log in"/>

View file

@ -56,4 +56,4 @@
</div> <!-- end contentsBrowseGroup -->
${stylesheets.addFromTheme("/css/search.css")}
${stylesheets.addFromTheme("/css/search.css")}

View file

@ -1,5 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Page template for home page -->
<#include "page.ftl">

View file

@ -23,7 +23,7 @@
<div id="contentwrap">
<div id="content">
<#include bodyTemplate>
${body}
</div> <!-- content -->
</div> <!-- contentwrap -->