[sword-svn] r336 - trunk/webapp

refdoc at www.crosswire.org refdoc at www.crosswire.org
Sat Nov 8 07:26:07 MST 2008


Author: refdoc
Date: 2008-11-08 07:26:06 -0700 (Sat, 08 Nov 2008)
New Revision: 336

Modified:
   trunk/webapp/swordweb.js
Log:
swordweb.js strings <t:t> tagged. won't work as long as swordweb.js is not processed by tomcat. 



Modified: trunk/webapp/swordweb.js
===================================================================
--- trunk/webapp/swordweb.js	2008-11-08 14:10:40 UTC (rev 335)
+++ trunk/webapp/swordweb.js	2008-11-08 14:26:06 UTC (rev 336)
@@ -217,7 +217,7 @@
 		showhide("onlywlayer", "hidden");
 	}
 	else {
-		b.innerHTML="Please wait...";
+		b.innerHTML="<t:t>Please wait...</t:t>";
 		showhide("onlywlayer", "visible");
 		url = "fetchdata.jsp?mod="+mod+"&key="+encodeURIComponent(key);
 		if ((fnnum != null) && (fnnum != ''))
@@ -232,11 +232,11 @@
 					}
 					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 += "<dt><a href=\"wordsearchresults.jsp?mod="+srcMod+"&searchTerm=lemma:"+skeyPre+encodeURIComponent(key)+"&colorKey="+encodeURIComponent(key)+"&colorMorph="+encodeURIComponent(extratext)+"\"><t:t>Search for </t:t>"+key+"<t:t> in </t:t>"+srcMod+"</a></dt>";
 						resultBody += "</dl>";
 						if (skeyPre == 'G') {
 							resultBody += "<dl>";
-							resultBody += "<dt><a href=\"wordsearchresults.jsp?mod=LXX&searchTerm=lemma:"+skeyPre+encodeURIComponent(key)+"&colorKey="+encodeURIComponent(key)+"&colorMorph="+encodeURIComponent(extratext)+"\">Search for "+key+" in LXX</a></dt>";
+							resultBody += "<dt><a href=\"wordsearchresults.jsp?mod=LXX&searchTerm=lemma:"+skeyPre+encodeURIComponent(key)+"&colorKey="+encodeURIComponent(key)+"&colorMorph="+encodeURIComponent(extratext)+"\"><t:t>Search for </t:t>"+key+"<t:t> in LXX</t:t></a></dt>";
 							resultBody += "</dl>";
 						}
 					}




More information about the sword-cvs mailing list