[sword-cvs] swordweb passagestudy.jsp,1.34,1.35

sword@www.crosswire.org sword@www.crosswire.org
Fri, 27 Feb 2004 14:47:25 -0700


Update of /cvs/core/swordweb
In directory www:/tmp/cvs-serv22248

Modified Files:
	passagestudy.jsp 
Log Message:
Added promo line above word study also


Index: passagestudy.jsp
===================================================================
RCS file: /cvs/core/swordweb/passagestudy.jsp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- passagestudy.jsp	25 Nov 2003 22:28:43 -0000	1.34
+++ passagestudy.jsp	27 Feb 2004 21:47:22 -0000	1.35
@@ -6,6 +6,7 @@
 		session.setAttribute("ActiveModule", resetModule);
 	String activeModuleName = (String) session.getAttribute("ActiveModule");
 	SWModule activeModule = mgr.getModuleByName((activeModuleName == null) ? defaultBible : activeModuleName);
+	String promoLine = activeModule.getConfigEntry("ShortPromo");
 
 	String resetKey = request.getParameter("key");
 	if (resetKey != null)
@@ -116,6 +117,7 @@
 		</div>
 	</tiles:put>
 	<tiles:put name="sidebar_right" type="string">
+	<div id="promoLine"><%= promoLine %></div>
 	<div id="studytools">
 		<h2>Word Study:</h2>
 			<ul>
@@ -279,7 +281,6 @@
 		<%
 			}
 			String copyLine = activeModule.getConfigEntry("ShortCopyright");
-			String promoLine = activeModule.getConfigEntry("ShortPromo");
 			if (copyLine.equalsIgnoreCase("<swnull>"))
 				copyLine = "";
 			if (promoLine.equalsIgnoreCase("<swnull>"))