Changeset 7883 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 05/04/2008 10:37:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r7854 r7883 85 85 <div class="inside"> 86 86 87 <p><strong>< ?php _e('Publish Status') ?></strong></p>87 <p><strong><label for='post_status'><?php _e('Publish Status') ?></label></strong></p> 88 88 <p> 89 <select name='post_status' tabindex='4'>89 <select name='post_status' id='post_status' tabindex='4'> 90 90 <?php if ( current_user_can('publish_posts') ) : // Contributors only get "Unpublished" and "Pending Review" ?> 91 91 <option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option> … … 182 182 <div id="post-body"> 183 183 <div id="titlediv"> 184 <h3>< ?php _e('Title') ?></h3>184 <h3><label for="title"><?php _e('Title') ?></label></h3> 185 185 <div id="titlewrap"> 186 186 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" /> … … 197 197 198 198 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 199 <h3>< ?php _e('Post') ?></h3>199 <h3><label for="content"><?php _e('Post') ?></label></h3> 200 200 <?php the_editor($post->post_content); ?> 201 201 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?> … … 211 211 <h3><?php _e('Tags'); ?></h3> 212 212 <div class="inside"> 213 <p id="jaxtag">< input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID ); ?>" /></p>213 <p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID ); ?>" /></p> 214 214 <div id="tagchecklist"></div> 215 215 </div> … … 223 223 <h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4> 224 224 <p id="category-add" class="wp-hidden-child"> 225 < input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" />226 < ?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>225 <label class="hidden" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" /> 226 <label class="hidden" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> 227 227 <input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" /> 228 228 <?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?> … … 259 259 <div id="postexcerpt" class="postbox <?php echo postbox_classes('postexcerpt', 'post'); ?>"> 260 260 <h3><?php _e('Excerpt') ?></h3> 261 <div class="inside">< textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea>261 <div class="inside"><label class="hidden" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea> 262 262 <p><?php _e('Excerpts are optional hand-crafted summaries of your content. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p> 263 263 </div> … … 267 267 <h3><?php _e('Trackbacks') ?></h3> 268 268 <div class="inside"> 269 <p>< ?php _e('Send trackbacks to:'); ?> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p>269 <p><label for="trackback"><?php _e('Send trackbacks to:'); ?></label> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p> 270 270 <p><?php _e('Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress blogs they’ll be notified automatically using <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p> 271 271 <?php … … 313 313 <h3><?php _e('Password Protect This Post') ?></h3> 314 314 <div class="inside"> 315 <p>< input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>315 <p><label class="hidden" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p> 316 316 <p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p> 317 317 </div> … … 321 321 <h3><?php _e('Post Slug') ?></h3> 322 322 <div class="inside"> 323 < input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />323 <label class="hidden" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" /> 324 324 </div> 325 325 </div> … … 334 334 <h3><?php _e('Post Author'); ?></h3> 335 335 <div class="inside"> 336 < ?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>336 <label class="hidden" for="post_author_override"><?php _e('Post Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?> 337 337 </div> 338 338 </div>
Note: See TracChangeset
for help on using the changeset viewer.