WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/04/2008 10:37:06 AM (12 years ago)
Author:
westi
Message:

Associate lables with form fields. Fixes #6859 props MarcoZ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-import.php

    r7304 r7883  
    3131<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
    3232<div style="width: 48%;" class="alignleft">
    33 <h3><?php _e('Specify an OPML URL:'); ?></h3>
    34 <input type="text" name="opml_url" size="50" style="width: 90%;" value="http://" />
     33<h3><label for="opml_url"><?php _e('Specify an OPML URL:'); ?></label></h3>
     34<input type="text" name="opml_url" id="opml_url" size="50" style="width: 90%;" value="http://" />
    3535</div>
    3636
    3737<div style="width: 48%;" class="alignleft">
    38 <h3><?php _e('Or choose from your local disk:'); ?></h3>
     38<h3><label for="userfile"><?php _e('Or choose from your local disk:'); ?></label></h3>
    3939<input id="userfile" name="userfile" type="file" size="30" />
    4040</div>
     
    4242</div>
    4343
    44 <p style="clear: both; margin-top: 1em;"><?php _e('Now select a category you want to put these links in.') ?><br />
    45 <?php _e('Category:') ?> <select name="cat_id">
     44<p style="clear: both; margin-top: 1em;"><label for="cat_id"><?php _e('Now select a category you want to put these links in.') ?></label><br />
     45<?php _e('Category:') ?> <select name="cat_id" id="cat_id">
    4646<?php
    4747$categories = get_terms('link_category', 'get=all');
Note: See TracChangeset for help on using the changeset viewer.