1 頁 (共 1 頁)

Show Password Strength(顯示密碼的強度)(Update 1.0.2)

發表於 : 2011-06-02 20:14
阿維
外掛名稱:Show Password Strength(顯示密碼的強度)
外掛作者:VSE
外掛描述:This MOD will show users how strong (or weak) their password is as they type it into the password field. The password field will display a color code (red for weak to green for strong) as well as a text indicator for 'Very Weak', 'Weak', 'Good', 'Strong' and 'Very Strong' passwords. This feature is active on new user registration, and in the UCP and ACP areas where you can change existing passwords to new passwords.

Password strength is graded on finding the following criteria in a password:
1) Contains mixed case letters
2) Contains numbers
3) Contains special characters
4) Password exceeds 12 characters
外掛版本:1.0.1
外掛下載:password_strength_1.0.1.zip
資料來源:Show Password Strength
打開:language/zh_cmn_hant/ucp.php
中文化分享:
找到

代碼: 選擇全部

?>
上面加入

代碼: 選擇全部

// Begin : Show Password Strength
$lang = array_merge($lang, array(
	'PS_VERY_WEAK'		=> '非常弱的',
	'PS_WEAK'			=> '弱的',
	'PS_GOOD'			=> '好的',
	'PS_STRONG'			=> '強的',
	'PS_VERY_STRONG'	=> '非常強的',
));
// End : Show Password Strength

Re: Show Password Strength(顯示密碼的強度)(Update 1.0.2)

發表於 : 2011-07-01 19:57
阿維
版本歷史:
2011-06-02 - Version1.0.2
  • Add a copy of the uncompressed JS file to the contrib folder for reference only.
  • Move the HTML color hex codes to the template files so users can change them on a per style basis, if desired.
  • Make correct us of LA_ for language vars in the template files for proper escaping in javascript.
複製檔案
  1. 複製:root/password_strength/*.*
    到: password_strength/*.*
  2. 複製:root/adm/style/password_strength.html
    到: adm/style/password_strength.html
  3. 複製:root/styles/prosilver/template/password_strength.html
    到: styles/prosilver/template/password_strength.html
  4. 複製:root/styles/subsilver2/template/password_strength.html
    到: styles/subsilver2/template/password_strength.htm
清除快取 !