Make WordPress Core


Ignore:
Timestamp:
05/16/2009 06:29:10 AM (15 years ago)
Author:
azaozz
Message:

Clean up user-edit.php, add password strength meter to Add User and Edit User

File:
1 edited

Legend:

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

    r11330 r11359  
    3838
    3939wp_enqueue_script('wp-ajax-response');
     40wp_enqueue_script('user-profile');
     41wp_enqueue_script('password-strength-meter');
    4042
    4143require_once ('admin-header.php');
     
    118120        <td><input name="pass1" type="password" id="pass1" autocomplete="off" />
    119121        <br />
    120         <input name="pass2" type="password" id="pass2" autocomplete="off"/></td>
     122        <input name="pass2" type="password" id="pass2" autocomplete="off"/>
     123        <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
     124        <p class="description indicator-hint"><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p>
     125        </td>
    121126    </tr>
    122127    <tr>
Note: See TracChangeset for help on using the changeset viewer.