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

raeburn raeburn at source.lon-capa.org
Tue May 1 09:58:27 EDT 2012


raeburn		Tue May  1 13:58:27 2012 EDT

  Modified files:              (Branch: loncapaMITrelate_1)
    /loncom/interface	createaccount.pm 
  Log:
  - Customization for MITrelate
    - Missing paren.
    - Changes to custom text.
  
  
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.40.2.5.2.14 loncom/interface/createaccount.pm:1.40.2.5.2.15
--- loncom/interface/createaccount.pm:1.40.2.5.2.14	Tue May  1 12:39:32 2012
+++ loncom/interface/createaccount.pm	Tue May  1 13:58:27 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.14 2012/05/01 12:39:32 raeburn Exp $
+# $Id: createaccount.pm,v 1.40.2.5.2.15 2012/05/01 13:58:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -103,8 +103,8 @@
     if (defined($env{'form.courseid'})) {
         $courseid = &validate_course($env{'form.courseid'});
         if (($courseid eq 'relate_3H121116c19344ff3relatel1') ||
-            ($courseid eq 'relate_3e100973b27484f2drelatel1') {
-            $courseid = 'relate_2764113e81b9e4f0crelatel1';
+            ($courseid eq 'relate_3e100973b27484f2drelatel1')) {
+            $courseid = 'relate_2764113e81b9e4f0crelatel1'; 
         }
     }
     if ($courseid ne '') {
@@ -415,8 +415,8 @@
         type   => 'Type in your log-in ID and password to find out.',
         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.',
+        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.',
+        yous => 'Your user id for the course is your email address.',
     );
     my $output;
     if (ref($cancreate) eq 'ARRAY') {
@@ -438,7 +438,7 @@
                         $lt{'plse'}.'</p><ul>'.
                         '<li>'.$lt{'inst'}.'</li>'.
                         '<li>'.$lt{'aftr'}.'</li>'.
-                        '<li>'.$lt{'thes'}.'</li></ul>';
+                        '<li>'.$lt{'yous'}.'</li></ul>';
             my $captchaform = &create_recaptcha($pubkey);
             if ($captchaform) {
                 my $submit_text = &mt('Sign-up');




More information about the LON-CAPA-cvs mailing list