Make WordPress Core


Ignore:
Timestamp:
10/28/2008 10:07:39 PM (16 years ago)
Author:
westi
Message:

Move inline styles to the stylesheets. Fixes #7985 props Speedboxer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r9369 r9390  
    240240    <tr>
    241241        <th><label for="user_login"><?php _e('Username'); ?></label></th>
    242         <td><input type="text" name="user_login" id="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" /> <?php _e('Your username cannot be changed'); ?></td>
     242        <td><input type="text" name="user_login" id="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" class="regular-text" /> <?php _e('Your username cannot be changed.'); ?></td>
    243243    </tr>
    244244
     
    270270<tr>
    271271    <th><label for="first_name"><?php _e('First name') ?></label></th>
    272     <td><input type="text" name="first_name" id="first_name" value="<?php echo $profileuser->first_name ?>" /></td>
     272    <td><input type="text" name="first_name" id="first_name" value="<?php echo $profileuser->first_name ?>" class="regular-text" /></td>
    273273</tr>
    274274
    275275<tr>
    276276    <th><label for="last_name"><?php _e('Last name') ?></label></th>
    277     <td><input type="text" name="last_name" id="last_name" value="<?php echo $profileuser->last_name ?>" /></td>
     277    <td><input type="text" name="last_name" id="last_name" value="<?php echo $profileuser->last_name ?>" class="regular-text" /></td>
    278278</tr>
    279279
    280280<tr>
    281281    <th><label for="nickname"><?php _e('Nickname') ?></label></th>
    282     <td><input type="text" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" /></td>
     282    <td><input type="text" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" class="regular-text" /></td>
    283283</tr>
    284284
     
    312312<tr>
    313313    <th><label for="email"><?php _e('E-mail') ?></label></th>
    314     <td><input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" /> <?php _e('Required'); ?></td>
     314    <td><input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" class="regular-text" /> <?php _e('Required.');?></td>
    315315</tr>
    316316
    317317<tr>
    318318    <th><label for="url"><?php _e('Website') ?></label></th>
    319     <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" /></td>
     319    <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" class="regular-text" /></td>
    320320</tr>
    321321
    322322<tr>
    323323    <th><label for="aim"><?php _e('AIM') ?></label></th>
    324     <td><input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" /></td>
     324    <td><input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" class="regular-text" /></td>
    325325</tr>
    326326
    327327<tr>
    328328    <th><label for="yim"><?php _e('Yahoo IM') ?></label></th>
    329     <td><input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" /></td>
     329    <td><input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" class="regular-text" /></td>
    330330</tr>
    331331
    332332<tr>
    333333    <th><label for="jabber"><?php _e('Jabber / Google Talk') ?></label></th>
    334     <td><input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" /></td>
     334    <td><input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" class="regular-text" /></td>
    335335</tr>
    336336</table>
     
    391391    <input type="hidden" name="action" value="update" />
    392392    <input type="hidden" name="user_id" id="user_id" value="<?php echo $user_id; ?>" />
    393     <input type="submit" class="button" value="<?php $is_profile_page? _e('Update Profile') : _e('Update User') ?>" name="submit" />
    394  </p>
     393    <input type="submit" class="button-primary" value="<?php $is_profile_page? _e('Update Profile') : _e('Update User') ?>" name="submit" />
     394</p>
    395395</form>
    396396</div>
Note: See TracChangeset for help on using the changeset viewer.