--- loncom/interface/resetpw.pm 2025/02/14 19:01:11 1.52 +++ loncom/interface/resetpw.pm 2025/02/14 22:42:05 1.53 @@ -1,7 +1,7 @@ # The LearningOnline Network # Allow access to password changing via a token sent to user's e-mail. # -# $Id: resetpw.pm,v 1.52 2025/02/14 19:01:11 raeburn Exp $ +# $Id: resetpw.pm,v 1.53 2025/02/14 22:42:05 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -289,12 +289,13 @@ END $js.= "\n".''."\n"; } my $header = &Apache::loncommon::start_page('Reset password',$js,$args). - '

'.&mt('Reset forgotten LON-CAPA password').'

'; + ''; my $output; if ($token) { - $r->print($header); + $r->print($header.'
'); &reset_passwd($r,$token,$contact_name,$contact_email,$clientip,\%passwdconf); - $r->print(&Apache::loncommon::end_page()); + $r->print('
'.&Apache::loncommon::end_page()); return OK; } elsif ($udom) { if (!$domdesc) { @@ -418,7 +419,7 @@ END } else { $output = &get_uname($server,$defdom,\%passwdconf); } - $r->print($header.$output); + $r->print($header.'
'.$output.'
'); $r->print(&Apache::loncommon::end_page()); return OK; } @@ -450,13 +451,13 @@ sub get_uname { my $onchange = 'javascript:verifyDomain(this,this.form);'; $msg .= '
'. &Apache::lonhtmlcommon::start_pick_box(). - &Apache::lonhtmlcommon::row_title($lt{'udom'}). - &Apache::loncommon::select_dom_form($defdom,'udom',undef,undef,$onchange). + &Apache::lonhtmlcommon::row_title(''). + &Apache::loncommon::select_dom_form($defdom,'udom',undef,undef,$onchange,'','','','udom'). &Apache::lonhtmlcommon::row_closure(1). - &Apache::lonhtmlcommon::row_title($lt{'unam'}). + &Apache::lonhtmlcommon::row_title(''). ''. &Apache::lonhtmlcommon::row_closure(1). - &Apache::lonhtmlcommon::row_title($lt{'uemail'}). + &Apache::lonhtmlcommon::row_title(''). ''. &Apache::lonhtmlcommon::row_closure(1); unless ($passwdconf->{'captcha'} eq 'notused') {