[sword-svn] r322 - trunk/webapp
refdoc at www.crosswire.org
refdoc at www.crosswire.org
Fri Oct 31 09:55:49 MST 2008
Author: refdoc
Date: 2008-10-31 09:55:49 -0700 (Fri, 31 Oct 2008)
New Revision: 322
Modified:
trunk/webapp/parallelstudy.jsp
Log:
load font configuration from module and use it in parallel display
Modified: trunk/webapp/parallelstudy.jsp
===================================================================
--- trunk/webapp/parallelstudy.jsp 2008-10-31 15:47:49 UTC (rev 321)
+++ trunk/webapp/parallelstudy.jsp 2008-10-31 16:55:49 UTC (rev 322)
@@ -308,13 +308,16 @@
for (int i = 0; i < parDispModules.size(); i++) {
SWModule mod = mgr.getModuleByName((String)parDispModules.get(i));
boolean rtol = ("RtoL".equalsIgnoreCase(mod.getConfigEntry("Direction")));
+ String font = mod.getConfigEntry("Font");
+
if (mod != activeModule) {
mod.setKeyText(keyText);
}
%>
- <td <%= rtol ? "dir=\"rtl\"" : "" %> class="<%= (keyText.equals(activeKey)) ? "currentverse" : "verse" %>">
+ <td style="font:<%= font %>"
+<%= rtol ? "dir=\"rtl\"" : "" %> class="<%= (keyText.equals(activeKey)) ? "currentverse" : "verse" %>">
<%
String[] heads = mod.getEntryAttribute("Heading", "Preverse", "0", true);
for (int h = 0; h < heads.length; h++) {
More information about the sword-cvs
mailing list