field_edit_form.inc.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php defined('IN_PHPCMS') or exit('No permission resources.');?>
  2. <table cellpadding="2" cellspacing="1" width="98%">
  3. <tr>
  4. <td>允许上传的文件类型</td>
  5. <td><input type="text" name="setting[upload_allowext]" value="<?php echo $setting['upload_allowext'];?>" size="40" class="input-text"></td>
  6. </tr>
  7. <tr>
  8. <td>是否从已上传中选择</td>
  9. <td><input type="radio" name="setting[isselectimage]" value="1" <?php if($setting['isselectimage']) echo 'checked';?>> 是 <input type="radio" name="setting[isselectimage]" value="0" <?php if(!$setting['isselectimage']) echo 'checked';?>> 否</td>
  10. </tr>
  11. <tr>
  12. <td>允许同时上传的个数</td>
  13. <td><input type="text" name="setting[upload_number]" value="<?php echo $setting['upload_number'];?>" size=3></td>
  14. </tr>
  15. <tr>
  16. <td>文件链接方式</td>
  17. <td>
  18. <input name="setting[downloadlink]" value="0" type="radio" <?php if(!$setting['downloadlink']) echo 'checked';?>>
  19. 链接到真实软件地址
  20. <input name="setting[downloadlink]" value="1" type="radio" <?php if($setting['downloadlink']) echo 'checked';?>>
  21. 链接到跳转页面
  22. </td>
  23. </tr>
  24. <tr>
  25. <td>文件下载方式</td>
  26. <td>
  27. <input name="setting[downloadtype]" value="0" type="radio" <?php if(!$setting['downloadtype']) echo 'checked';?>>
  28. 链接文件地址
  29. <input name="setting[downloadtype]" value="1" type="radio" <?php if($setting['downloadtype']) echo 'checked';?>>
  30. 通过PHP读取
  31. </td>
  32. </tr>
  33. </table>