[sword-svn] r440 - trunk/webapp
scribe at crosswire.org
scribe at crosswire.org
Sat Aug 19 02:43:37 MST 2017
Author: scribe
Date: 2017-08-19 02:43:36 -0700 (Sat, 19 Aug 2017)
New Revision: 440
Modified:
trunk/webapp/parallelstudy.jsp
Log:
Added 'link to this view' option to encourage bookmarking or referencing a parallel view.
Modified: trunk/webapp/parallelstudy.jsp
===================================================================
--- trunk/webapp/parallelstudy.jsp 2017-08-16 14:39:18 UTC (rev 439)
+++ trunk/webapp/parallelstudy.jsp 2017-08-19 09:43:36 UTC (rev 440)
@@ -235,7 +235,18 @@
<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=Treg&add=NASB">NT Scholar</a>]</t:t></p>
+ <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=Treg&add=NASB">NT Scholar</a>]</t:t>
+ <span style="float:right;">
+ <%
+ startList = false;
+ for (int i = 0; i < parDispModules.size(); i++) {
+ SWModule module = mgr.getModuleByName((String)parDispModules.get(i));
+ if (!startList) { out.print("<a href=\"parallelstudy.jsp?del=all"); startList = true; }
+ out.print("&add="+URLEncoder.encode(module.getName()));
+ }
+ if (startList) { out.print("&key="+URLEncoder.encode(activeKey)+"#cv\">Link to this view</a> "); startList = true; }
+ %>
+ </span> </p>
<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>
More information about the sword-cvs
mailing list