<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ice="http://www.icesoft.com/icefaces/component"                
                xmlns:ncia="http://imaging.nci.nih.gov/ncia">
                
                


<h:form id="searchForm">
  <table class="contentPage" cellspacing="0" cellpadding="0" width="600"
         summary="" border="0">
    <tbody>
	  <tr>
        <td>
		  <h2>
            <h:outputText rendered="#{!searchWorkflowBean.advanced}"
			              value="#{msg.common_simpleSearch}" /> 
            <h:outputText rendered="#{searchWorkflowBean.advanced}"
                          value="#{msg.common_advSearch}" /> 
          </h2>
          <div align="center" style="font-size: 1.4em">
            <h:inputHidden id="editQueryMessage" /> 
            <h:message for="editQueryMessage"
                       errorClass="errorLabel" 
                       infoClass="infoLabel" /> 
          </div>
          <br/>
          <div align="center">
            <h:outputText value="#{msg.search_seriesLevel}" />
          </div>
          <br/>
          <div align="center">
            <h:outputText value="#{msg.search_criteriaAnded}" />
          </div>
          <br/>
          <div align="center">
            <h:outputText value="#{msg.search_default}" />
          </div>
        </td>
        <td valign="top">
          <f:subview id="simpleSearchHelp"
                     rendered="#{!searchWorkflowBean.advanced}">                     
            <ncia:help label="images/help_icon.png"
                       helpId="simple_search_help" />         
          </f:subview> 
          <f:subview id="advancedSearchHelp"
                     rendered="#{searchWorkflowBean.advanced}">
            <ncia:help label="images/help_icon.png"
                       helpId="advanced_search_help" />
          </f:subview>
        </td>
      </tr>
      <tr>
        <td colspan="2" valign="top">
          <div align="center"></div>
          <table width="100%" border="0" cellspacing="0" cellpadding="2">
            <tr>
              <td>
                <div align="right"> 
                  <h:commandButton id="switchToAdvancedSearchButton"
                                   action="#{searchWorkflowBean.switchSearch}"
                                   image="images/advanced.gif"
                                   rendered="#{!searchWorkflowBean.advanced}" 
                                   immediate="true" />
                  <h:commandButton action="#{searchWorkflowBean.switchSearch}"
                                   image="images/simple.gif"
                                   rendered="#{searchWorkflowBean.advanced}" 
                                   immediate="true" /> 
                 <h:commandButton action="#{searchWorkflowBean.newDynamicSearch}"
                                  image="images/dyanic.gif"
                                  immediate="true" /> 
                </div>
              </td>
            </tr>
          </table>         
                              <commit_msg>new help links<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ice="http://www.icesoft.com/icefaces/component"                
                xmlns:ncia="http://imaging.nci.nih.gov/ncia">
                
                


<h:form id="searchForm">
  <table class="contentPage" cellspacing="0" cellpadding="0" width="600"
         summary="" border="0">
    <tbody>
	  <tr>
        <td>
		  <h2>
            <h:outputText rendered="#{!searchWorkflowBean.advanced}"
			              value="#{msg.common_simpleSearch}" /> 
            <h:outputText rendered="#{searchWorkflowBean.advanced}"
                          value="#{msg.common_advSearch}" /> 
          </h2>
          <div align="center" style="font-size: 1.4em">
            <h:inputHidden id="editQueryMessage" /> 
            <h:message for="editQueryMessage"
                       errorClass="errorLabel" 
                       infoClass="infoLabel" /> 
          </div>
          <br/>
          <div align="center">
            <h:outputText value="#{msg.search_seriesLevel}" />
          </div>
          <br/>
          <div align="center">
            <h:outputText value="#{msg.search_criteriaAnded}" />
          </div>
          <br/>
          <div align="center">
            <h:outputText value="#{msg.search_default}" />
          </div>
        </td>
        <td valign="top">
          <f:subview id="simpleSearchHelp"
                     rendered="#{!searchWorkflowBean.advanced}">                     
            <ncia:help label="images/help_icon.png"
                       helpId="2+-+Searching+NBIA+for+Images#id-2-SearchingNBIAforImages-PerformingaSimpleSearch" />         
          </f:subview> 
          <f:subview id="advancedSearchHelp"
                     rendered="#{searchWorkflowBean.advanced}">
            <ncia:help label="images/help_icon.png"
                       helpId="2+-+Searching+NBIA+for+Images#id-2-SearchingNBIAforImages-PerforminganAdvancedSearch" />
          </f:subview>
        </td>
      </tr>
      <tr>
        <td colspan="2" valign="top">
          <div align="center"></div>
          <table width="100%" border="0" cellspacing="0" cellpadding="2">
            <tr>
              <td>
                <div align="right"> 
                  <h:commandButton id="switchToAdvancedSearchButton"
                                   action="#{searchWorkflowBean.switchSearch}"
                                   image="images/advanced.gif"
                                   rendered="#{!searchWorkflowBean.advanced}" 
                                   immediate="true" />
                  <h:commandButton action="#{searchWorkflowBean.switchSearch}"
                                   image="images/simple.gif"
                                   rendered="#{searchWorkflowBean.advanced}" 
                                   immediate="true" /> 
                 <h:commandButton action="#{searchWorkflowBean.newDynamicSearch}"
                                  image="images/dyanic.gif"
                                  immediate="true" /> 
                </div>
              </td>
            </tr>
          </table>         
                              
{'fraction_non_alphanumeric': 0.14033564814814814, 'fraction_numerical': 0.008101851851851851, 'mean_word_length': 1.3764180130629082, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 2, '>': 109, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6542103', 'n_tokens_mistral': 1973, 'n_tokens_neox': 1816, 'n_words': 240}