[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Tue Aug 6 19:13:42 EDT 2013
raeburn Tue Aug 6 23:13:42 2013 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- "Edit" in Functions row for student-viewable roster, in case where
Course Roster item not explicitly added to course.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1233 loncom/lonnet/perl/lonnet.pm:1.1234
--- loncom/lonnet/perl/lonnet.pm:1.1233 Sun Aug 4 02:55:41 2013
+++ loncom/lonnet/perl/lonnet.pm Tue Aug 6 23:13:42 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1233 2013/08/04 02:55:41 raeburn Exp $
+# $Id: lonnet.pm,v 1.1234 2013/08/06 23:13:42 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2852,6 +2852,13 @@
$cfile =~ s{^http://}{};
$cfile = '/adm/wrapper/ext/'.$cfile;
}
+ } elsif ($resurl =~ m{^/?adm/viewclasslist$}) {
+ if ($env{'form.forceedit'}) {
+ $forceview = 1;
+ } else {
+ $forceedit = 1;
+ }
+ $cfile = ($resurl =~ m{^/} ? $resurl : "/$resurl");
}
}
if ($uploaded || $incourse) {
More information about the LON-CAPA-cvs
mailing list