Rewrote comment form controllers and templates in FreeMarker.
This commit is contained in:
parent
31d4cdee40
commit
2646c9ff74
5 changed files with 7 additions and 4 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreeMarkerHttpServlet" %>
|
||||
<%
|
||||
|
||||
// If the request was for a jsp rather than a servlet, we didn't get these yet.
|
||||
String identity = (String) request.getAttribute("ftl_identity");
|
||||
if (identity == null) {
|
||||
|
|
|
@ -114,3 +114,5 @@ caption { background: #eee; }
|
|||
.last { margin-right:0; padding-right:0; }
|
||||
.top { margin-top:0; padding-top:0; }
|
||||
.bottom { margin-bottom:0; padding-bottom:0; }
|
||||
|
||||
.bold { font-weight: bold; }
|
|
@ -25,5 +25,3 @@
|
|||
|
||||
</div>
|
||||
|
||||
<#-- SCRIPT TAGS SHOULD GO HERE -->
|
||||
<#include "googleAnalytics.ftl">
|
|
@ -18,4 +18,4 @@ rollupTracker._trackPageview(location.host+location.pathname);
|
|||
}
|
||||
catch(err) {}
|
||||
</script>
|
||||
-->
|
||||
-->
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<hr class="hidden" />
|
||||
|
||||
<div id="contentwrap">
|
||||
<div id="content" <#if contentClass??> class="${contentClass}" </#if>>
|
||||
<div id="content">
|
||||
<#-- We don't do title here because some pages don't get a title, or it may not be the same as the <title> text.
|
||||
<h2>${title}</h2> -->
|
||||
${body}
|
||||
|
@ -32,5 +32,7 @@
|
|||
<#include "/components/footer.ftl">
|
||||
|
||||
</div> <!-- wrap -->
|
||||
|
||||
<#include "/components/scripts.ftl">
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue