| 开启重定向 |
{form_toggle(['name'=>'type','type'=>'status'],[0=>'禁用',1=>'开启'],'type'|element:$redirect:1)}
|
保留URI参数 |
{form_toggle(['name'=>'holdpath','type'=>'status'],[0=>'不保留',1=>'保留'],'holdpath'|element:$redirect:1)}
|
| 重定向类型 |
{form_dropdown('domainorpath', ['domain'=>'域名','path'=>'路径'], 'domainorpath'|element:$redirect:'domain', 'id="domainorpath" class="form-control input-small"')}
|
重定向方式 |
{form_dropdown('redirecttype', ['301'=>'301','302'=>'302'], 'redirecttype'|element:$redirect:'301', 'class="form-control input-small"')}
|
| 重定向域名 |
{if $domain_list}
{form_toggle('redirectdomain[]',$domain_list,'redirectdomain'|element:$redirect,'checkbox')}
{else}
无可用域名!
{/if}
|