Diff for /loncom/auth/lonlogin.pm between versions 1.106.4.1 and 1.106.4.2

version 1.106.4.1, 2009/05/18 12:59:47 version 1.106.4.2, 2009/08/12 19:44:18
Line 284  sub handler { Line 284  sub handler {
     my $js = (<<ENDSCRIPT);      my $js = (<<ENDSCRIPT);
   
  <script type="text/javascript">   <script type="text/javascript">
    // <![CDATA[
     function send()      function send()
     {      {
         this.document.server.elements.uname.value          this.document.server.elements.uname.value
Line 327  sub handler { Line 328  sub handler {
         this.document.server.submit();          this.document.server.submit();
         return false;          return false;
     }      }
    // ]]>
  </script>   </script>
   
 ENDSCRIPT  ENDSCRIPT
Line 500  ENDTOP Line 502  ENDTOP
                  .'<h2>'.&mt('Text-based Interface Login').'</h2>'                   .'<h2>'.&mt('Text-based Interface Login').'</h2>'
                  .$announcements);                   .$announcements);
     }      }
     $r->print('<form name="client" onsubmit="return(send())">');      $r->print('<form name="client" action="" onsubmit="return(send())">');
     unless ($fullgraph) {      unless ($fullgraph) {
         $r->print(<<ENDACCESSOPTIONS);          $r->print(<<ENDACCESSOPTIONS);
 <h3>$lt{'options_headline'}</h3>  <h3>$lt{'options_headline'}</h3>
Line 659  $domainlogo Line 661  $domainlogo
  </table>   </table>
   
 <script type="text/javascript">  <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(); }
   // ]]>
 </script>  </script>
 $helpdeskscript  $helpdeskscript
   
Line 688  sub contactdisplay { Line 692  sub contactdisplay {
         my $thisurl = &escape('/adm/login');          my $thisurl = &escape('/adm/login');
         $$helpdeskscript = <<"ENDSCRIPT";          $$helpdeskscript = <<"ENDSCRIPT";
 <script type="text/javascript">  <script type="text/javascript">
   // <![CDATA[
 function helpdesk() {  function helpdesk() {
     var codedom = document.client.udom.value;      var codedom = document.client.udom.value;
     if (codedom == '') {      if (codedom == '') {
Line 697  function helpdesk() { Line 702  function helpdesk() {
     document.location.href = "/adm/helpdesk?"+querystr;      document.location.href = "/adm/helpdesk?"+querystr;
     return;      return;
 }  }
   // ]]>
 </script>  </script>
 ENDSCRIPT  ENDSCRIPT
     }      }

Removed from v.1.106.4.1  
changed lines
  Added in v.1.106.4.2


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