{extends file='../../layouts/member_index.html'} {block name=body} {form_open('','class="form-parsley form-horizontal m-b-none" target="iframeNew"')} IP{_('地址')}: {form_input('ip',element('ip',$security,''), 'class="form-control input-small"')} {_('子网掩码')}: {form_input('mask',element('mask',$security,''), 'class="form-control input-small"')} 设单IP不需要填写子网掩码。 设IP地址为128.1.1.0,子网掩码为255.255.255.0,则表示128.1.1.*整个IP段。 {_('通行规则')}: {form_dropdown('allow', ['1'=>_('允许'),'0'=>_('拒绝')], element('allow',$security,'1'), 'class="form-control input-small"')} {form_hidden('submit',1)} 提交 {form_close()} {/block}