-<?php
- if ( get_option('users_can_register') )
- 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>';
- else
- 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>';
-?>
-<form action="#add-new-user" method="post" name="adduser" id="adduser" class="add:users: validate">
-<?php wp_nonce_field('add-user') ?>
-<table class="form-table">
- <tr class="form-field form-required">
- <th scope="row"><?php _e('Username (required)') ?><input name="action" type="hidden" id="action" value="adduser" /></th>
- <td ><input name="user_login" type="text" id="user_login" value="<?php echo $new_user_login; ?>" /></td>
- </tr>
- <tr class="form-field">
- <th scope="row"><?php _e('First Name') ?> </th>
- <td><input name="first_name" type="text" id="first_name" value="<?php echo $new_user_firstname; ?>" /></td>
- </tr>
- <tr class="form-field">
- <th scope="row"><?php _e('Last Name') ?> </th>
- <td><input name="last_name" type="text" id="last_name" value="<?php echo $new_user_lastname; ?>" /></td>
- </tr>
- <tr class="form-field form-required">
- <th scope="row"><?php _e('E-mail (required)') ?></th>
- <td><input name="email" type="text" id="email" value="<?php echo $new_user_email; ?>" /></td>
- </tr>
- <tr class="form-field">
- <th scope="row"><?php _e('Website') ?></th>
- <td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td>
- </tr>
-
-<?php if ( apply_filters('show_password_fields', true) ) : ?>
- <tr class="form-field form-required">
- <th scope="row"><?php _e('Password (twice)') ?> </th>
- <td><input name="pass1" type="password" id="pass1" />
- <br />
- <input name="pass2" type="password" id="pass2" /></td>
- </tr>