--- loncom/interface/spreadsheet/studentcalc.pm 2003/05/19 15:48:18 1.3 +++ loncom/interface/spreadsheet/studentcalc.pm 2003/05/22 21:16:35 1.4 @@ -1,5 +1,5 @@ # -# $Id: studentcalc.pm,v 1.3 2003/05/19 15:48:18 matthew Exp $ +# $Id: studentcalc.pm,v 1.4 2003/05/22 21:16:35 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -156,24 +156,40 @@ END $label_num++; } $tableheader .="\n"; - # - $r->print($tableheader); - # - # Print out template row - $r->print('
'.
+ 'Some computations are not available at this time.
'.
+ 'There are problems whose status you are allowed to view.'.
+ '
Row | Assessment | END + } else { + $tableheader =<<"END"; +
---|
Assessment | +END + } foreach (split(//,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz')){ if ($label_num<$num_uneditable) { $tableheader.='';
@@ -203,19 +219,25 @@ END
''.
- $resource->{'title'}.' '; + '&usymb='.&Apache::lonnet::escape($resource->{'symb'}). + '">'.$resource->{'title'}.' '; $row_output .= &assess_file_selector($rownum, $assess_filename, \@AssessFileNames). ' | ';
} else {
$row_output .= 'Go To'; $row_output .= ' | '.$resource->{'title'}.' | '; } - $row_output .= $self->html_row($num_uneditable,$rownum). - "Unavailable at this time | '."\n"; + } else { + $row_output .= $self->html_row($num_uneditable,$rownum). + "\n"; + } $r->print($row_output); } $r->print("
---|