[sword-svn] r360 - trunk/webapp
refdoc at www.crosswire.org
refdoc at www.crosswire.org
Tue Nov 18 12:02:51 MST 2008
Author: refdoc
Date: 2008-11-18 12:02:51 -0700 (Tue, 18 Nov 2008)
New Revision: 360
Modified:
trunk/webapp/parallelstudy.jsp
Log:
Added language class to verse output
Modified: trunk/webapp/parallelstudy.jsp
===================================================================
--- trunk/webapp/parallelstudy.jsp 2008-11-18 19:01:53 UTC (rev 359)
+++ trunk/webapp/parallelstudy.jsp 2008-11-18 19:02:51 UTC (rev 360)
@@ -308,6 +308,7 @@
for (int i = 0; i < parDispModules.size(); i++) {
SWModule mod = mgr.getModuleByName((String)parDispModules.get(i));
boolean rtol = ("RtoL".equalsIgnoreCase(mod.getConfigEntry("Direction")));
+ String modLang = mod.getConfigEntry("Lang");
String font = mod.getConfigEntry("Font");
String style = (!"<SWNULL>".equals(font))?"font-family:"+font:"";
@@ -316,7 +317,7 @@
}
%>
- <td style="<%= style %>"
+ <td style="<%= style %>" class="<%= modLang %>"
<%= 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