这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 | 上一修订版 两侧同时换到之后的修订记录 | ||
zblogphp:development:plugin:interfaces:filter_plugin_edit_response [2020/07/25 14:47] 唐朝 创建 |
zblogphp:development:plugin:interfaces:filter_plugin_edit_response [2020/07/25 14:48] 唐朝 |
||
---|---|---|---|
行 7: | 行 7: | ||
function tc_edit_response() { | function tc_edit_response() { | ||
- | + | global $zbp,$article; | |
- | global $zbp,$article; | + | |
echo "<script type=\"text/javascript\" src=\"{$zbp->host}zb_users/plugin/YT_Image/script/lib.upload.js\"></script>"; | echo "<script type=\"text/javascript\" src=\"{$zbp->host}zb_users/plugin/YT_Image/script/lib.upload.js\"></script>"; | ||
- | echo '<table id="nbdiany"> | + | echo '<table id="nbdiany"><p align="left" class="uploadimg">缩略图:<input name="meta_ytimage" id="edtTitle" type="text" class="uplod_img" style="width: 60%;" value="'.$article->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="'.$article->Metas->ytimage.'" target="_blank"><img src="'.$article->Metas->ytimage.'" width="22px" height="22px"></a></p>'; |
- | <p align="left" class="uploadimg">缩略图: | + | |
- | <input name="meta_ytimage" id="edtTitle" type="text" class="uplod_img" style="width: 60%;" value="'.$article->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="'.$article->Metas->ytimage.'" target="_blank"><img src="'.$article->Metas->ytimage.'" width="22px" height="22px"></a></p>'; | + | |
echo '</table>'; | echo '</table>'; | ||
} | } | ||
</code> | </code> |