diff --git a/pandora_console/general/login_page.php b/pandora_console/general/login_page.php index 88bd581f2c..6d7a9864ce 100755 --- a/pandora_console/general/login_page.php +++ b/pandora_console/general/login_page.php @@ -330,8 +330,30 @@ if ($config['enterprise_installed']) { $reset_pass_link = 'reset_pass.php'; // Reset password link. echo '
'; - echo ''.__('Forgot your password?'); - echo ''; + if ((!$config['centralized_management'])) { + echo ''.__('Forgot your password?'); + echo ''; + } else { + echo ''.__('Forgot your password?'); + echo ''; + + echo ''; + } + echo '
'; } } @@ -826,5 +848,23 @@ html_print_div(['id' => 'forced_title_layer', 'class' => 'forced_title_layer', ' }); }); + function centralized_mode_reset_dialog() { + $("#centralized_mode_reset_dialog").dialog({ + resizable: true, + draggable: true, + modal: true, + height: 220, + width: 528, + overlay: { + opacity: 0.5, + background: "black" + } + }); + + $("#submit-centralized_mode_reset_button").click (function () { + $("#centralized_mode_reset_dialog").dialog('close'); + }); + } + /* ]]> */