<commit_before><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://www.extremecomponents.org" prefix="ec"%>
<%@taglib prefix="chrome" tagdir="/WEB-INF/tags/chrome" %>
<link rel="stylesheet" type="text/css"
	href="<c:url value="/css/extremecomponents.css"/>">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Search for a Study</title>
<script>
	function submitPage(s){
		document.getElementById("command").submit();
	}
	function navRollOver(obj, state) {
  		document.getElementById(obj).className = (state == 'on') ? 'resultsOver' : 'results';
	}
	function doNothing(){
	}

	function updateTargetPage(s){
		document.checkEligibility.nextView.value=s;
		document.checkEligibility.submit();
	}

	function resetSites(btn){
		var classValue= 'siteStudy_' + btn.value;
		$$('.sitesRadioBtn').each(function(input){
		   if(input.classNames().toArray().indexOf(classValue) < 0){
		   	  input.checked=false;
		   }
		});
	}
	
	function resetStudy(study_id){
		$$('.studyRadioBtn').each(function(input){
			if(input.classNames().toArray().indexOf(study_id) < 0){
				input.checked=false;
			}else{
				input.checked=true;
			}
		});
	}
</script>
</head>
<body>
<!-- TOP LOGOS END HERE -->
<!-- TOP NAVIGATION STARTS HERE -->

<chrome:box autopad="true">
    <form:form id="searchForm" method="post" cssClass="standard">
        <table border="0" cellspacing="0" cellpadding="0" class="search">
            <tr>
            </tr>
            <tr>
                <td class="searchType">
                    Search for a Study&nbsp;&nbsp;
                </td>
                <td><form:select path="studyType">
						<form:options items="${studySearchType}" itemLabel="desc"itemValue="code" />
					</form:select></td>
                <td><form:input path="studyText" size="25" /></td>
                <c:set var="targetPage" value="${assignType == 'study' ? '_target0' : '_target1'}"/>
                <td><input type="submit" value="Search" name="${targetPage}" alt="SEARCH" align="middle" width="22"
						height="10" border="0"></td>
            </tr>
            <tr>
                <td></td>
                <td colspan="4" class="notation">
                    <span class="labels">(<span class="red">*</span><em>Required Information</em>)</span>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    ^ Minimum two characters for search.
                </td>
            </tr>
        </table>
    </form:form>
</chrome:box>

<p id="instructions">
Please choose a Study and then press Save &amps; Continue to proceed 
</p>
<tags:tabForm tab="${tab}" flow="${flow}" title="Study search results">
    <jsp:attribute name="singleFields">
        <tags:tabFields tab="${tab}" />
                    <ec:table autoIncludeParameters="false" items="command.studies" var="study" 
                        action="${pageContext.request.contextPath}/pages/newParticipant"
                        imagePath="${pageContext.request.contextPath}/images/table/*.gif"
                        filterable="false"
                        showPagination="false" form="command"
                        cellspacing="0" cellpadding="0" border="0" width="80%" style=""
                        styleClass="">
                        <ec:row highlightRow="true">
                            <ec:column property="kk" style="width:10px" filterable="false"
                                sortable="false" title=" ">
                                <form:radiobutton path="studyId" cssClass="studyRadioBtn studyId_${study.id}" value="${study.id}" onclick="javascript:resetSites(this);"/>
                            </ec:column><commit_msg>fixed spelling error. Changed &amp to &. - Karthik<commit_after><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://www.extremecomponents.org" prefix="ec"%>
<%@taglib prefix="chrome" tagdir="/WEB-INF/tags/chrome" %>
<link rel="stylesheet" type="text/css"
	href="<c:url value="/css/extremecomponents.css"/>">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Search for a Study</title>
<script>
	function submitPage(s){
		document.getElementById("command").submit();
	}
	function navRollOver(obj, state) {
  		document.getElementById(obj).className = (state == 'on') ? 'resultsOver' : 'results';
	}
	function doNothing(){
	}

	function updateTargetPage(s){
		document.checkEligibility.nextView.value=s;
		document.checkEligibility.submit();
	}

	function resetSites(btn){
		var classValue= 'siteStudy_' + btn.value;
		$$('.sitesRadioBtn').each(function(input){
		   if(input.classNames().toArray().indexOf(classValue) < 0){
		   	  input.checked=false;
		   }
		});
	}
	
	function resetStudy(study_id){
		$$('.studyRadioBtn').each(function(input){
			if(input.classNames().toArray().indexOf(study_id) < 0){
				input.checked=false;
			}else{
				input.checked=true;
			}
		});
	}
</script>
</head>
<body>
<!-- TOP LOGOS END HERE -->
<!-- TOP NAVIGATION STARTS HERE -->

<chrome:box autopad="true">
    <form:form id="searchForm" method="post" cssClass="standard">
        <table border="0" cellspacing="0" cellpadding="0" class="search">
            <tr>
            </tr>
            <tr>
                <td class="searchType">
                    Search for a Study&nbsp;&nbsp;
                </td>
                <td><form:select path="studyType">
						<form:options items="${studySearchType}" itemLabel="desc"itemValue="code" />
					</form:select></td>
                <td><form:input path="studyText" size="25" /></td>
                <c:set var="targetPage" value="${assignType == 'study' ? '_target0' : '_target1'}"/>
                <td><input type="submit" value="Search" name="${targetPage}" alt="SEARCH" align="middle" width="22"
						height="10" border="0"></td>
            </tr>
            <tr>
                <td></td>
                <td colspan="4" class="notation">
                    <span class="labels">(<span class="red">*</span><em>Required Information</em>)</span>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    ^ Minimum two characters for search.
                </td>
            </tr>
        </table>
    </form:form>
</chrome:box>

<p id="instructions">
Please choose a Study and then press Save & Continue to proceed 
</p>
<tags:tabForm tab="${tab}" flow="${flow}" title="Study search results">
    <jsp:attribute name="singleFields">
        <tags:tabFields tab="${tab}" />
                    <ec:table autoIncludeParameters="false" items="command.studies" var="study" 
                        action="${pageContext.request.contextPath}/pages/newParticipant"
                        imagePath="${pageContext.request.contextPath}/images/table/*.gif"
                        filterable="false"
                        showPagination="false" form="command"
                        cellspacing="0" cellpadding="0" border="0" width="80%" style=""
                        styleClass="">
                        <ec:row highlightRow="true">
                            <ec:column property="kk" style="width:10px" filterable="false"
                                sortable="false" title=" ">
                                <form:radiobutton path="studyId" cssClass="studyRadioBtn studyId_${study.id}" value="${study.id}" onclick="javascript:resetSites(this);"/>
                            </ec:column>
{'fraction_non_alphanumeric': 0.18331716779825413, 'fraction_numerical': 0.008001939864209506, 'mean_word_length': 2.6957885304659497, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, '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': '5832928', 'n_tokens_mistral': 2711, 'n_tokens_neox': 2463, 'n_words': 430}