[LON-CAPA-cvs] cvs: modules /relate lonlogin.pm

raeburn raeburn at source.lon-capa.org
Sun Feb 12 14:39:13 EST 2012


raeburn		Sun Feb 12 19:39:13 2012 EDT

  Modified files:              
    /modules/relate	lonlogin.pm 
  Log:
  - Customization for MITrelate
    - User's domain from query string, if available.
    - Replace "Learn Physics" with "Mechanics Online".
    - Wording change -- completion of "Self Test" no longer a prerequisite.
  
  
Index: modules/relate/lonlogin.pm
diff -u modules/relate/lonlogin.pm:1.4 modules/relate/lonlogin.pm:1.5
--- modules/relate/lonlogin.pm:1.4	Sat Feb 11 18:19:26 2012
+++ modules/relate/lonlogin.pm	Sun Feb 12 19:39:13 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Login Screen
 #
-# $Id: lonlogin.pm,v 1.4 2012/02/11 18:19:26 raeburn Exp $
+# $Id: lonlogin.pm,v 1.5 2012/02/12 19:39:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -266,7 +266,7 @@
           .'<body bgcolor="#FFFFFF">'
           .'<h1>'.&mt('The LearningOnline Network with CAPA').'</h1>'
           .'<img src="/adm/lonKaputt/lonlogo_broken.gif" align="right" />'
-          .'<h3>'.&mt("This Learn Physics server is temporarily not available for login.").'</h3>'
+          .'<h3>'.&mt("This Mechanics Online course server is temporarily not available for login.").'</h3>'
           .'</body>'
           .'</html>'
         );
@@ -277,7 +277,7 @@
     $servadm=~s/\,/\<br \/\>/g;
 
 # ----------------------------------------------------------------------- Texts
-    my $pagetitle = 'Learn Physics Login'; # Do not localize.
+    my $pagetitle = 'Mechanics Online Log-in'; # Do not localize.
     my %lt=&Apache::lonlocal::texthash(
           'needu'    => 'You must provide a username',
           'needp'    => 'You must provide a password',
@@ -293,14 +293,14 @@
           'serv'     => 'Server',
           'servadm'  => 'Server Administration',
           'helpdesk' => 'Contact Helpdesk',
+          'exist'    => 'Existing user?',
           'forgotpw' => 'Forgot your password?',
           'newuser'  => 'New User?',
-          'learn'    => 'Learn Physics includes an online mechanics course, to which you may receive admission after successfully completing a pre-course test.',
-           'click'   => 'Click here to sign up',
-           'plea'    => 'Please log-in',
-           'supp'    => 'Support from NSF, NIH, Google',
-           'note'    => 'Please Note:',
-           'jscr'    => 'Javascript must be enabled in your web browser in order to use this web site.',
+          'click'   => 'Click here to sign up',
+          'plea'    => 'Please log-in',
+          'supp'    => 'Support from NSF, NIH, Google',
+          'note'    => 'Please Note:',
+          'jscr'    => 'Javascript must be enabled in your web browser in order to use this web site.',
        );
 # ----------------------------------------------------------- Front page design
     my $font=&Apache::loncommon::designparm('login.font',$domain);
@@ -394,12 +394,12 @@
                                         'only_body'   => 1,}));
 
 # ------------------------------------------------------------ Additional Texts
-    $lt{'newto'} = &mt('New to the [_1]Learn Physics[_2] site?','<i>','</i>');
-    $lt{'runson'} = &mt('Learn Physics runs on [_1]LON-CAPA[_2] - an open source, freeware, distributed learning content management and assessment system.',
+    $lt{'newto'} = &mt('New to the [_1]Mechanics Online[_2] site?','<i>','</i>');
+    $lt{'mech'} = &mt('Mechanics Online is a Newtonian Mechanics course developed by Professor David Pritchard and the RELATE education group at MIT. [_1]Learn more[_2]','<a href="http://relate.mit.edu/physicscourse" style="text-decoration: underline;">','</a>');
+    $lt{'runson'} = &mt('Mechanics Online runs on [_1]LON-CAPA[_2] - an open source, freeware, distributed learning content management and assessment system.',
                         '<a href="http://loncapa.org/" style="text-decoration: underline;">',
                         ' <img src="/images/login/lclogosm.gif" width="16" height="14" alt="LC" border="0" /></a>');
-    $lt{'newhere'} = &mt('New to [_1]Learn Physics[_2]:','<i>','</i>');
-    $lt{'exist'} = &mt('Existing [_1]Learn Physics[_2] user','<i>','</i>');
+    $lt{'newhere'} = &mt('New to [_1]Mechanics Online[_2]:','<i>','</i>');
     $lt{'browser'} = &mt('Your browser must allow [_1]cookies[_2]',
                          '<a href="http://loncapa.msu.edu/cookies.html" style="color: #ffffff; text-decoration:underline;">','</a>');
 
@@ -508,9 +508,9 @@
         <td width="10"> </td>
         <td valign="top" class="bodyred" width="430" align="left"><br />
          <span style="font-size: 18px; line-height: 22px; ">$lt{'newto'}</span>
+         <p class="bodyred">$lt{'mech'}</p>
+         <p class="bodyred">$lt{'runson'}</p>
          <br />
-         <span class="bodyred">$lt{'learn'}<br /><br />$lt{'runson'}</span>
-         <br /><br />
          <form name="signup" method="post" action="/adm/createaccount?courseid=$prereqcid"><input type="hidden" name="process" value="signup" />
          <table class="LC_signup">
            <tr>
@@ -568,7 +568,7 @@
                </tr>
                <tr>
                 <td align="right" class="bodywhite"><label>$lt{'pw'}</label>:</td>
-                <td align="right"><input name="upass$now" size="17" value="" type="password" /><input type="hidden" name="udom" value="relate" /></td>
+                <td align="right"><input name="upass$now" size="17" value="" type="password" /><input type="hidden" name="udom" value="$domain" /></td>
                </tr>
                <tr><td> </td></tr>
                <tr>




More information about the LON-CAPA-cvs mailing list