[LON-CAPA-cvs] cvs: loncom(loncapaMITrelate_1) /interface createaccount.pm

raeburn raeburn at source.lon-capa.org
Mon Feb 13 20:06:12 EST 2012


raeburn		Tue Feb 14 01:06:12 2012 EDT

  Modified files:              (Branch: loncapaMITrelate_1)
    /loncom/interface	createaccount.pm 
  Log:
  - Customization for MITrelate.
    - Missing punctuation.
    - Improve readability with bulleted list.
  
  
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.40.2.5.2.7 loncom/interface/createaccount.pm:1.40.2.5.2.8
--- loncom/interface/createaccount.pm:1.40.2.5.2.7	Mon Feb 13 17:50:35 2012
+++ loncom/interface/createaccount.pm	Tue Feb 14 01:06:12 2012
@@ -3,7 +3,7 @@
 # institutional log-in ID (institutional authentication required - localauth
 #  or kerberos) or an e-mail address.
 #
-# $Id: createaccount.pm,v 1.40.2.5.2.7 2012/02/13 17:50:35 raeburn Exp $
+# $Id: createaccount.pm,v 1.40.2.5.2.8 2012/02/14 01:06:12 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -409,11 +409,10 @@
         crea   => 'Create account with a username provided by this institution',
         crlc   => 'Create LON-CAPA account',
         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.',
         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.',
-        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;
     if (ref($cancreate) eq 'ARRAY') {
@@ -430,11 +429,12 @@
         }
         if (grep(/^email$/,@{$cancreate})) {
             $output .= '<div class="LC_left_float"><h3>'.&mt('Create account with an e-mail address as your username').'</h3>'.
-                        $lt{'sign'}.'<br />'.
-                        $lt{'plse'}.'<br />'.
-                        $lt{'inst'}.'<br />'.
-                        $lt{'aftr'}.'<br />'.
-                        $lt{'thes'}.'<br />';
+                        '<p class="LC_info">'.
+                        &mt('You are about to sign-up for the [_1]Mechanics Online[_2] course.','<em>','</em>').'<br />'.
+                        $lt{'plse'}.'</p><ul>'.
+                        '<li>'.$lt{'inst'}.'</li>'.
+                        '<li>'.$lt{'aftr'}.'</li>'.
+                        '<li>'.$lt{'thes'}.'</li></ul>';
             my $captchaform = &create_recaptcha($pubkey);
             if ($captchaform) {
                 my $submit_text = &mt('Sign-up');




More information about the LON-CAPA-cvs mailing list