version 1.66, 2002/10/23 17:05:25
|
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 = ' {\small 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>"; |
} |
} |