Make WordPress Core

Changeset 8017


Ignore:
Timestamp:
05/30/2008 04:00:37 PM (17 years ago)
Author:
ryan
Message:

Add label associations to press this. Props MarcoZ. fixes #7067

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r8013 r8017  
    345345                <div id="posting">
    346346                   
    347                     <h2 id="title"><?php _e('Title') ?></h2>
     347                    <h2 id="title"><label for="post_title"><?php _e('Title') ?></label></h2>
    348348                    <div class="titlewrap">
    349349                        <input name="post_title" id="post_title" class="text" value="<?php echo attribute_escape($title);?>"/>
    350350                    </div>
    351351                    <div id="photo_fields" style="display: none;">
    352                         <h2><?php _e('Photo URL') ?></h2>
     352                        <h2><label for="photo_src"><?php _e('Photo URL') ?></label></h2>
    353353                        <div class="titlewrap">
    354354                            <input name="photo_src" id="photo_src" class="text" onkeydown="pick(0);"/>
     
    357357                        <div class="photolist"></div>
    358358                   
    359                         <h2><?php _e('Link Photo to following URL') ?></h2><?php _e('(leave blank to leave the photo unlinked)') ?>
     359                        <h2><label for="photo_link"><?php _e('Link Photo to following URL') ?></label></h2><?php _e('(leave blank to leave the photo unlinked)') ?>
    360360                        <div class="titlewrap">
    361361                            <input name="photo_link" id="photo_link" class="text" value="<?php echo attribute_escape($url);?>"/>
     
    369369                    </div>
    370370                   
    371                     <h2 id="content_type"><?php _e('Post') ?></h2>
     371                    <h2 id="content_type"><label for="content"><?php _e('Post') ?></label></h2>
    372372                    <div class="editor-container">
    373373                        <textarea name="content" id="content" style="height:170px;width:100%;" class="mceEditor">
     
    389389                    <?php } else { ?>
    390390                   
    391                     <h2><?php _e('Embed Code') ?></h2>
     391                    <h2><label for="video_post_one"><?php _e('Embed Code') ?></label></h2>
    392392                    <textarea name="content" id="video_post_one" style="height:80px;width:100%;"></textarea>
    393393                    <?php } */?>
Note: See TracChangeset for help on using the changeset viewer.