--- loncom/interface/spreadsheet/studentcalc.pm 2003/06/23 19:58:18 1.12
+++ loncom/interface/spreadsheet/studentcalc.pm 2003/09/05 01:06:45 1.17
@@ -1,5 +1,5 @@
#
-# $Id: studentcalc.pm,v 1.12 2003/06/23 19:58:18 matthew Exp $
+# $Id: studentcalc.pm,v 1.17 2003/09/05 01:06:45 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -45,6 +45,9 @@ studentcalc
###################################################
package Apache::studentcalc;
+use warnings FATAL=>'all';
+no warnings 'uninitialized';
+
use strict;
use Apache::Constants qw(:common :http);
use Apache::lonnet;
@@ -98,8 +101,8 @@ sub initialize_sequence_cache {
}
sub clear_package {
- @Sequences = undef;
- %Exportrows = undef;
+ undef(@Sequences);
+ undef(%Exportrows);
}
sub get_title {
@@ -144,10 +147,28 @@ sub parent_link {
return $link;
}
+sub convenience_links {
+ my $self = shift;
+ my ($resource) = @_;
+ my $symb = &Apache::lonnet::escape($resource->{'symb'});
+ my $result = <<"END";
+
+
+
+
+
+
+
+
+
+END
+ return $result;
+}
+
sub outsheet_html {
my $self = shift;
my ($r) = @_;
- my $importcolor = '#FFFF66';
+ my $importcolor = '#FFFFAA';
my $exportcolor = '#88FF88';
####################################
# Get the list of assessment files #
@@ -208,7 +229,7 @@ END
$tableheader =<<"END";