<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<%@ page contentType="text/html; charset=Shift_JIS" %>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
<%@ taglib prefix="c" uri="/WEB-INF/tlds/c.tld"%>
<jsp:useBean id="version" class="jp.co.orangesoft.xgate.XGateVersion" />

<html:html>
<head>
  <title>xGate動作環境設定</title>
  <script language="javascript">
  <!--
  function openHelp(name){
    window.open("%%base%%help/ja/"+name+".html","Newwindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=350");
    window.blur();
  }
  -->
  </script>
  <link rel="stylesheet" href="../../css/default.css" type="text/css">
  <link rel="stylesheet" href="../../css/admin.css" type="text/css">
  <link rel="stylesheet" href="../../css/configsetup.css" type="text/css">
</head>

<body>

<div class="waku" style="width: 50em;">

<div class="title_bar">アクセス制御</div>

<html:form action="/configsetup/aclForm?cmd=commit">

<div style="padding: 2em;">

<table border="1" width="100%" border="0" cellspacing="0" cellpadding="4" style="border-collapse: collapse;background-color: white;">
  <tr>
    <th>アクセス許可</th>
    <th align="center">種別</th>
    <th align="left">アドレス情報</th>
  </tr>
  <logic:iterate id="acl" name="configsetupAclForm" property="acls">
    <tr>
    	<td>
          <html:select name="acl" property="allow" indexed="true">
            <html:option value="yes">○許可</html:option>
            <html:option value="no">×禁止</html:option>
          </html:select>
         </td>
    	<td align="left">　<bean:write name="acl" property="name"/></td>
    	<td align="left"><html:text name="acl" property="settings" size="40" indexed="true"/></td>
  	</tr>
  </logic:iterate>
</table>

</div>

<div>
  <html:errors/>
</div>

<div>
  <input type="hidden" name="lang" value="ja" class="cmd_btn">
  <input type="submit" value="登録" name="ptype" class="cmd_btn">
  <html:cancel value="キャンセル" styleClass="cmd_btn"/>
</div>

</html:form>
</div>

<%@ include file="/form/configsetup/footer.jsp" %>

</body>
</html:html>
