[sword-svn] r260 - trunk/webapp

scribe at crosswire.org scribe at crosswire.org
Mon Jul 10 16:21:31 MST 2006


Author: scribe
Date: 2006-07-10 16:21:30 -0700 (Mon, 10 Jul 2006)
New Revision: 260

Modified:
   trunk/webapp/parallelstudy.jsp
Log:
Added support for multiple headings


Modified: trunk/webapp/parallelstudy.jsp
===================================================================
--- trunk/webapp/parallelstudy.jsp	2006-07-10 20:21:52 UTC (rev 259)
+++ trunk/webapp/parallelstudy.jsp	2006-07-10 23:21:30 UTC (rev 260)
@@ -311,10 +311,10 @@
 							<td <%= rtol ? "dir=\"rtl\"" : "" %> class="<%= (keyText.equals(activeKey)) ? "currentverse" : "verse" %>">
 <%
 						String[] heads = mod.getEntryAttribute("Heading", "Preverse", "0", true);
-						if (heads.length > 0) {
+						for (int h = 0; h < heads.length; h++) {
 %>
 							<h3>
-							<%= new String(heads[0].getBytes("iso8859-1"), "UTF-8") %>
+							<%= new String(heads[h].getBytes("iso8859-1"), "UTF-8") %>
 							</h3>
 <%
 						}



More information about the sword-cvs mailing list