Diff for /loncom/interface/lonhtmlcommon.pm between versions 1.80 and 1.83

version 1.80, 2004/07/16 19:29:26 version 1.83, 2004/07/19 21:14:15
Line 783  sub Increment_PrgWin { Line 783  sub Increment_PrgWin {
         $str = '1 minute';          $str = '1 minute';
     } elsif ($min < 10 && $sec > 1) {      } elsif ($min < 10 && $sec > 1) {
         $str = '[_1] minutes, [_2] seconds';          $str = '[_1] minutes, [_2] seconds';
     } elsif ($min > 10 || $sec < 2) {      } elsif ($min >= 10 || $sec < 2) {
         $str = '[_1] minutes';          $str = '[_1] minutes';
     }      }
     $time_est = &mt($str,$min,$sec);      $time_est = &mt($str,$min,$sec);
Line 1057  returns: nothing Line 1057  returns: nothing
                      } @Crumbs                       } @Crumbs
                  );                   );
         $links .= '-&gt;' if ($links ne '');          $links .= '-&gt;' if ($links ne '');
         $links .= '<b>'.$last->{'text'}.'</b>';          $links .= '<b>'.&mt($last->{'text'}).'</b>';
         #          #
         my $icons = '';          my $icons = '';
         $faq = $last->{'faq'} if (exists($last->{'faq'}));          $faq = $last->{'faq'} if (exists($last->{'faq'}));
Line 1068  returns: nothing Line 1068  returns: nothing
 #        if ($bug ne '') {  #        if ($bug ne '') {
 #            $icons .= &Apache::loncommon::help_open_bug($bug);  #            $icons .= &Apache::loncommon::help_open_bug($bug);
 #        }  #        }
           if (defined($component_help)) {
               $icons .=
                   &Apache::loncommon::help_open_topic($component_help);
           }
         $icons .= &Apache::loncommon::help_open_menu($color,$component,$component_help,$function,$faq,$bug);          $icons .= &Apache::loncommon::help_open_menu($color,$component,$component_help,$function,$faq,$bug);
         if ($icons ne '') {          if ($icons ne '') {
             $Str .= $icons.'&nbsp;';              $Str .= $icons.'&nbsp;';
Line 1077  returns: nothing Line 1081  returns: nothing
         #          #
         if (defined($component)) {          if (defined($component)) {
             $Str .= '<td align="right" bgcolor="'.$color.'">'.              $Str .= '<td align="right" bgcolor="'.$color.'">'.
                 '<font size="+1">'.&mt($component).'</font>';                  '<font size="+1">'.&mt($component).'</font></td>';
             if (defined($component_help)) {  
                 $Str .=   
                     &Apache::loncommon::help_open_topic($component_help);  
             }  
             $Str.= '</td>';  
         }          }
         $Str .= '</tr></table>'."\n";          $Str .= '</tr></table>'."\n";
         #          #

Removed from v.1.80  
changed lines
  Added in v.1.83


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