version 1.40.2.5.2.7, 2012/02/13 17:50:35
|
version 1.40.2.5.2.8, 2012/02/14 01:06:12
|
Line 409 sub print_username_form {
|
Line 409 sub print_username_form {
|
crea => 'Create account with a username provided by this institution', |
crea => 'Create account with a username provided by this institution', |
crlc => 'Create LON-CAPA account', |
crlc => 'Create LON-CAPA account', |
type => 'Type in your log-in ID and password to find out.', |
type => 'Type in your log-in ID and password to find out.', |
sign => 'You are about to sign-up for the Mechanics Online course.', |
|
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 have access to a "self test" that will help you assess your readiness for the course.', |
thes => 'The same account will be used for access to the Mechanics Online course, once it becomes available on March 1, 2012', |
thes => 'The same account will be used for access to the Mechanics Online course, once it becomes available on March 1, 2012.', |
); |
); |
my $output; |
my $output; |
if (ref($cancreate) eq 'ARRAY') { |
if (ref($cancreate) eq 'ARRAY') { |
Line 430 sub print_username_form {
|
Line 429 sub print_username_form {
|
} |
} |
if (grep(/^email$/,@{$cancreate})) { |
if (grep(/^email$/,@{$cancreate})) { |
$output .= '<div class="LC_left_float"><h3>'.&mt('Create account with an e-mail address as your username').'</h3>'. |
$output .= '<div class="LC_left_float"><h3>'.&mt('Create account with an e-mail address as your username').'</h3>'. |
$lt{'sign'}.'<br />'. |
'<p class="LC_info">'. |
$lt{'plse'}.'<br />'. |
&mt('You are about to sign-up for the [_1]Mechanics Online[_2] course.','<em>','</em>').'<br />'. |
$lt{'inst'}.'<br />'. |
$lt{'plse'}.'</p><ul>'. |
$lt{'aftr'}.'<br />'. |
'<li>'.$lt{'inst'}.'</li>'. |
$lt{'thes'}.'<br />'; |
'<li>'.$lt{'aftr'}.'</li>'. |
|
'<li>'.$lt{'thes'}.'</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'); |