[sword-svn] r303 - in trunk/webapp: . WEB-INF

scribe at www.crosswire.org scribe at www.crosswire.org
Fri Sep 26 14:20:51 MST 2008


Author: scribe
Date: 2008-09-26 14:20:50 -0700 (Fri, 26 Sep 2008)
New Revision: 303

Modified:
   trunk/webapp/WEB-INF/swordweb.properties
   trunk/webapp/parallelstudy.jsp
Log:
Don't show Cult section if no modules are in the list


Modified: trunk/webapp/WEB-INF/swordweb.properties
===================================================================
--- trunk/webapp/WEB-INF/swordweb.properties	2008-09-25 13:07:37 UTC (rev 302)
+++ trunk/webapp/WEB-INF/swordweb.properties	2008-09-26 21:20:50 UTC (rev 303)
@@ -1,2 +1,2 @@
-orbexe=swordorbserver
-defaultBible=NASB
+orbexe=/usr/bin/swordorbserver
+defaultBible=KJV

Modified: trunk/webapp/parallelstudy.jsp
===================================================================
--- trunk/webapp/parallelstudy.jsp	2008-09-25 13:07:37 UTC (rev 302)
+++ trunk/webapp/parallelstudy.jsp	2008-09-26 21:20:50 UTC (rev 303)
@@ -121,7 +121,6 @@
 			if (startList) { out.print("</ul>"); startList = true; }
 		%>
 
-		<h3><t:t>Cults / Unorthodox / Questionable Material</t:t></h3><p><t:t>click to add</t:t></p>
 		<%
 			startList = false;
 			for (int i = 0; i < modInfo.length; i++) {
@@ -131,8 +130,14 @@
 						continue;
 					}
 
-					if (!startList) { out.print("<ul>"); startList = true; }
+					if (!startList) {
+						startList = true;
 		%>
+			<h3><t:t>Cults / Unorthodox / Questionable Material</t:t></h3><p><t:t>click to add</t:t></p>
+			<ul>
+		<%
+					}
+		%>
 				<li>
 					<a href="parallelstudy.jsp?add=<%= URLEncoder.encode(modInfo[i].name) %>#cv" title="Add to displayed modules">
 						<%= module.getDescription().replaceAll("&", "&amp;") %>




More information about the sword-cvs mailing list