version 1.40.2.5.2.14, 2012/05/01 12:39:32
|
version 1.40.2.5.2.15, 2012/05/01 13:58:27
|
Line 103 sub handler {
|
Line 103 sub handler {
|
if (defined($env{'form.courseid'})) { |
if (defined($env{'form.courseid'})) { |
$courseid = &validate_course($env{'form.courseid'}); |
$courseid = &validate_course($env{'form.courseid'}); |
if (($courseid eq 'relate_3H121116c19344ff3relatel1') || |
if (($courseid eq 'relate_3H121116c19344ff3relatel1') || |
($courseid eq 'relate_3e100973b27484f2drelatel1') { |
($courseid eq 'relate_3e100973b27484f2drelatel1')) { |
$courseid = 'relate_2764113e81b9e4f0crelatel1'; |
$courseid = 'relate_2764113e81b9e4f0crelatel1'; |
} |
} |
} |
} |
if ($courseid ne '') { |
if ($courseid ne '') { |
Line 415 sub print_username_form {
|
Line 415 sub print_username_form {
|
type => 'Type in your log-in ID and password to find out.', |
type => 'Type in your log-in ID and password to find out.', |
plse => 'Please enter a valid e-mail address below.', |
plse => 'Please enter a valid e-mail address below.', |
inst => 'Instructions on how to activate your account will be sent to the e-mail address you provide.', |
inst => 'Instructions on how to activate your account will be sent to the e-mail address you provide.', |
aftr => 'After completing the activation process you will have access to a "self test" that will help you assess your readiness for the course.', |
aftr => 'After completing the activation process you will be directed to the course, where you will have access to a "self test" that will help you assess your readiness for the course. You will also have access to some introductory material and to the course schedule and policies.', |
thes => 'The same account will be used for access to the Mechanics Online course, once it becomes available on March 1, 2012.', |
yous => 'Your user id for the course is your email address.', |
); |
); |
my $output; |
my $output; |
if (ref($cancreate) eq 'ARRAY') { |
if (ref($cancreate) eq 'ARRAY') { |
Line 438 sub print_username_form {
|
Line 438 sub print_username_form {
|
$lt{'plse'}.'</p><ul>'. |
$lt{'plse'}.'</p><ul>'. |
'<li>'.$lt{'inst'}.'</li>'. |
'<li>'.$lt{'inst'}.'</li>'. |
'<li>'.$lt{'aftr'}.'</li>'. |
'<li>'.$lt{'aftr'}.'</li>'. |
'<li>'.$lt{'thes'}.'</li></ul>'; |
'<li>'.$lt{'yous'}.'</li></ul>'; |
my $captchaform = &create_recaptcha($pubkey); |
my $captchaform = &create_recaptcha($pubkey); |
if ($captchaform) { |
if ($captchaform) { |
my $submit_text = &mt('Sign-up'); |
my $submit_text = &mt('Sign-up'); |