[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet lonspreadsheet.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 08 Dec 2003 19:59:09 -0000
matthew Mon Dec 8 14:59:09 2003 EDT
Modified files:
/loncom/interface/spreadsheet lonspreadsheet.pm
Log:
Always show the 'generate spreadsheet' button, regardless of the type of
spreadsheet.
Index: loncom/interface/spreadsheet/lonspreadsheet.pm
diff -u loncom/interface/spreadsheet/lonspreadsheet.pm:1.30 loncom/interface/spreadsheet/lonspreadsheet.pm:1.31
--- loncom/interface/spreadsheet/lonspreadsheet.pm:1.30 Fri Nov 21 13:18:04 2003
+++ loncom/interface/spreadsheet/lonspreadsheet.pm Mon Dec 8 14:59:09 2003
@@ -1,5 +1,5 @@
#
-# $Id: lonspreadsheet.pm,v 1.30 2003/11/21 18:18:04 albertel Exp $
+# $Id: lonspreadsheet.pm,v 1.31 2003/12/08 19:59:09 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -470,11 +470,9 @@
$r->rflush();
#
$r->print("<table><tr>");
- if ($sheettype eq 'classcalc') {
- $r->print('<td><input type="submit" value="'.
- &mt('Generate Spreadsheet').'" />'.
- '</td>');
- }
+ $r->print('<td><input type="submit" value="'.
+ &mt('Generate Spreadsheet').'" />'.
+ '</td>');
if ($allowed_to_view) {
$r->print('<td>'.
&Apache::loncommon::help_open_topic("Spreadsheet_About",