Add labels to titles. see #9445

git-svn-id: http://svn.automattic.com/wordpress/trunk@11149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-05-01 17:54:05 +00:00
parent 4ec5141bee
commit 922fd9cdc0
2 changed files with 3 additions and 1 deletions

View File

@ -595,6 +595,7 @@ else
<div id="post-body-content">
<div id="titlediv">
<div id="titlewrap">
<label class="hidden" for="title"><?php _e('Title') ?></label>
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
</div>
<div class="inside">

View File

@ -442,7 +442,8 @@ $side_meta_boxes = do_meta_boxes('page', 'side', $post);
<div id="post-body-content">
<div id="titlediv">
<div id="titlewrap">
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
<label class="hidden" for="title"><?php _e('Title') ?></label>
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
</div>
<div class="inside">
<?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?>