version 1.23.2.2, 2010/12/24 21:21:51
|
version 1.26, 2010/11/29 19:15:14
|
Line 93 sub handler {
|
Line 93 sub handler {
|
{href => '/adm/resetpw', |
{href => '/adm/resetpw', |
text => 'Update Password'}); |
text => 'Update Password'}); |
|
|
$bread_crumbs_component = 'Reset Password'; |
$bread_crumbs_component = 'Reset Password'; |
} else { |
} else { |
push (@{$brcrum}, |
push (@{$brcrum}, |
{href => '/adm/resetpw', |
{href => '/adm/resetpw', |
Line 104 sub handler {
|
Line 104 sub handler {
|
text => 'Result'}); |
text => 'Result'}); |
} |
} |
} |
} |
my $args = {bread_crumbs => $brcrum, |
my $args = {bread_crumbs => $brcrum, |
bread_crumbs_component => $bread_crumbs_component, |
bread_crumbs_component => $bread_crumbs_component}; |
'no_inline_link' => 1}; |
|
$r->print(&Apache::loncommon::start_page('Reset password','',$args)); |
$r->print(&Apache::loncommon::start_page('Reset password','',$args)); |
$r->print('<h3>'.&mt('Reset forgotten LON-CAPA password').'</h3>'); |
$r->print('<h3>'.&mt('Reset forgotten LON-CAPA password').'</h3>'); |
my $output; |
my $output; |
Line 186 sub get_uname {
|
Line 185 sub get_uname {
|
.'<li>'.&mt('Your LON-CAPA account must be of a type for which LON-CAPA can reset a password.') |
.'<li>'.&mt('Your LON-CAPA account must be of a type for which LON-CAPA can reset a password.') |
.'</ul>'; |
.'</ul>'; |
$msg .= '<form name="forgotpw" method="post" action="/adm/resetpw">'. |
$msg .= '<form name="forgotpw" method="post" action="/adm/resetpw">'. |
&Apache::lonhtmlcommon::start_pick_box(). |
&Apache::lonhtmlcommon::start_pick_box(). |
&Apache::lonhtmlcommon::row_title('LON-CAPA '.$lt{'unam'}). |
&Apache::lonhtmlcommon::row_title('LON-CAPA '.$lt{'unam'}). |
'<input type="text" name="uname" size="20" />'. |
'<input type="text" name="uname" size="20" />'. |
&Apache::lonhtmlcommon::row_closure(1). |
&Apache::lonhtmlcommon::row_closure(1). |