{#include file="sys/admin_header.htm"#}
<div class="admin_main_nr_dbox">
 <div class="pagetit">
	<div class="ptit"> {#$pageheader#}</div>
	{#include file="safety/admin_safety_nav.htm"#}
  <div class="clear"></div>
</div>
 

 <div class="toptit">CSRF防御</div>
 <form action="?act=setsave" method="post"  name="form1" id="form1">
 {#$inputtoken#}
	  <table width="700" border="0" cellspacing="10" cellpadding="1" style=" margin-bottom:3px;">
        <tr>
          <td width="162" align="right">开启CSRF防御：</td>
          <td>
		  
		  <label>
        <input name="open_csrf" type="radio" id="open_csrf" value="1"  {#if $config.open_csrf=="1"#}checked=checked {#/if#}/>开启</label>
&nbsp;&nbsp;&nbsp;&nbsp;
<label >
<input type="radio" name="open_csrf" value="0" id="open_csrf"  {#if $config.open_csrf=="0"#}checked=checked{#/if#}/>关闭</label>
		<span class="admin_note">开启后可有效防御CSRF攻击、跨域提交数据、重复提交表单等操作。</span>  
		  </td>
        </tr>
        <tr>
          <td align="right">&nbsp;</td>
          <td>
            <input name="submit2" type="submit" class="admin_submit"    value="保存修改"/>          </td>
        </tr>
      </table>
  </form>

</div>
{#include file="sys/admin_footer.htm"#}
</body>
</html>