Diff for /loncom/interface/loncommon.pm between versions 1.1075.2.91 and 1.1075.2.92

version 1.1075.2.91, 2015/04/06 19:06:45 version 1.1075.2.92, 2015/04/07 15:13:35
Line 7483  ADDMETA Line 7483  ADDMETA
                                 $result.=<<OFFLOAD                                  $result.=<<OFFLOAD
 <meta http-equiv="pragma" content="no-cache" />  <meta http-equiv="pragma" content="no-cache" />
 <script type="text/javascript">  <script type="text/javascript">
   // <![CDATA[
 function LC_Offload_Now() {  function LC_Offload_Now() {
     var dest = "$newurl";      var dest = "$newurl";
     if (dest != '') {      if (dest != '') {
         window.location.href="$newurl";          window.location.href="$newurl";
     }      }
 }  }
 window.alert('$msg');  \$(document).ready(function () {
 if ($disable_submit) {      window.alert('$msg');
     \$(document).ready(function () {      if ($disable_submit) {
         \$(".LC_hwk_submit").prop("disabled", true);          \$(".LC_hwk_submit").prop("disabled", true);
         \$( ".LC_textline" ).prop( "readonly", "readonly");          \$( ".LC_textline" ).prop( "readonly", "readonly");
     });      }
 }      setTimeout('LC_Offload_Now()', $timeout);
 setTimeout('LC_Offload_Now()', $timeout);  });
   // ]]>
 </script>  </script>
 OFFLOAD  OFFLOAD
                             }                              }
Line 15959  sub create_recaptcha { Line 15961  sub create_recaptcha {
     my $captcha = Captcha::reCAPTCHA->new;      my $captcha = Captcha::reCAPTCHA->new;
     return $captcha->get_options_setter({theme => 'white'})."\n".      return $captcha->get_options_setter({theme => 'white'})."\n".
            $captcha->get_html($pubkey,undef,$use_ssl).             $captcha->get_html($pubkey,undef,$use_ssl).
            &mt('If either word is hard to read, [_1] will replace them.',             &mt('If the text is hard to read, [_1] will replace them.',
                '<img src="/res/adm/pages/refresh.gif" alt="reCAPTCHA refresh" />').                 '<img src="/res/adm/pages/refresh.gif" alt="reCAPTCHA refresh" />').
            '<br /><br />';             '<br /><br />';
 }  }

Removed from v.1.1075.2.91  
changed lines
  Added in v.1.1075.2.92


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