--- loncom/interface/spreadsheet/lonspreadsheet.pm 2003/08/17 18:50:12 1.20 +++ loncom/interface/spreadsheet/lonspreadsheet.pm 2003/09/05 01:06:45 1.23 @@ -1,5 +1,5 @@ # -# $Id: lonspreadsheet.pm,v 1.20 2003/08/17 18:50:12 matthew Exp $ +# $Id: lonspreadsheet.pm,v 1.23 2003/09/05 01:06:45 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -54,6 +54,8 @@ built-in functions. package Apache::lonspreadsheet; use strict; +use warnings FATAL=>'all'; +no warnings 'uninitialized'; use Apache::classcalc(); use Apache::studentcalc(); use Apache::assesscalc(); @@ -165,9 +167,13 @@ END } $load_dialog .= '>'.$sheetfilename."\n"; } - $load_dialog .= " \n\n"; + $load_dialog .= "\n \n\n"; # $result .=< + File Dialogs + --> @@ -180,6 +186,9 @@ END
+ END return ($result,$message); } @@ -451,18 +460,18 @@ END $r->print(''. ''); } -# if ($allowed_to_view) { -# $r->print(''. -# &Apache::loncommon::help_open_topic("Spreadsheet_About", -# 'Spreadsheet Help'). -# ''); -# } -# if ($allowed_to_edit) { -# $r->print(''. -# &Apache::loncommon::help_open_topic("Spreadsheet_Editing", -# 'Editing Help'). -# ''); -# } + if ($allowed_to_view) { + $r->print(''. + &Apache::loncommon::help_open_topic("Spreadsheet_About", + 'Spreadsheet Help'). + ''); + } + if ($allowed_to_edit) { + $r->print(''. + &Apache::loncommon::help_open_topic("Spreadsheet_Editing", + 'Editing Help'). + ''); + } $r->print(''); # # Keep track of the filename