diff src/main/webapp/pages/fullTextSearch.jsp @ 57:5cbe567a9c52

new: a link to view section text in ext-interface on full text searching page. bug fixed: a default topicId passed when doing search and full text search
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 17 Feb 2016 14:58:19 +0100
parents 95bf4ac726e6
children b8ad346e39a0
line wrap: on
line diff
--- a/src/main/webapp/pages/fullTextSearch.jsp	Tue Feb 16 15:14:18 2016 +0100
+++ b/src/main/webapp/pages/fullTextSearch.jsp	Wed Feb 17 14:58:19 2016 +0100
@@ -697,6 +697,7 @@
 									</tr>
 								</table>	
 							</th>
+							<th><label class="tableTitle">View Text</label></th>
 							<th>
 								<table class="sortTable">
 									<tr>
@@ -740,7 +741,7 @@
 								</table>	
 								
 							</th>
-							<th><label class="tableTitle">Select rows</th>
+							<th><label class="tableTitle">Select rows</label></th>
 						</tr>
 					
 		
@@ -764,6 +765,18 @@
 							<td><%=content.getSection().getBook().getAdmin_type() %></td>
 							<td><%=content.getSection().getName() %></td>
 							<td><%=content.getSection().getPages()%></td>
+					
+							<!-- View text in Ext-Interface -->
+							<td>
+								<a href="#"
+									title="Show Section in Extraction Interface"
+								 	onclick="sectionInExtractionInterface('<%=content.getSection().getId() %>', '<%=content.getSection().getName() %>', '<%=content.getSection().getBook().getId() %>', '<%=content.getSection().getBook().getName() %>', '<%=sessionBean.getTopicListPage().getCompleteTopicList().get(0).getId() %>', '<%=sessionBean.getUser().getId() %>', '<%=sessionBean.getApplicationBean().getExtractionInterfaceUrl()%>');">
+								 	<img title="Show Section in Extraction Interface" src="<%=sessionBean.getApplicationBean().getShowImage()%>">
+								</a>
+								
+							</td>
+							
+							
 							<td><%=content.getPage() %></td>
 							<td class="content"><%=content.getContent()%></td>
 							<td id="content_<%=content.getId() %>">
@@ -783,6 +796,7 @@
 								
 							</td>
 							
+						
 						</tr>
 						<%
 							}