field_edit_form.inc.php 785 B

123456789101112131415
  1. <?php defined('IN_PHPCMS') or exit('No permission resources.');?>
  2. <table cellpadding="2" cellspacing="1" width="98%">
  3. <tr>
  4. <td width="100">文本框长度</td>
  5. <td><input type="text" name="setting[size]" value="<?php echo $setting['size'];?>" size="10" class="input-text"></td>
  6. </tr>
  7. <tr>
  8. <td>默认值</td>
  9. <td><input type="text" name="setting[defaultvalue]" value="<?php echo $setting['defaultvalue'];?>" size="40" class="input-text"></td>
  10. </tr>
  11. <tr>
  12. <td>是否为密码框</td>
  13. <td><input type="radio" name="setting[ispassword]" value="1" <?php if($setting['ispassword']) echo 'checked';?>> 是 <input type="radio" name="setting[ispassword]" value="0" <?php if(!$setting['ispassword']) echo 'checked';?>> 否</td>
  14. </tr>
  15. </table>