WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/01/2007 06:23:16 AM (14 years ago)
Author:
ryan
Message:

JS/AJAX form validation from mdawaffe. fixes #5299

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r6213 r6303  
    455455        echo '<p>' . sprintf(__('Users can <a href="%1$s">register themselves</a> or you can manually create users here.'), get_option('siteurl').'/wp-register.php') . '</p>';
    456456    else
    457         echo '<p>' . sprintf(__('Users cannot currently <a href="%1$s">register themselves</a>, but you can manually create users here.'), get_option('siteurl').'/wp-admin/options-general.php#users_can_register') . '</p>';
     457            echo '<p>' . sprintf(__('Users cannot currently <a href="%1$s">register themselves</a>, but you can manually create users here.'), get_option('siteurl').'/wp-admin/options-general.php#users_can_register') . '</p>';
    458458?>
    459459<form action="#add-new-user" method="post" name="adduser" id="adduser" class="add:user-list:">
    460460<?php wp_nonce_field('add-user') ?>
    461461<table class="editform" width="100%" cellspacing="2" cellpadding="5">
    462     <tr>
     462    <tr class="form-field form-required">
    463463        <th scope="row" width="33%"><?php _e('Username (required)') ?><input name="action" type="hidden" id="action" value="adduser" /></th>
    464464        <td width="66%"><input name="user_login" type="text" id="user_login" value="<?php echo $new_user_login; ?>" /></td>
    465465    </tr>
    466     <tr>
     466    <tr class="form-field">
    467467        <th scope="row"><?php _e('First Name') ?> </th>
    468468        <td><input name="first_name" type="text" id="first_name" value="<?php echo $new_user_firstname; ?>" /></td>
    469469    </tr>
    470     <tr>
     470    <tr class="form-field">
    471471        <th scope="row"><?php _e('Last Name') ?> </th>
    472472        <td><input name="last_name" type="text" id="last_name" value="<?php echo $new_user_lastname; ?>" /></td>
    473473    </tr>
    474     <tr>
     474    <tr class="form-field form-required">
    475475        <th scope="row"><?php _e('E-mail (required)') ?></th>
    476476        <td><input name="email" type="text" id="email" value="<?php echo $new_user_email; ?>" /></td>
    477477    </tr>
    478     <tr>
     478    <tr class="form-field">
    479479        <th scope="row"><?php _e('Website') ?></th>
    480480        <td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td>
     
    482482
    483483<?php if ( apply_filters('show_password_fields', true) ) : ?>
    484     <tr>
     484    <tr class="form-field form-required">
    485485        <th scope="row"><?php _e('Password (twice)') ?> </th>
    486486        <td><input name="pass1" type="password" id="pass1" />
     
    490490<?php endif; ?>
    491491
    492     <tr>
     492    <tr class="form-field">
    493493        <th scope="row"><?php _e('Role'); ?></th>
    494494        <td><select name="role" id="role">
Note: See TracChangeset for help on using the changeset viewer.