version 1.17, 2009/02/10 15:48:28
|
version 1.19, 2009/05/23 20:21:09
|
Line 404 sub has_role {
|
Line 404 sub has_role {
|
my $output; |
my $output; |
if ($curr_role{'status'} eq 'active') { |
if ($curr_role{'status'} eq 'active') { |
my $rolelink = &jump_to_role($curr_role{'role'}); |
my $rolelink = &jump_to_role($curr_role{'role'}); |
$output = &mt('You already have an active student role (section: "[_1]") in this course.',$curr_role{'section'}).'<br>'.$rolelink; |
$output = &mt('You already have an active student role (section: "[_1]") in this course.',$curr_role{'section'}).'<br />'.$rolelink; |
} elsif ($curr_role{'status'} eq 'future') { |
} elsif ($curr_role{'status'} eq 'future') { |
$output = &mt('You have a student role (section: "[_1]") in this course which will become active [_2].',$curr_role{'section'},$curr_role{'start'}); |
$output = &mt('You have a student role (section: "[_1]") in this course which will become active [_2].',$curr_role{'section'},$curr_role{'start'}); |
} |
} |
Line 562 sub store_selfenroll_request {
|
Line 562 sub store_selfenroll_request {
|
$warning = &mt('An error occurred saving a personal record of your request.'); |
$warning = &mt('An error occurred saving a personal record of your request.'); |
} |
} |
$output = &mt('Your request for self-enrollment has been recorded.').'<br />'. |
$output = &mt('Your request for self-enrollment has been recorded.').'<br />'. |
&mt('A message will be sent to your LON-CAPA account when the course coordinator takes action on your request.').'<br />'; |
&mt('A message will be sent to your LON-CAPA account when the course coordinator takes action on your request.').'<br />'. |
|
&mt('To access your LON-CAPA email, go to the Main Menu and click on "Send and Receive Messages".').'<br />'; |
my %emails = &Apache::loncommon::getemails($uname,$udom); |
my %emails = &Apache::loncommon::getemails($uname,$udom); |
if (($emails{'permanentemail'} ne '') || ($emails{'notification'} ne '')) { |
if (($emails{'permanentemail'} ne '') || ($emails{'notification'} ne '')) { |
my $address = $emails{'permanentemail'}; |
my $address = $emails{'permanentemail'}; |