%s',_('Password check')); echo '
'; echo ''; printf('',$request['attribute']); echo ''; echo ''; printf('',_('Compare')); printf('', (obfuscate_password_display($request['enc_type']) ? 'password' : 'text'),htmlspecialchars($request['hash'])); echo ''; echo ''; printf('',_('To')); printf('', htmlspecialchars($request['password'])); echo ''; echo ''; echo ''; echo ''; echo ''; echo '
%s
%s
 '; if ($request['action'] == 'compare') { echo '    '; if (password_check($request['hash'],$request['password'],$request['attribute'])) printf('%s',_('Passwords match.')); else printf('%s',_('Passwords are different!')); echo ''; } echo '
'; echo '
'; # Pull our password from the form that opened this window. if ($request['componentid']) { echo ''; } # Capture the output and put into the body of the page. $www['body'] = new block(); $www['body']->SetBody(ob_get_contents()); $www['page']->block_add('body',$www['body']); ob_end_clean(); # Render the popup. $www['page']->display(array('CONTROL'=>false,'FOOT'=>false,'HEAD'=>false,'TREE'=>false)); ?>