"; wp_nonce_field('add-post'); } else { $post_ID = (int) $post_ID; $form_action = 'editpost'; $form_extra = ""; wp_nonce_field('update-post_' . $post_ID); } $form_pingback = ''; $form_prevstatus = ''; $form_trackback = 'to_ping) ) .'" />'; if ('' != $post->pinged) { $pings = '

'. __('Already pinged:') . '

'; } $saveasdraft = ''; ?> post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?>

ID); if ($post->ID && $sample_permalink_html): ?>

post_content); ?>
post_status ) { ?>

post_status ) $time = __('Scheduled for:
%1$s at %2$s'); else if ( 'publish' == $post->post_status ) $time = __('Published on:
%1$s at %2$s'); else $time = __('Saved on:
%1$s at %2$s'); ?>

post_date), mysql2date(get_option('time_format'), $post->post_date)); ?>

post_status, array('publish', 'future') ) || 0 == $post_ID ) { ?> post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . ""; ?>
post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>

0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category') ) ); ?>

' . __('This feature requires iframe support.') . ''; } ?>

()

id ); // TODO: ROLE SYSTEM if ( $post->post_author && !in_array($post->post_author, $authors) ) $authors[] = $post->post_author; if ( $authors && count( $authors ) > 1 ) : ?>

$authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>