[sword-svn] r323 - trunk/webapp

refdoc at www.crosswire.org refdoc at www.crosswire.org
Fri Oct 31 11:06:38 MST 2008


Author: refdoc
Date: 2008-10-31 11:06:37 -0700 (Fri, 31 Oct 2008)
New Revision: 323

Modified:
   trunk/webapp/parallelstudy.jsp
Log:
persistent font style completed


Modified: trunk/webapp/parallelstudy.jsp
===================================================================
--- trunk/webapp/parallelstudy.jsp	2008-10-31 16:55:49 UTC (rev 322)
+++ trunk/webapp/parallelstudy.jsp	2008-10-31 18:06:37 UTC (rev 323)
@@ -309,14 +309,14 @@
 						SWModule mod = mgr.getModuleByName((String)parDispModules.get(i));
 						boolean rtol = ("RtoL".equalsIgnoreCase(mod.getConfigEntry("Direction")));
 						String font = mod.getConfigEntry("Font");
-						
+						String style = (!"<SWNULL>".equals(font))?"font:"+font:"";
 
 						if (mod != activeModule) {
 							mod.setKeyText(keyText);
 						}
 
 %>
-							<td style="font:<%= font %>" 
+							<td style="<%= style %>" 
 <%= rtol ? "dir=\"rtl\"" : "" %> class="<%= (keyText.equals(activeKey)) ? "currentverse" : "verse" %>">
 <%
 						String[] heads = mod.getEntryAttribute("Heading", "Preverse", "0", true);




More information about the sword-cvs mailing list