[sword-svn] r396 - trunk/webapp
scribe at crosswire.org
scribe at crosswire.org
Sat Jul 7 09:44:33 MST 2012
Author: scribe
Date: 2012-07-07 09:44:33 -0700 (Sat, 07 Jul 2012)
New Revision: 396
Modified:
trunk/webapp/fetchdata.jsp
Log:
made links to ntvmr work better
Modified: trunk/webapp/fetchdata.jsp
===================================================================
--- trunk/webapp/fetchdata.jsp 2012-07-07 16:43:59 UTC (rev 395)
+++ trunk/webapp/fetchdata.jsp 2012-07-07 16:44:33 UTC (rev 396)
@@ -97,10 +97,10 @@
transURL = block.getAttribute("uri");
}
}
- String mssURL = "http://ntvmr.uni-muenster.de/manuscript-workspace?docid=" + m.getAttribute("docid"); //+"&pageid="+p.getAttribute("pageid");
+ String mssURL = "http://ntvmr.uni-muenster.de/manuscript-workspace?docid=" + m.getAttribute("docid")+"&pageid="+p.getAttribute("pageid");
%>
<tr>
- <td><a href="#" onclick="window.open('<%=mssURL%>','ViewManuscript','width=800,height=600,resizable=1,scrollbars=1');return false;">
+ <td><a href="<%=mssURL%>" target="NTVMR">
<%=m.getAttribute("ganum")%>
</a></td>
<td><%=m.getValue("originyeardescription")%></td>
@@ -124,11 +124,8 @@
</td><td>
<%
if (imageURL != null) {
- String siteURL = imageURL.substring(0,imageURL.lastIndexOf("/")+1);
- String pageImage = imageURL.substring(imageURL.lastIndexOf("/")+1);
- imageURL = "http://ntvmr.uni-muenster.de/community/modules/papyri/?site="+siteURL+"&image="+pageImage;
%>
- <a href="#" onclick="window.open('<%=imageURL%>','ViewImage','width=800,height=600');return false;">
+ <a href="<%=mssURL%>" target="NTVMR">
<%
}
if (thumbURL != null) {
More information about the sword-cvs
mailing list