[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet lonspreadsheet.pm

matthew lon-capa-cvs@mail.lon-capa.org
Fri, 29 Aug 2003 21:09:35 -0000


matthew		Fri Aug 29 17:09:35 2003 EDT

  Modified files:              
    /loncom/interface/spreadsheet	lonspreadsheet.pm 
  Log:
  Added spreadsheet help links.
  
  
Index: loncom/interface/spreadsheet/lonspreadsheet.pm
diff -u loncom/interface/spreadsheet/lonspreadsheet.pm:1.20 loncom/interface/spreadsheet/lonspreadsheet.pm:1.21
--- loncom/interface/spreadsheet/lonspreadsheet.pm:1.20	Sun Aug 17 14:50:12 2003
+++ loncom/interface/spreadsheet/lonspreadsheet.pm	Fri Aug 29 17:09:35 2003
@@ -1,5 +1,5 @@
 #
-# $Id: lonspreadsheet.pm,v 1.20 2003/08/17 18:50:12 matthew Exp $
+# $Id: lonspreadsheet.pm,v 1.21 2003/08/29 21:09:35 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -451,18 +451,18 @@
         $r->print('<td><input type="submit" value="Generate Spreadsheet" />'.
                   '</td>');
     }
-#    if ($allowed_to_view) {
-#        $r->print('<td>'.
-#                  &Apache::loncommon::help_open_topic("Spreadsheet_About",
-#                                                      'Spreadsheet Help').
-#                  '</td>');
-#    }
-#    if ($allowed_to_edit) {
-#        $r->print('<td>'.
-#                  &Apache::loncommon::help_open_topic("Spreadsheet_Editing",
-#                                                      'Editing Help').
-#                  '</td>');
-#    }
+    if ($allowed_to_view) {
+        $r->print('<td>'.
+                  &Apache::loncommon::help_open_topic("Spreadsheet_About",
+                                                      'Spreadsheet Help').
+                  '</td>');
+    }
+    if ($allowed_to_edit) {
+        $r->print('<td>'.
+                  &Apache::loncommon::help_open_topic("Spreadsheet_Editing",
+                                                      'Editing Help').
+                  '</td>');
+    }
     $r->print('</tr></table>');
     #
     # Keep track of the filename