-
+
post_content); ?>
@@ -205,23 +221,22 @@ endif; ?>
-
-
-
-
-
+
-
- 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
+
+ 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
@@ -241,12 +256,13 @@ endif; ?>
-
-
-
+
@@ -254,32 +270,41 @@ endif; ?>
-
-
-
+
+
use them in your template'); ?>
-
-
+to_ping) ) .'" />';
+ if ('' != $post->pinged) {
+ $pings = '
'. __('Already pinged:') . '
';
+ $already_pinged = explode("\n", trim($post->pinged));
+ foreach ($already_pinged as $pinged_url) {
+ $pings .= "\n\t- " . wp_specialchars($pinged_url) . "
";
+ }
+ $pings .= '
';
+ }
-
-
-
-
()
+?>
+
()
pingbacks, no other action necessary.'); ?>
-
-
+}
+add_meta_box('trackbacksdiv', __('Trackbacks'), 'post_trackback_meta_box', 'post', 'advanced', 'core');
-
-
-
+function post_custom_meta_box($post) {
+?>
ID);
list_meta($metadata);
?>
@@ -290,55 +315,66 @@ list_meta($metadata);
use in your theme.'); ?>
-
-
+
+do_action('dbx_post_advanced');
-
+">
-
-
-
+function post_password_meta_box($post) {
+?>
+
-
-
-
-
+
+
id ); // TODO: ROLE SYSTEM
if ( $post->post_author && !in_array($post->post_author, $authors) )
$authors[] = $post->post_author;
if ( $authors && count( $authors ) > 1 ) :
+function post_author_meta_box($post) {
+ global $current_user, $user_ID;
+ $authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
+ if ( $post->post_author && !in_array($post->post_author, $authors) )
+ $authors[] = $post->post_author;
?>
-
-
-
- $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>
-
-
-
+ $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>
+
+if ( isset($post_ID) && 0 < $post_ID && wp_get_post_revisions( $post_ID ) ) :
+function post_revisions_meta_box($post) {
+ wp_list_post_revisions();
+}
+add_meta_box('revisionsdiv', __('Post Revisions'), 'post_revisions_meta_box', 'post', 'advanced', 'core');
+endif;
-
+do_meta_boxes('post', 'advanced', $post);
+
+do_action('dbx_post_sidebar');
+?>
trackbacks and pingbacks.'); ?>
-