DedeCMS后台“内容模型管理-字段管理”中,我想点击提示文字直接进入编辑,如何添加?
打开文件:/dede/templets/mychannel_edit.htm,找到313行替换即可。
<td><a href='mychannel_field_edit.php?id=<?php echo $id; ?>&fname=<?php echo $ctag->GetTagName(); ?>&issystem=<?php echo $row['issystem'];
?>'>【<?php
$itname = $ctag->GetAtt('itemname');
if($itname=='') echo "没指定";
else echo $itname;
?>】
</a>