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

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

<HTML>
<TITLE><searchadmin:text key="logs.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.logs"/>";
}
</script>

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

<console:form name="Logs" defaultCommandChild="/LOGButton">


<TABLE border="0" cellpadding="0" cellspacing="10" width="100%">
<TR><TD class="help-text"><searchadmin:text key="log.viewer.desc"/></TD>  
</TR>
<TR>
	<TD align="center" height="2">
	 <console:messagebox name="MessageBox" fireDisplayEvents="true" imageURI="../console/images"/>
	 </TD>
    </TR>

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

<div class="table-normal-text"><LABEL FOR="sf"><searchadmin:text key="log.viewer.selectfile"/>&nbsp;:&nbsp;</label></div></TD>
	<TD><jato:combobox name="VLogCombo"  elementId="sf" /></TD>
</TR>
<TR>
	<TD><div class="table-normal-text"><LABEL FOR="sn"><searchadmin:text key="log.viewer.selectnumber"/>&nbsp;:&nbsp;</label></div></TD>
	<TD><jato:textField  name="NLinesText" size="6"  elementId="sn"/> </TD>
</TR>
<tr>
<td><div class="table-normal-text">&nbsp;</div></td>
<td><console:button name="LOGButton" /></td>
</tr>
</table>
</table>


<!--     ------------FOOTER Block----------------       -->

<hr>


<jato:text name="LogResult" escape="false" />

<SCRIPT language="JavaScript">


</SCRIPT>

</console:form>

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

</HTML>
</jato:useViewBean>
