<?php !empty($permission) && extract($permission);?>
<fieldset>
    <legend></legend>
    <table class="tab">
    	<tr>
    		<th>允许上传附件</th>
    		<td><?php echo CHtml::radioButtonList('p[isuploadatt]',$isuploadatt,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许下载附件</th>
    		<td><?php echo CHtml::radioButtonList('p[isdownloadatt]',$isdownloadatt,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>每日上传附件数量</th>
    		<td><?php echo CHtml::textField('p[uploadattlimit]',$uploadattlimit);?>(0表示不限制)</td>
    	</tr>
    	<tr>
    		<th>每日下载附件数量</th>
    		<td><?php echo CHtml::textField('p[downloadattlimit]',$downloadattlimit);?>(0表示不限制)</td>
    	</tr>
    	<tr>
    		<th>允许上传的附件后缀</th>
    		<td><?php echo CHtml::textField('p[attextensions]',$attextensions);?></td>
    	</tr>
    	<tr>
    		<th>最大附件尺寸(字节)</th>
    		<td><?php echo CHtml::textField('p[attsize]',$attsize);?></td>
    	</tr>
	</table>
</fieldset>