+ <div id="submitdiv" class="postbox">
+ <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div>
+ <h3 class="hndle"><?php _e('Press This') ?></h3>
+ <div class="inside">
+ <p id="publishing-actions">
+ <?php
+ submit_button( __( 'Save Draft' ), 'button', 'draft', false, array( 'id' => 'save' ) );
+ if ( current_user_can('publish_posts') ) {
+ submit_button( __( 'Publish' ), 'primary', 'publish', false );
+ } else {
+ echo '<br /><br />';
+ submit_button( __( 'Submit for Review' ), 'primary', 'review', false );
+ } ?>
+ <span class="spinner" style="display: none;"></span>
+ </p>
+ <?php if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) :
+ $post_formats = get_theme_support( 'post-formats' );
+ if ( is_array( $post_formats[0] ) ) :
+ $default_format = get_option( 'default_post_format', '0' );
+ ?>
+ <p>
+ <label for="post_format"><?php _e( 'Post Format:' ); ?>
+ <select name="post_format" id="post_format">
+ <option value="0"><?php echo get_post_format_string( 'standard' ); ?></option>
+ <?php foreach ( $post_formats[0] as $format ): ?>
+ <option<?php selected( $default_format, $format ); ?> value="<?php echo esc_attr( $format ); ?>"> <?php echo esc_html( get_post_format_string( $format ) ); ?></option>
+ <?php endforeach; ?>
+ </select></label>
+ </p>
+ <?php endif; endif; ?>
+ </div>
+ </div>
+
+ <?php $tax = get_taxonomy( 'category' ); ?>
+ <div id="categorydiv" class="postbox">
+ <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div>
+ <h3 class="hndle"><?php _e('Categories') ?></h3>