Commit 49b52e04 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Added a way to pass in a message, above the title

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3960 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9f3f5ea7
......@@ -34,6 +34,9 @@
request.setAttribute("pageID", decoratedPage.getProperty("meta.pageID"));
request.setAttribute("subPageID", decoratedPage.getProperty("meta.subPageID"));
request.setAttribute("extraParams", decoratedPage.getProperty("meta.extraParams"));
// Message HTML can be passed in:
String message = decoratedPage.getProperty("page.message");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
......@@ -157,11 +160,17 @@
</td>
<td width="99%" id="jive-content">
<div id="jive-title">
<decorator:title default="&nbsp;"/>
</div>
<% if (message != null) { %>
<%= message %>
<% } %>
<div id="jive-title">
<decorator:title default="&nbsp;"/>
</div>
<decorator:body/>
<decorator:body/>
</td>
</tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment