Diff for /loncom/interface/loncommon.pm between versions 1.1333 and 1.1336

version 1.1333, 2019/08/25 02:42:56 version 1.1336, 2020/02/05 21:48:05
Line 3627  sub check_passwd_rules { Line 3627  sub check_passwd_rules {
         $rulenames{'min'} = &mt('Minimum password length: [_1]',$min);          $rulenames{'min'} = &mt('Minimum password length: [_1]',$min);
         $rulenames{'max'} = &mt('Maximum password length: [_1]',$max);          $rulenames{'max'} = &mt('Maximum password length: [_1]',$max);
         $warning = &mt('Password did not satisfy the following:').'<ul>';          $warning = &mt('Password did not satisfy the following:').'<ul>';
         foreach my $rule ('min','max','uc','ls','num','spec') {          foreach my $rule ('min','max','uc','lc','num','spec') {
             if (grep(/^$rule$/,@brokerule)) {              if (grep(/^$rule$/,@brokerule)) {
                 $warning .= '<li>'.$rulenames{$rule}.'</li>';                  $warning .= '<li>'.$rulenames{$rule}.'</li>';
             }              }
Line 7258  table.LC_prior_tries td { Line 7258  table.LC_prior_tries td {
   padding: 6px;    padding: 6px;
 }  }
   
 .LC_answer_unknown {  .LC_answer_unknown,
   .LC_answer_warning {
   background: orange;    background: orange;
   color: black;    color: black;
   padding: 6px;    padding: 6px;
Line 8254  ul.LC_funclist li { Line 8255  ul.LC_funclist li {
  cursor:pointer;   cursor:pointer;
 }  }
   
   pre.LC_wordwrap {
     white-space: pre-wrap;
     white-space: -moz-pre-wrap;
     white-space: -pre-wrap;
     white-space: -o-pre-wrap;
     word-wrap: break-word;
   }
   
 /*  /*
   styles used for response display    styles used for response display
 */  */
Line 9010  sub modal_link { Line 9019  sub modal_link {
         $target_attr = 'target="'.$target.'"';          $target_attr = 'target="'.$target.'"';
     }      }
     return <<"ENDLINK";      return <<"ENDLINK";
 <a href="$link" $target_attr title="$title" onclick="javascript:openMyModal('$link',$width,$height,'$scrolling','$transparency','$style'); return false;">  <a href="$link" $target_attr title="$title" onclick="javascript:openMyModal('$link',$width,$height,'$scrolling','$transparency','$style'); return false;">$linktext</a>
            $linktext</a>  
 ENDLINK  ENDLINK
 }  }
   

Removed from v.1.1333  
changed lines
  Added in v.1.1336


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