Changeset 458641
- Timestamp:
- 11/02/2011 01:14:27 PM (14 years ago)
- File:
-
- 1 edited
-
qqpress/trunk/qqpress.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
qqpress/trunk/qqpress.php
r457789 r458641 402 402 403 403 return $resp["data"]["id"]; 404 }405 406 //在文章发布页增加是否同步到微博的复选框407 add_action('admin_menu', 'qqweibo_option_menu');408 function qqweibo_option_menu() {409 if( function_exists('add_meta_box')) {410 add_meta_box('qqweibo_meta_box', __( '腾讯微博同步设置'), 'inner_qqweibo_option_menu', 'post', 'advanced');411 }412 }413 414 function inner_weibo_option_menu($post) {415 echo '<label for="myplugin_new_field">同步到腾讯微博</label>';416 echo '<input name="istoqq" type="checkbox" value="1" checked />';417 404 } 418 405
Note: See TracChangeset
for help on using the changeset viewer.