| 2041 | | function _insert_into_post_button($type) { |
| 2042 | | if ( !post_type_supports(get_post_type($_GET['post_id']), 'editor') ) |
| 2043 | | return ''; |
| 2044 | | |
| 2045 | | if ( 'image' == $type ) |
| 2046 | | return ' |
| 2047 | | <tr> |
| 2048 | | <td></td> |
| 2049 | | <td> |
| 2050 | | <input type="button" class="button" id="go_button" style="color:#bbb;" onclick="addExtImage.insert()" value="' . esc_attr__('Insert into Post') . '" /> |
| 2051 | | </td> |
| 2052 | | </tr> |
| 2053 | | '; |
| 2054 | | |
| 2055 | | return ' |
| 2056 | | <tr> |
| 2057 | | <td></td> |
| 2058 | | <td> |
| 2059 | | ' . get_submit_button( __( 'Insert into Post' ), 'button', 'insertonlybutton', false ) . ' |
| 2060 | | </td> |
| 2061 | | </tr> |
| 2062 | | '; |
| 2063 | | } |
| 2064 | | |