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

<%@page info="ExcludedURLs" 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.ExcludedURLsViewBean"> 
<jsp:useBean id="viewBean" type="com.sun.portal.search.admin.ExcludedURLsViewBean" />

<HTML>
<TITLE><searchadmin:text key="excludedurls.title"/></TITLE>
<%@include file="/ps/searchadmin/CSHeader.jsp"%>
<script language="javascript">
if (parent.headerFrame) {
    parent.headerFrame.helpDocURL = "<jato:text name="helpDocURL"/>";
    parent.headerFrame.helpPage = "<searchadmin:text key="help.report.excluded"/>";
}
</script>

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

<console:form name="ExcludedURLs">

<TABLE border="0" cellpadding="0" cellspacing="10" width="100%">
    <TR> 
      <TD COLSPAN=2 class="help-text"><searchadmin:text key="excludedurls.desc"/></TD>
    </TR>

    <jato:content name="NeverRun">
    <TR>
    <TD COLSPAN=2 class="help-text"><searchadmin:text key="excludedurls.neverrun"/></TD>
    </TR>
    </jato:content>

    <jato:content name="EverRun">
    <TR>
    <TD VALIGN="top">
	<!------------------------  First Column Table = Selector    -->
	<TABLE BORDER=0>
	<TR>
	    <TH align=right><LABEL for="log"><searchadmin:text key="log.text"/>&nbsp;:&nbsp;</LABEL></TH>
	    <TD><jato:comboBox name="RunList" elementId="log" />
	    </TD>
	</TR>
	<TR>
	    <Th align=right>&nbsp;</Th>
	    <TD><console:button name="ViewButton" />
	</TR>
	</TABLE>
   </TD>
   <TD>
	<!-- 2nd Column Table = Reasons -->
	<jato:content name="ReasonSection">
	<TABLE BORDER=0 cellpadding=2 WIDTH="100%">
	<TR>
	    <TH align="Right"><searchadmin:text key="excludedurls.count"/></th>
	    <TH align="left"><searchadmin:text key="excludedurls.reason"/></th>
	</TR>

	<jato:tiledView name="ReasonList">
	<TR>
	    <TD VALIGN="top" ALIGN="right"><jato:text name="SubTotal"/></TD>
	    <TD VALIGN="top" ALIGN="left">
	    <jato:href name="ReasonLink">
	    <jato:text name="ReasonText"/>
	    </jato:href>
	    </TD>
	</TR>
	</jato:tiledView>

	<TR>
	    <TD COLSPAN="2">
		<hr>
	    </TD>
	</TR>
	<TR>    
	    <TD align="right"><jato:text name="Total"/></td>
	    <TD align"left"><searchadmin:text key="excludedurls.total"/></td>
	</TR>
	</TABLE>
	</jato:content>
    </TD>
    </TR>
    
    <jato:content name="URLListSection">
    <TR> 
      <TD colspan="2" height="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
          <TR> 
            <TD nowrap> 
              <DIV class="properties-level1-label-text"><jato:text name="Reason"/>&nbsp;<searchadmin:text key="excludedurls.reason.separator"/>&nbsp;<jato:text name="SubTotal"/> <searchadmin:text key="urls"/></DIV>
            </TD>
            <TD valign="bottom" width="99%"> 
		<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
		    <TR> 
		    <TD valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></TD>
		    </TR>
		</TABLE>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>

    <TR>
	<TD colspan="2" height="2" class="help-text"> 
	    <jato:text name="ReasonDesc" escape="false"/>
	</TD>
    </TR>
    <TR>
	<TD colspan="2" height="2"> 
	<TABLE BORDER=0 width="100%">
	    
	    <jato:tiledView name="FilteredList">
	    <TR>
	    <TD VALIGN="top">
		<jato:text name="FilteredURL" escape="false"/>
	    </TD>
	    </TR>
	    </jato:tiledView>
	</TABLE>
    </TR>
    </jato:content>
    </jato:content>

</TABLE>

</console:form>

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

</HTML>
</jato:useViewBean>
