本接口位于分类编辑页的最下方
案例(添加一个图片属性的字段):
function ActivePlugin_tc_cs() { Add_Filter_Plugin('Filter_Plugin_Category_Edit_Response','ytecn_category_edit_response'); } function ytecn_category_edit_response() { global $zbp,$cate; echo "<script type=\"text/javascript\" src=\"{$zbp->host}zb_users/plugin/YT_Image/script/lib.upload.js\"></script>"; echo '<table id="nbdiany"><p align="left" class="uploadimg">缩略图:<input name="meta_ytimage" id="edtTitle" type="text" class="uplod_img" style="width: 60%;" value="'.$cate->Metas->ytimage.'" /><strong class="button" style="color: #ffffff;font-size: 1.1em;height: 29px;padding: 6px 18px 6px 18px;margin: 0 0.5em;background: #3a6ea5;border: 1px solid #3399cc;cursor: pointer;">浏览文件</strong><a href="'.$cate->Metas->ytimage.'" target="_blank"><img src="'.$cate->Metas->ytimage.'" width="22px" height="22px"></a></p>'; echo '</table>'; }