{block name=body} {form_open('','class="form-parsley form-horizontal m-b-none" target="iframeNew"')} {_('站点域名')} {form_input('domain', element('domain',$row,''), 'id="domain" class="form-control input-small"')} {if element('nat_mod',$order.cluster.config) !='bt'} {_('外网端口')} 80 443 {_('外网协议')} HTTP HTTPS {/if} {_('内网端口')} {form_input('inner_port', element('inner_port',$row,'80'), 'id="inner_port" class="form-control input-small"')} {if element('nat_mod',$order.cluster.config) !='bt'} {_('内网协议')} HTTP HTTPS {else} {_('是否缓存')} {form_toggle('is_cache',[0=>_('否'),1=>_('是')],element('is_cache',$row,0))} {/if} {form_hidden('submit',1)} {_('确认添加')} {form_close()} {/block}