--- loncom/interface/spreadsheet/studentcalc.pm 2003/06/23 20:47:00 1.13
+++ loncom/interface/spreadsheet/studentcalc.pm 2003/09/05 01:06:45 1.17
@@ -1,5 +1,5 @@
#
-# $Id: studentcalc.pm,v 1.13 2003/06/23 20:47:00 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,6 +147,24 @@ 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) = @_;
@@ -208,7 +229,7 @@ END
$tableheader =<<"END";