<%--
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%-- SiteProbe.jsp --%>

<%@page info="SiteProbe" language="java"%>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@taglib uri="/WEB-INF/console.tld" prefix="console"%>
<%@taglib uri="/WEB-INF/searchadmin.tld" prefix="searchadmin"%>

<jato:useViewBean className="com.sun.portal.search.admin.SiteProbeViewBean"> 
<jsp:useBean id="viewBean" type="com.sun.portal.search.admin.SiteProbeViewBean" />

<HTML>

<TITLE><searchadmin:text key="siteprobe.title"/></TITLE>
<%@include file="/ps/searchadmin/CSHeader.jsp"%>
<script language="javascript" src="../ps/searchadmin/js/urlmagic.js"></script>
<script language="javascript">
if (parent.headerFrame) {
    parent.headerFrame.helpDocURL = "<jato:text name="helpDocURL"/>";
    parent.headerFrame.helpPage = "<searchadmin:text key="help.robot.siteprobe"/>";
}
</script>

<searchadmin:AdminMenu selected="SiteProbe" images="../ps/searchadmin/images"/>


<console:form name="SiteProbe" defaultCommandChild="/OKButton">

<TABLE border="0" cellpadding="0" cellspacing="10" width="100%">

    <TR>
	<TD colspan="2" height="2">
	<DIV class="help-text"><searchadmin:text key="robot.siteprobe.desc"/></DIV>
	</TD>
    </TR>

    <TR>
	<TD colspan="2" height="2">
	<TABLE cellSpacing=1 cellPadding=1 border=0>
	    <TR>
	    <TD>
	    <DIV class="properties-level3-label-text"><searchadmin:text key="robot.siteprobe.site" label="site"/>&nbsp;:&nbsp;</DIV>
	    </TD>
	    <TD>
		<jato:textField name="URLText" 
		    elementId="site"
		    fireDisplayEvents="true"
		    size="40"
		    />
	    </TD>
	    </TR>
	    <TR>
	    <TD colSpan=2>
		<DIV class="properties-level3-label-text">
		<jato:checkbox name="showDNS" elementId="robot.siteprobe.showadv" />
		<LABEL for="robot.siteprobe.showadv"><searchadmin:text key="robot.siteprobe.showadv"/></LABEL>
		</DIV>
	    </TD>
	    </TR>
	</TABLE>
	</TD>
    </TR>

    <TR>
	<TD colspan="2" height="2">
	<jato:text name="RunResult" escape="false" />
	</TD>
    </TR>

    <TR> 
      <TD width="50%" height="2"> </TD>
      <TD align="right" width="50%" height="2"> 
        <TABLE border="0" cellpadding="0" cellspacing="0">
          <TR> 
            <TD> 
		<console:button name="OKButton" onClick="return validateServer(document.forms['SiteProbe'].elements['SiteProbe.URLText'],'')" />
	    </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
		   <console:button name="ResetButton" />
            </TD>
            <TD><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD>  </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>

</TABLE>

</console:form>

</body>
<script language="javascript">
pageLoaded = 1;
</script>

</HTML>
</jato:useViewBean>
