Diff for /loncom/homework/inputtags.pm between versions 1.65 and 1.67

version 1.65, 2002/10/08 18:04:04 version 1.67, 2002/10/24 19:13:53
Line 426  sub gradestatus { Line 426  sub gradestatus {
     if ( $maxtries eq 'con_lost' ) { $maxtries = '0'; }       if ( $maxtries eq 'con_lost' ) { $maxtries = '0'; } 
     if ( $showbutton ) {      if ( $showbutton ) {
       if ($target eq 'tex') {        if ($target eq 'tex') {
  $trystr = ' Tries '.$tries.'/'.$maxtries.' ';    if ((not $ENV{'request.role'}=~m/^au\./) and (not $ENV{'request.role'}=~m/^ca\./)) {
         $trystr = ' {\small \textit{Tries} '.$tries.'/'.$maxtries.'} ';
     }
       } else {        } else {
          $trystr = "<td>Tries $tries/$maxtries</td>";           $trystr = "<td>Tries $tries/$maxtries</td>";
       }        }

Removed from v.1.65  
changed lines
  Added in v.1.67


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