--- modules/relate/lonlogin.pm 2012/02/10 20:30:01 1.3 +++ modules/relate/lonlogin.pm 2012/02/14 00:28:01 1.7 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.3 2012/02/10 20:30:01 raeburn Exp $ +# $Id: lonlogin.pm,v 1.7 2012/02/14 00:28:01 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -266,7 +266,7 @@ sub handler { .'' .'

'.&mt('The LearningOnline Network with CAPA').'

' .'' - .'

'.&mt("This Learn Physics server is temporarily not available for login.").'

' + .'

'.&mt("This Mechanics Online course server is temporarily not available for login.").'

' .'' .'' ); @@ -277,7 +277,7 @@ sub handler { $servadm=~s/\,/\
/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 @@ sub handler { '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); @@ -386,7 +386,7 @@ ENDSCRIPT alink => "$alink", onload => 'javascript:enableInput();',); - my $css_url = "/css/$domain/login.css"; + my $css_url = "/css/relate/login.css"; $js .= "\n".''."\n"; $r->print(&Apache::loncommon::start_page($pagetitle,$js, {'redirect' => [$expire,'/adm/roles'], @@ -394,19 +394,19 @@ ENDSCRIPT 'only_body' => 1,})); # ------------------------------------------------------------ Additional Texts - $lt{'newto'} = &mt('New to the [_1]Learn Physics[_2] site?','',''); - $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?','',''); + $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]','',''); + $lt{'runson'} = &mt('Mechanics Online runs on [_1]LON-CAPA[_2] - an open source, freeware, distributed learning content management and assessment system.', '', - ' LC'); - $lt{'newhere'} = &mt('New to [_1]Learn Physics[_2]:','',''); - $lt{'exist'} = &mt('Existing [_1]Learn Physics[_2] user','',''); + ''); + $lt{'newhere'} = &mt('New to [_1]Mechanics Online[_2]:','',''); $lt{'browser'} = &mt('Your browser must allow [_1]cookies[_2]', '',''); my ($contactrow,$domainrow,$serverrow,$loadrow,$userloadrow,$versionrow); $contactrow = <<"END"; - + $contactblock @@ -459,7 +459,8 @@ END $versionrow = <<"END"; - $version + + LC $version END @@ -469,7 +470,7 @@ END my $prereqcid = 'relate_3H121116c19344ff3relatel1'; # ---------------------------------------------------- Warning if no Javascript - my $noscript_warning = '