[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
raeburn
raeburn at source.lon-capa.org
Sat Sep 10 15:00:07 EDT 2011
raeburn Sat Sep 10 19:00:07 2011 EDT
Modified files:
/loncom/interface londocs.pm
Log:
- Fix typo.
- Display Supplemental Documents to students.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.459 loncom/interface/londocs.pm:1.460
--- loncom/interface/londocs.pm:1.459 Sat Sep 10 03:18:34 2011
+++ loncom/interface/londocs.pm Sat Sep 10 19:00:07 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.459 2011/09/10 03:18:34 raeburn Exp $
+# $Id: londocs.pm,v 1.460 2011/09/10 19:00:07 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1787,9 +1787,11 @@
if ($supplementalflag) {
$tid = 2;
}
- $r-print(&generate_edit_table($tid,$orderhash,$to_show));
if ($allowed) {
+ $r->print(&generate_edit_table($tid,$orderhash,$to_show));
&print_paste_buffer($r,$container);
+ } else {
+ $r->print($to_show);
}
return;
}
More information about the LON-CAPA-cvs
mailing list