Make WordPress Core


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

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

File:
1 edited

Legend:

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

    r7649 r7883  
    167167        foreach ($authors as $author) {
    168168            ++ $j;
    169             echo '<li>'.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br />');
     169            echo '<li><label>'.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br />');
    170170            $this->users_form($j);
    171             echo '</li>';
     171            echo '</label></li>';
    172172        }
    173173
Note: See TracChangeset for help on using the changeset viewer.