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

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

<HTML>
<%@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.server.setting"/>";
}
</script>

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



<console:form name="Server">
<!-- table containing :
Instance Name {editable}
Server root directory {fixed)
Temporary Files {editable}
-->
  <TABLE border="0" cellpadding="0" cellspacing="10" width="100%">
    <TR>
	<TD colspan="2" height="2">
	<DIV class="help-text"><searchadmin:text key="server.settings.desc"/></DIV>
	</TD>
    </TR>
    <%-- Restart server warning box --%>
    <tr>
     <td align="center" valign="top">
       <console:messagebox name="RestartWarning" imageURI="../console/images"/>
     </td>
    </tr>
    <%-- user's entry error messages --%>
    <tr>
       <td align="center" valign="top">
	    <console:messagebox name="errorMsgBox" imageURI="../console/images"/>
       </td>
    </tr>
  

    <TR>
	<TD colspan="2" height="2">
	<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
	    <TR>
	    <TD nowrap>
		<DIV class="properties-level3-label-text">
                  <searchadmin:text key="server.root"/>&nbsp;:&nbsp;
                </DIV>
	    </TD>
	    <TD nowrap>
		<jato:text  name="ServerRootText"/>
	    </TD>
	    </TR>

	    <TR>
	    <TD nowrap>
		<DIV class="properties-level3-label-text">
                  <LABEL FOR="server.temp">
                    <searchadmin:text key="server.temp"/>&nbsp;:&nbsp;
                  </LABEL>
                </DIV>
	    </TD>
	    <TD nowrap>
		<jato:textField size="60"  name="ServerTmpFilesText" elementId="server.temp"/>
	    </TD>
	    </TR>
	    
	    <TR>
	    <TD nowrap>
		<DIV class="properties-level3-label-text">
                  <LABEL FOR="server.docsecurity">
                    <searchadmin:text key="server.docsecurity"/>&nbsp;:&nbsp;
                  </LABEL>
                </DIV>
	    </TD>
	    <TD nowrap>
		<jato:radioButtons name="DocumentSecurityMode" elementId="server.docsecurity" layout="horizontal"/>
	    </TD>
	    </TR>

<%-- not tunable from admin
	    <TR>
	    <TD>
		<DIV class="properties-level3-label-text">
                  <LABEL FOR="server.docsecurity.manager">
                    <searchadmin:text key="server.docsecurity.manager"/>
                  </LABEL>
                </DIV>
	    </TD>
	    <TD>
		<jato:textField size="60" name="DocumentSecurityMgr" elementId="server.docsecurity.manager"/>
	    </TD>
	    </TR>
--%>
	</TABLE>
	</TD>
    </TR>
  </TABLE>
  <TABLE border=0 cellspacing=1 cellpadding=10 width="100%">
    <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="ServerButtonSubmit" />
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
		   <console:button name="ServerButtonReset" />
            </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>
