field_edit_form.inc.php 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php defined('IN_PHPCMS') or exit('No permission resources.');?>
  2. <table cellpadding="2" cellspacing="1" width="98%">
  3. <tr>
  4. <td>菜单ID</td>
  5. <td><input type="text" id="linkageid" name="setting[linkageid]" value="<?php echo $setting['linkageid'];?>" size="5">
  6. <input type='button' value="在列表中选择" onclick="omnipotent('selectid','?m=admin&c=linkage&a=public_get_list','在列表中选择')" class="button">
  7. 请到导航 扩展 > 联动菜单 > 添加联动菜单</td>
  8. </tr>
  9. <tr>
  10. <td>显示方式</td>
  11. <td>
  12. <input name="setting[showtype]" value="0" type="radio" <?php if($setting['showtype']==0) echo 'checked';?>>
  13. 只显示名称
  14. <input name="setting[showtype]" value="1" type="radio" <?php if($setting['showtype']==1) echo 'checked';?>>
  15. 显示完整路径
  16. <input name="setting[showtype]" value="2" type="radio" <?php if($setting['showtype']==2) echo 'checked';?>>
  17. 返回联动菜单id
  18. <input name="setting[showtype]" value="3" type="radio" <?php if($setting['showtype']==3) echo 'checked';?>>
  19. 返回菜单层级数组
  20. </td></tr>
  21. <tr>
  22. <td>路径分隔符</td>
  23. <td><input type="text" name="setting[space]" value="<?php echo $setting['space'];?>" size="5" class="input-text"> 显示完整路径时生效</td>
  24. </tr>
  25. <tr>
  26. <td>是否作为筛选字段</td>
  27. <td>
  28. <input type="radio" name="setting[filtertype]" value="1" <?php if($setting['filtertype']) echo 'checked';?> /> 是
  29. <input type="radio" name="setting[filtertype]" value="0" <?php if(!$setting['filtertype']) echo 'checked';?>/> 否
  30. </td>
  31. </tr>
  32. </table>