version 1.144, 2009/02/23 20:25:44
|
version 1.146, 2009/02/24 16:16:35
|
Line 1563 ENDERROR
|
Line 1563 ENDERROR
|
# $r->print("<h3>".&mt('The password for [_1] was successfully changed',$user)."</h3>"); |
# $r->print("<h3>".&mt('The password for [_1] was successfully changed',$user)."</h3>"); |
} else { |
} else { |
# error error: run in circles, scream and shout |
# error error: run in circles, scream and shout |
$message = &mt("The password for [_1] was not changed.",$user).' '. |
$message = &mt("The password for [_1] was not changed.",$user).' '.&mt('Please make sure your old password was entered correctly.'); |
.&mt('Please make sure your old password was entered correctly.'); |
|
unless ($caller eq 'reset_by_email') { |
unless ($caller eq 'reset_by_email') { |
&print_main_menu($r, $message); |
&print_main_menu($r, $message); |
} |
} |
Line 1772 sub verify_and_change_coursepage {
|
Line 1771 sub verify_and_change_coursepage {
|
'ywbt' => 'you will be taken to the start of the course.', |
'ywbt' => 'you will be taken to the start of the course.', |
'apwb' => 'a page will be displayed that lists items in the course that may require action from you.', |
'apwb' => 'a page will be displayed that lists items in the course that may require action from you.', |
'gtts' => 'Go to the start of the course', |
'gtts' => 'Go to the start of the course', |
'dasp' => "Display the What's New Page listing course action items", |
'dasp' => "Display the What's New Page", |
); |
); |
my $newdisp = $env{'form.newdisp'}; |
my $newdisp = $env{'form.newdisp'}; |
$message = '<b>'.$lt{'defs'}.'</b>: '.$lt{'when'}.', '; |
$message = '<b>'.$lt{'defs'}.'</b>: '.$lt{'when'}.', '; |