Diff for /modules/relate/lonlogin.pm between versions 1.4 and 1.5

version 1.4, 2012/02/11 18:19:26 version 1.5, 2012/02/12 19:39:13
Line 266  sub handler { Line 266  sub handler {
           .'<body bgcolor="#FFFFFF">'            .'<body bgcolor="#FFFFFF">'
           .'<h1>'.&mt('The LearningOnline Network with CAPA').'</h1>'            .'<h1>'.&mt('The LearningOnline Network with CAPA').'</h1>'
           .'<img src="/adm/lonKaputt/lonlogo_broken.gif" align="right" />'            .'<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>'            .'</body>'
           .'</html>'            .'</html>'
         );          );
Line 277  sub handler { Line 277  sub handler {
     $servadm=~s/\,/\<br \/\>/g;      $servadm=~s/\,/\<br \/\>/g;
   
 # ----------------------------------------------------------------------- Texts  # ----------------------------------------------------------------------- Texts
     my $pagetitle = 'Learn Physics Login'; # Do not localize.      my $pagetitle = 'Mechanics Online Log-in'; # Do not localize.
     my %lt=&Apache::lonlocal::texthash(      my %lt=&Apache::lonlocal::texthash(
           'needu'    => 'You must provide a username',            'needu'    => 'You must provide a username',
           'needp'    => 'You must provide a password',            'needp'    => 'You must provide a password',
Line 293  sub handler { Line 293  sub handler {
           'serv'     => 'Server',            'serv'     => 'Server',
           'servadm'  => 'Server Administration',            'servadm'  => 'Server Administration',
           'helpdesk' => 'Contact Helpdesk',            'helpdesk' => 'Contact Helpdesk',
             'exist'    => 'Existing user?',
           'forgotpw' => 'Forgot your password?',            'forgotpw' => 'Forgot your password?',
           'newuser'  => 'New User?',            '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',
            'click'   => 'Click here to sign up',            'plea'    => 'Please log-in',
            'plea'    => 'Please log-in',            'supp'    => 'Support from NSF, NIH, Google',
            'supp'    => 'Support from NSF, NIH, Google',            'note'    => 'Please Note:',
            'note'    => 'Please Note:',            'jscr'    => 'Javascript must be enabled in your web browser in order to use this web site.',
            'jscr'    => 'Javascript must be enabled in your web browser in order to use this web site.',  
        );         );
 # ----------------------------------------------------------- Front page design  # ----------------------------------------------------------- Front page design
     my $font=&Apache::loncommon::designparm('login.font',$domain);      my $font=&Apache::loncommon::designparm('login.font',$domain);
Line 394  ENDSCRIPT Line 394  ENDSCRIPT
                                         'only_body'   => 1,}));                                          'only_body'   => 1,}));
   
 # ------------------------------------------------------------ Additional Texts  # ------------------------------------------------------------ Additional Texts
     $lt{'newto'} = &mt('New to the [_1]Learn Physics[_2] site?','<i>','</i>');      $lt{'newto'} = &mt('New to the [_1]Mechanics Online[_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{'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;">',                          '<a href="http://loncapa.org/" style="text-decoration: underline;">',
                         '&nbsp;<img src="/images/login/lclogosm.gif" width="16" height="14" alt="LC" border="0" /></a>');                          '&nbsp;<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{'newhere'} = &mt('New to [_1]Mechanics Online[_2]:','<i>','</i>');
     $lt{'exist'} = &mt('Existing [_1]Learn Physics[_2] user','<i>','</i>');  
     $lt{'browser'} = &mt('Your browser must allow [_1]cookies[_2]',      $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>');                           '<a href="http://loncapa.msu.edu/cookies.html" style="color: #ffffff; text-decoration:underline;">','</a>');
   
Line 508  END Line 508  END
         <td width="10">&nbsp;</td>          <td width="10">&nbsp;</td>
         <td valign="top" class="bodyred" width="430" align="left"><br />          <td valign="top" class="bodyred" width="430" align="left"><br />
          <span style="font-size: 18px; line-height: 22px; ">$lt{'newto'}</span>           <span style="font-size: 18px; line-height: 22px; ">$lt{'newto'}</span>
            <p class="bodyred">$lt{'mech'}</p>
            <p class="bodyred">$lt{'runson'}</p>
          <br />           <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" />           <form name="signup" method="post" action="/adm/createaccount?courseid=$prereqcid"><input type="hidden" name="process" value="signup" />
          <table class="LC_signup">           <table class="LC_signup">
            <tr>             <tr>
Line 568  END Line 568  END
                </tr>                 </tr>
                <tr>                 <tr>
                 <td align="right" class="bodywhite"><label>$lt{'pw'}</label>:</td>                  <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>
                <tr><td>&nbsp;</td></tr>                 <tr><td>&nbsp;</td></tr>
                <tr>                 <tr>

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>