[sword-cvs] swordweb passagestudy.jsp,1.21,1.22
sword@www.crosswire.org
sword@www.crosswire.org
Thu, 30 Oct 2003 13:09:47 -0700
- Previous message: [sword-cvs] swordweb wash.css,1.23,1.24
- Next message: [sword-cvs] swordweb parallelstudy.jsp,1.24,1.25 passagestudy.jsp,1.22,1.23 powersearch.jsp,1.11,1.12 wordsearchresults.jsp,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/local/cvsroot/swordweb
In directory www:/tmp/cvs-serv5353
Modified Files:
passagestudy.jsp
Log Message:
Index: passagestudy.jsp
===================================================================
RCS file: /usr/local/cvsroot/swordweb/passagestudy.jsp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- passagestudy.jsp 29 Oct 2003 12:40:25 -0000 1.21
+++ passagestudy.jsp 30 Oct 2003 20:09:45 -0000 1.22
@@ -29,6 +29,9 @@
morph = (buf != null) ? "on".equalsIgnoreCase(buf) : morph;
session.setAttribute("morph", (morph)?"on":"off");
+ String showStrong = request.getParameter("showStrong");
+ String showMorph = request.getParameter("showMorph");
+
for (int i = 0; i < 2; i++) {
String []nodes = request.getParameterValues((i>0)?"close":"open");
@@ -113,6 +116,30 @@
<li><a href="passagestudy.jsp?strongs=<%= (strongs) ? "off" : "on" %>" title="Turn <%= (strongs) ? "off" : "on"%> Strongs numbers"><%= (strongs) ? "Hide" : "Show" %> Strongs</a></li>
<li><a href="passagestudy.jsp?morph=<%= (morph) ? "off" : "on" %>" title="Turn <%= (morph) ? "off" : "on" %> morphology"><%= (morph) ? "Hide" : "Show" %> Morphology</a></li>
</ul>
+ <%
+ if (showStrong != null) {
+ String [] keyInfo = activeModule.getKeyChildren();
+ SWModule lex = mgr.getModuleByName(("1".equals(keyInfo[0])) ? "StrongsHebrew":"StrongsGreek");
+ lex.setKeyText(showStrong);
+ %>
+ <li>
+ <span>
+ <%= new String(lex.getRenderText().getBytes("iso8859-1"), "UTF-8") %>
+ </span>
+ </li>
+ <% } %>
+ <%
+ if (showMorph != null) {
+ String [] keyInfo = activeModule.getKeyChildren();
+ SWModule lex = mgr.getModuleByName(("1".equals(keyInfo[0])) ? "StrongHebrew":"Robinson");
+ lex.setKeyText(showStrong);
+ %>
+ <li>
+ <span>
+ <%= new String(lex.getRenderText().getBytes("iso8859-1"), "UTF-8") %>
+ </span>
+ </li>
+ <% } %>
</div>
<div id="commentaries">
- Previous message: [sword-cvs] swordweb wash.css,1.23,1.24
- Next message: [sword-cvs] swordweb parallelstudy.jsp,1.24,1.25 passagestudy.jsp,1.22,1.23 powersearch.jsp,1.11,1.12 wordsearchresults.jsp,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]