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

version 1.5, 2012/02/12 19:39:13 version 1.9, 2012/03/01 01:00:38
Line 396  ENDSCRIPT Line 396  ENDSCRIPT
 # ------------------------------------------------------------ Additional Texts  # ------------------------------------------------------------ Additional Texts
     $lt{'newto'} = &mt('New to the [_1]Mechanics Online[_2] site?','<i>','</i>');      $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{'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{'thco'} = &mt('The course opens on March 1st at 10:00am EST. If you sign up before then you will be automatically enrolled in the course.');
     $lt{'runson'} = &mt('Mechanics Online runs on [_1]LON-CAPA[_2] - an open source, freeware, distributed learning content management and assessment system.',      $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>');                          '</a>');
     $lt{'newhere'} = &mt('New to [_1]Mechanics Online[_2]:','<i>','</i>');      $lt{'newhere'} = &mt('New to [_1]Mechanics Online[_2]:','<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 406  ENDSCRIPT Line 407  ENDSCRIPT
     my ($contactrow,$domainrow,$serverrow,$loadrow,$userloadrow,$versionrow);      my ($contactrow,$domainrow,$serverrow,$loadrow,$userloadrow,$versionrow);
     $contactrow = <<"END";      $contactrow = <<"END";
       <tr>        <tr>
        <td colspan="2">         <td align="left" colspan="2">
        $contactblock         $contactblock
        </td>         </td>
       </tr>        </tr>
Line 459  END Line 460  END
         $versionrow = <<"END";          $versionrow = <<"END";
       <tr>        <tr>
        <td colspan="2" align="left">         <td colspan="2" align="left">
         <small>$version</small>          <a href="/adm/about.html">
           <img src="/images/login/lclogosm.gif" width="16" height="14" alt="LC" border="0" />&nbsp;<small>$version</small></a>
        </td>         </td>
       </tr>        </tr>
 END  END
     }      }
   
 # -------------------------------------------- Static cid for prerequisite test  # -------------------------------------------- Static cid for prerequisite test
     my $prereqcid = 'relate_3H121116c19344ff3relatel1';      my $prereqcid = 'relate_3e100973b27484f2drelatel1';
   
 # ---------------------------------------------------- Warning if no Javascript   # ---------------------------------------------------- Warning if no Javascript 
     my $noscript_warning = '<noscript><br /><span class="LC_warning">'.      my $noscript_warning = '<noscript><br /><span class="LC_warning">'.
Line 485  END Line 487  END
 <div align="center">  <div align="center">
 <table class="LC_loginbox">  <table class="LC_loginbox">
   <tr>    <tr>
     <td align="left" valign="top" width="11">      <td align="left" valign="top" width="11"><img src="/images/login/tlc_11_ffffff_e2e2e2.gif" width="10" height="10" border="0" alt="" /></td>
      <img src="/images/login/tlc_11_ffffff_e2e2e2.gif" width="10" height="10" border="0" alt="" />  
     </td>  
     <td width="450" valign="top">      <td width="450" valign="top">
       <table class="LC_loginbox_left">        <table class="LC_loginbox_left">
         <tr>          <tr>
Line 509  END Line 509  END
         <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{'mech'}</p>
            <p class="bodyred">$lt{'thco'}</p>
          <p class="bodyred">$lt{'runson'}</p>           <p class="bodyred">$lt{'runson'}</p>
          <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" />
Line 525  END Line 526  END
            </tr>             </tr>
            <tr>             <tr>
              <td align="left" valign="bottom" width="11" height="11"><img src="/images/login/bl_11_993333_ffffff.gif" width="11" height="11" border="0" alt="" /></td>               <td align="left" valign="bottom" width="11" height="11"><img src="/images/login/bl_11_993333_ffffff.gif" width="11" height="11" border="0" alt="" /></td>
   
              <td>&nbsp;</td>               <td>&nbsp;</td>
              <td align="right" valign="bottom" width="11" height="11"><img src="/images/login/br_11_993333_ffffff.gif" width="11" height="11" border="0" alt="" /></td>               <td align="right" valign="bottom" width="11" height="11"><img src="/images/login/br_11_993333_ffffff.gif" width="11" height="11" border="0" alt="" /></td>
            </tr>             </tr>
Line 654  $versionrow Line 654  $versionrow
   
 <script type="text/javascript">  <script type="text/javascript">
 // <![CDATA[  // <![CDATA[
 // the if prevents the script error if the browser can not handle this  
 if ( document.client.uname ) { document.client.uname.focus(); }  
 // ]]>  
 </script>  
   
 <script type="text/javascript">  
 // <![CDATA[  
 // the if prevents the script error if the browser can not handle this  // the if prevents the script error if the browser can not handle this
 if ( document.client.uname ) { document.client.uname.focus(); }  if ( document.client.uname ) { document.client.uname.focus(); }
 // ]]>  // ]]>

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


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