[sword-svn] r223 - trunk

scribe at crosswire.org scribe at crosswire.org
Wed Oct 12 11:20:42 MST 2005


Author: scribe
Date: 2005-10-12 11:20:42 -0700 (Wed, 12 Oct 2005)
New Revision: 223

Modified:
   trunk/bookdisplay.jsp
Log:
Made XHTML strict compliant


Modified: trunk/bookdisplay.jsp
===================================================================
--- trunk/bookdisplay.jsp	2005-10-12 18:05:19 UTC (rev 222)
+++ trunk/bookdisplay.jsp	2005-10-12 18:20:42 UTC (rev 223)
@@ -94,9 +94,15 @@
 
 
 	<div id="genbooknav">
-	<%
+<%
 		if (module != null) {
+%>
+		<ul>
+<%
 			printTree(bookTreeOpen, out, module, "/", gbsEntry, currentJumpNode);
+%>
+		</ul>
+<%
 		}
 		else {
 %>
@@ -260,19 +266,19 @@
 
 			out.print(" <a href=\"bookdisplay.jsp?gbsEntry=" + URLEncoder.encode(linkRef) + "#cv\">" + localName + "</a>");
 
-			out.print("</li>");
+			out.print("</li>\n");
 		}
 		else open = true;
 		
 
 		if (open) {
 			if (dig) {
-				out.print("<ul>");
+				out.print("<li><ul>");
 
 				for (int i = 0; ((i < children.length) && (i < max)); i++) {
 					printTree(bookTreeOpen, out, module, rootTreeKey+"/"+children[i], target, currentJumpNode);
 				}
-				out.print("</ul>");
+				out.print("</ul></li>\n");
 			}
 		}
 	}



More information about the sword-cvs mailing list