version 1.40.2.5.2.13, 2012/03/02 20:44:25
|
version 1.40.2.5.2.16, 2012/05/01 14:20:10
|
Line 102 sub handler {
|
Line 102 sub handler {
|
my ($js,$courseid,$title); |
my ($js,$courseid,$title); |
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 = 'relate_3e100973b27484f2drelatel1'; |
($courseid eq 'relate_3e100973b27484f2drelatel1')) { |
|
$courseid = 'relate_2764113e81b9e4f0crelatel1'; |
} |
} |
} |
} |
if ($courseid ne '') { |
if ($courseid ne '') { |
Line 414 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.', |
thes => 'The same account will be used for access to the Mechanics Online course, once it becomes available on March 1, 2012.', |
ther => 'There you will have access to a "self test" that will help you assess your readiness for the course.', |
|
ywil => 'You will also have access to introductory material and to the course schedule and policies.', |
|
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 436 sub print_username_form {
|
Line 439 sub print_username_form {
|
&mt('You are about to sign-up for the [_1]Mechanics Online[_2] course.','<em>','</em>').'<br />'. |
&mt('You are about to sign-up for the [_1]Mechanics Online[_2] course.','<em>','</em>').'<br />'. |
$lt{'plse'}.'</p><ul>'. |
$lt{'plse'}.'</p><ul>'. |
'<li>'.$lt{'inst'}.'</li>'. |
'<li>'.$lt{'inst'}.'</li>'. |
'<li>'.$lt{'aftr'}.'</li>'. |
'<li>'.$lt{'aftr'}.'<br />'.$lt{'ther'}.'<br />'. |
'<li>'.$lt{'thes'}.'</li></ul>'; |
$lt{'ywil'}.'</li>'. |
|
'<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'); |