diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fb3168d..ae9b34ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - Corrected translations [\#183](https://github.com/torrentpier/torrentpier-lts/pull/183) ([belomaxorka](https://github.com/belomaxorka)) - Fixed $bb_cfg['pm_days_keep'] [\#180](https://github.com/torrentpier/torrentpier-lts/pull/180) ([belomaxorka](https://github.com/belomaxorka)) - IP storage bugfix [\#177](https://github.com/torrentpier/torrentpier-lts/pull/177) ([belomaxorka](https://github.com/belomaxorka)) -- Minor improvements [\#172](https://github.com/torrentpier/torrentpier-lts/pull/172), [\#175](https://github.com/torrentpier/torrentpier-lts/pull/175), [\#176](https://github.com/torrentpier/torrentpier-lts/pull/176), [\#178](https://github.com/torrentpier/torrentpier-lts/pull/178), [\#179](https://github.com/torrentpier/torrentpier-lts/pull/179), [\#181](https://github.com/torrentpier/torrentpier-lts/pull/181), [\#187](https://github.com/torrentpier/torrentpier-lts/pull/187), [\#186](https://github.com/torrentpier/torrentpier-lts/pull/186), [\#191](https://github.com/torrentpier/torrentpier-lts/pull/191), [\#192](https://github.com/torrentpier/torrentpier-lts/pull/192), [\#194](https://github.com/torrentpier/torrentpier-lts/pull/194) ([belomaxorka](https://github.com/belomaxorka)) +- Minor improvements [\#172](https://github.com/torrentpier/torrentpier-lts/pull/172), [\#175](https://github.com/torrentpier/torrentpier-lts/pull/175), [\#176](https://github.com/torrentpier/torrentpier-lts/pull/176), [\#178](https://github.com/torrentpier/torrentpier-lts/pull/178), [\#179](https://github.com/torrentpier/torrentpier-lts/pull/179), [\#181](https://github.com/torrentpier/torrentpier-lts/pull/181), [\#187](https://github.com/torrentpier/torrentpier-lts/pull/187), [\#186](https://github.com/torrentpier/torrentpier-lts/pull/186), [\#192](https://github.com/torrentpier/torrentpier-lts/pull/192), [\#194](https://github.com/torrentpier/torrentpier-lts/pull/194) ([belomaxorka](https://github.com/belomaxorka)) - Fixed empty user search box [\#171](https://github.com/torrentpier/torrentpier-lts/pull/171) ([belomaxorka](https://github.com/belomaxorka)) - Added some placeholders for input fields [\#173](https://github.com/torrentpier/torrentpier-lts/pull/173) ([belomaxorka](https://github.com/belomaxorka)) diff --git a/styles/js/main.js b/styles/js/main.js index ad393bf7..ca5805e5 100644 --- a/styles/js/main.js +++ b/styles/js/main.js @@ -494,9 +494,9 @@ var array_rand = function (array) { return Math.floor(result); }; -var autocomplete = function (noCenter, pass_length = 8) { +var autocomplete = function (noCenter) { var string_result = ""; // Empty string - for (var i = 1; i <= pass_length; i++) { + for (var i = 1; i <= 12; i++) { string_result += array_for_rand_pass[array_rand(array_for_rand_pass)]; } @@ -518,6 +518,10 @@ var autocomplete = function (noCenter, pass_length = 8) { }; $(document).ready(function () { + $("span#autocomplete").click(function () { + autocomplete(); + }); + // перемещение окна var _X, _Y; var _bMoveble = false; diff --git a/styles/templates/default/usercp_register.tpl b/styles/templates/default/usercp_register.tpl index efc5833c..2c8423cc 100644 --- a/styles/templates/default/usercp_register.tpl +++ b/styles/templates/default/usercp_register.tpl @@ -26,7 +26,7 @@ ajax.callback.user_register = function(data){
- +
@@ -81,7 +81,7 @@ document.write(''); {L_NEW_PASSWORD}: *
{L_PASSWORD_IF_CHANGED}
{L_PASSWORD}: *   -  {PASSWORD_LONG} +  {PASSWORD_LONG}