diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
commit | 600b71019494e1c29898a620e58c0d2602f37b74 (patch) | |
tree | 21181d77ad4ebbcd42cd883e509c08a568d29514 /wp-admin/edit-form-advanced.php | |
parent | 7935d0bd9ef23d32ae29a95bd6c3ea0b6eab2973 (diff) | |
download | wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.gz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.xz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.zip |
WP Merge to 4524
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@810 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/edit-form-advanced.php')
-rw-r--r-- | wp-admin/edit-form-advanced.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index c761b67..2b18d8e 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -8,8 +8,7 @@ $messages[3] = __('Custom field deleted.'); <?php endif; ?> <form name="post" action="post.php" method="post" id="post"> -<?php if ( (isset($mode) && 'bookmarklet' == $mode) || - isset($_GET['popupurl']) ): ?> +<?php if ( (isset($mode) && 'bookmarklet' == $mode) || isset($_GET['popupurl']) ): ?> <input type="hidden" name="mode" value="bookmarklet" /> <?php endif; ?> @@ -126,7 +125,7 @@ if ( $authors && count( $authors ) > 1 ) : <h3 class="dbx-handle"><?php _e('Post Author'); ?>:</h3> <div class="dbx-content"> <select name="post_author_override" id="post_author_override"> -<?php +<?php foreach ($authors as $o) : $o = get_userdata( $o->ID ); if ( $post->post_author == $o->ID || ( empty($post_ID) && $user_ID == $o->ID ) ) $selected = 'selected="selected"'; @@ -145,8 +144,8 @@ endforeach; </div> <fieldset id="titlediv"> - <legend><?php _e('Title') ?></legend> - <div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo $post->post_title; ?>" id="title" /></div> + <legend><?php _e('Title') ?></legend> + <div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo $post->post_title; ?>" id="title" /></div> </fieldset> <fieldset id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>"> @@ -213,7 +212,7 @@ if (current_user_can('upload_files')) { </div> <div class="dbx-content-wrapper"> <div class="dbx-content"><?php _e('Send trackbacks to'); ?>: <?php echo $form_trackback; ?> (<?php _e('Separate multiple URIs with spaces'); ?>) -<?php +<?php if ( ! empty($pings) ) echo $pings; ?> @@ -232,7 +231,7 @@ if ( ! empty($pings) ) <table cellpadding="3"> <?php $metadata = has_meta($post_ID); -list_meta($metadata); +list_meta($metadata); ?> </table> |