<commit_before><%

/**
 * 
 * $Id: searchTableOfContents.jsp,v 1.7 2006-08-15 15:24:28 pandyas Exp $
 * 
 * $Log: not supported by cvs2svn $
 * Revision 1.6  2006/05/10 14:23:14  schroedn
 * New Features - Changes from code review
 *
 *
 */

%>

<%@ include file="/jsp/header.jsp" %>
<%@ include file="/jsp/sidebar.jsp" %>
<%@ page import='gov.nih.nci.camod.Constants.*' %>
<%@ page import='gov.nih.nci.camod.Constants' %>

<TABLE cellpadding="0" cellspacing="0" border="0" class="contentBegins" width="100%" height="100%">
<tr><td>
<!-- Took this out of sidebar.jsp and has to go here to format correctly -->
<%@ include file="/jsp/searchMenu.jsp" %>
	<TABLE cellpadding="10" cellspacing="0" border="0" class="contentBegins" width="60%" height="100%">
	<tr><td>
	<TABLE summary="" cellpadding="3" cellspacing="0" border="0" align="left">

		<tr>
            <logic:messagesPresent>
                <td>
                    <TABLE width="100%">
                        <tr>
				        <br>
						<b><font color=red>
						    <html:messages id="errors">
							    <%=errors %>
						    </html:messages>
						</font></b>
		               </tr>
		           </TABLE>
		       </td>
		    </logic:messagesPresent>
		</tr>
				
		<tr>
			<td class="formTitle" height="20" colspan="3">Table of Contents
				<camod:cshelp topic="toc_help" key="ignore" image="/camod/images/iconHelp.gif" text=""/></td>		
		</tr>	
			<c:set var="groupList" value="${TOC_QUERY_RESULTS}"/>
			<c:if test="${not empty groupList}">
			    <c:forEach var="group" items="${groupList}">
			        <tr><td></td></tr>
			  	    <tr>
				        <td class="formTitleBlue" height="20" colspan="3"><c:out value="${group.description}"/></td>				
			        </tr>		
			        <c:forEach var="query" items="${group.queries}">
			            <tr>
				            <td class="resultsBoxWhiteEnd">
				                <ul><li>
				                <html:link action="ViewTOCSearchResultsAction.do" paramId="<%=Constants.Parameters.TOCQUERYKEY%>" paramName="query" paramProperty="key" >
				                    <c:out escapeXml="false" value="${query.description}" /> ( <c:out value="${query.size}" /> )
	                            </html:link>
	                            </li></ul>
				            </td>
			            </tr>
			        </c:forEach>
			    </c:forEach>
		    </c:if>
	</TABLE>
	</td></tr>
	</TABLE>	<commit_msg>Modified for help files and user guide fix<commit_after><%

/**
 * 
 * $Id: searchTableOfContents.jsp,v 1.7 2006-08-15 15:24:28 pandyas Exp $
 * 
 * $Log: not supported by cvs2svn $
 * Revision 1.6  2006/05/10 14:23:14  schroedn
 * New Features - Changes from code review
 *
 *
 */

%>

<%@ include file="/jsp/header.jsp" %>
<%@ include file="/jsp/sidebar.jsp" %>
<%@ page import='gov.nih.nci.camod.Constants.*' %>
<%@ page import='gov.nih.nci.camod.Constants' %>

<TABLE cellpadding="0" cellspacing="0" border="0" class="contentBegins" width="100%" height="100%">
<tr><td>
<!-- Took this out of sidebar.jsp and has to go here to format correctly -->
<%@ include file="/jsp/searchMenu.jsp" %>

	<TABLE summary="" cellpadding="10" cellspacing="0" border="0" align="left" width="60%">

		<tr>
            <logic:messagesPresent>
                <td>
                    <TABLE width="100%">
                        <tr>
				        <br>
						<b><font color=red>
						    <html:messages id="errors">
							    <%=errors %>
						    </html:messages>
						</font></b>
		               </tr>
		           </TABLE>
		       </td>
		    </logic:messagesPresent>
		</tr>
				
		<tr>
			<td class="formTitle" height="20" colspan="3">Table of Contents
				<camod:cshelp topic="toc_help" key="ignore" image="/camod/images/iconHelp.gif" text=""/></td>		
		</tr>	
			<c:set var="groupList" value="${TOC_QUERY_RESULTS}"/>
			<c:if test="${not empty groupList}">
			    <c:forEach var="group" items="${groupList}">
			        <tr><td></td></tr>
			  	    <tr>
				        <td class="formTitleBlue" height="20" colspan="3"><c:out value="${group.description}"/></td>				
			        </tr>		
			        <c:forEach var="query" items="${group.queries}">
			            <tr>
				            <td class="resultsBoxWhiteEnd">
				                <ul><li>
				                <html:link action="ViewTOCSearchResultsAction.do" paramId="<%=Constants.Parameters.TOCQUERYKEY%>" paramName="query" paramProperty="key" >
				                    <c:out escapeXml="false" value="${query.description}" /> ( <c:out value="${query.size}" /> )
	                            </html:link>
	                            </li></ul>
				            </td>
			            </tr>
			        </c:forEach>
			    </c:forEach>
		    </c:if>
	</TABLE>
{'fraction_non_alphanumeric': 0.18985723417856382, 'fraction_numerical': 0.025569997869166843, 'mean_word_length': 2.1293333333333333, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1883926', 'n_tokens_mistral': 1868, 'n_tokens_neox': 1498, 'n_words': 290}