[sword-cvs] swordweb parallelstudy.jsp,1.14,1.15 passagestudy.jsp,1.9,1.10

sword@www.crosswire.org sword@www.crosswire.org
Tue, 21 Oct 2003 11:11:51 -0700


Update of /usr/local/cvsroot/swordweb
In directory www:/tmp/cvs-serv12005

Modified Files:
	parallelstudy.jsp passagestudy.jsp 
Log Message:
fixed HTML stuff

Index: parallelstudy.jsp
===================================================================
RCS file: /usr/local/cvsroot/swordweb/parallelstudy.jsp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- parallelstudy.jsp	17 Oct 2003 07:03:13 -0000	1.14
+++ parallelstudy.jsp	21 Oct 2003 18:11:49 -0000	1.15
@@ -44,7 +44,9 @@
 		<div id="translations">
 
 		<h2>Translations:</h2>
-		<p>Displayed modules (click to remove)</p>
+		<h3>Displayed modules <h3>
+		<p>click to remove</p>
+		<% if (parDispModules.size() > 0) { %>
 		<ul>
 		<%
 			for (int i = 0; i < parDispModules.size(); i++) {
@@ -62,10 +64,14 @@
 		%>
 
 		</ul>
+		<% } %>
+
 
 		<hr/>
 
-		<p>Available modules (click to add)</p>
+		<h3>Available modules</h3><p>click to add</p>
+		<% if (modInfo.length > 0) { %>
+
 		<ul>
 		<%
 			for (int i = 0; i < modInfo.length; i++) {
@@ -86,6 +92,7 @@
 			}
 		%>
 		</ul>
+		<% } %>
 
 		</div>
 
@@ -97,7 +104,8 @@
 
 		<h2>Comentaries:</h2>
 
-		<p>Displayed modules (click to remove)</p>
+		<h3>Displayed modules</h3> <p>click to remove</p>
+		<% if (parDispModules.size() > 0) { %>
 		<ul>
 		<%
 			for (int i = 0; i < parDispModules.size(); i++) {
@@ -114,10 +122,12 @@
 			}
 		%>
 		</ul>
+		<% } %>
 
 		<hr/>
 
-		<p>Available modules (click to add)</p>
+		<h3>Available modules</h3> <p>click to add</p>
+		<% if (modInfo.length > 0) { %>
 		<ul>
 		<%
 			for (int i = 0; i < modInfo.length; i++) {
@@ -137,6 +147,8 @@
 			}
 		%>
 		</ul>
+		<% } %>
+
 		</div>
 
 	</tiles:put>

Index: passagestudy.jsp
===================================================================
RCS file: /usr/local/cvsroot/swordweb/passagestudy.jsp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- passagestudy.jsp	17 Oct 2003 07:03:13 -0000	1.9
+++ passagestudy.jsp	21 Oct 2003 18:11:49 -0000	1.10
@@ -89,6 +89,7 @@
 			<li><a href="" title="display all of Romans 8">this chapter</a></li>
 			<li><a href="" title="display Romans 10">next chapter</a></li>
 		</ul>
+		<div id="passagestudy">
 		<%
 			if (activeModule.getCategory().equals(SwordOrb.BIBLES)) {
 				String chapterPrefix = activeKey.substring(0, activeKey.indexOf(":"));
@@ -117,5 +118,6 @@
 		<%
 			}
 		%>
+		</div>
 	</tiles:put>
 </tiles:insert>