[sword-svn] r262 - trunk/webapp

scribe at www.crosswire.org scribe at www.crosswire.org
Mon Oct 23 19:18:50 MST 2006


Author: scribe
Date: 2006-10-23 19:18:49 -0700 (Mon, 23 Oct 2006)
New Revision: 262

Modified:
   trunk/webapp/parallelstudy.jsp
   trunk/webapp/swordweb.js
Log:
Fixed "Search for..." showing up in footnotes
Added parallel presets for OT Scholar and NT Scholar


Modified: trunk/webapp/parallelstudy.jsp
===================================================================
--- trunk/webapp/parallelstudy.jsp	2006-09-28 20:11:47 UTC (rev 261)
+++ trunk/webapp/parallelstudy.jsp	2006-10-24 02:18:49 UTC (rev 262)
@@ -214,6 +214,7 @@
 
 		<h2><t:t>Parallel Viewing: </t:t><%= activeKey %></h2>
 		<div id="introhelp">
+		<p><t:t>Presets: [<a href="parallelstudy.jsp?del=all&add=KJV&add=WLC&add=NASB&add=LXX">OT Scholar</a>]</t:t> <t:t>[<a href="parallelstudy.jsp?del=all&add=KJV&add=TR&add=NASB&add=WHAC">NT Scholar</a>]</t:t>
 		<p><t:t>Parallel viewing allows you to see two or more texts side by side.  For example, you could view two Bible versions of the same verse next to each other, or a verse from a specific translation and what a commentary has to say about that specific verse.</t:t></p>
 		</div>
 

Modified: trunk/webapp/swordweb.js
===================================================================
--- trunk/webapp/swordweb.js	2006-09-28 20:11:47 UTC (rev 261)
+++ trunk/webapp/swordweb.js	2006-10-24 02:18:49 UTC (rev 262)
@@ -221,9 +221,11 @@
 					if ((extratext != null) && (extratext.length > 0)) {
 						resultBody += "<a href=\"#\" onclick=\"pd('"+extratext+"');return false;\">"+extratext+"</a>";
 					}
-					resultBody += "<dl>";
-					resultBody += "<dt><a href=\"wordsearchresults.jsp?mod="+srcMod+"&searchTerm=lemma:"+skeyPre+encodeURIComponent(key)+"&colorKey="+encodeURIComponent(key)+"&colorMorph="+encodeURIComponent(extratext)+"\">Search for "+key+" in "+srcMod+"</a></dt>";
-					resultBody += "</dl>";
+					if ((fnnum == null) || (fnnum == '')) {
+						resultBody += "<dl>";
+						resultBody += "<dt><a href=\"wordsearchresults.jsp?mod="+srcMod+"&searchTerm=lemma:"+skeyPre+encodeURIComponent(key)+"&colorKey="+encodeURIComponent(key)+"&colorMorph="+encodeURIComponent(extratext)+"\">Search for "+key+" in "+srcMod+"</a></dt>";
+						resultBody += "</dl>";
+					}
 					resultBody += "</div></div>";
 					b.innerHTML=resultBody;
 				}




More information about the sword-cvs mailing list