[LON-CAPA-cvs] cvs: loncom /interface loncreatecourse.pm
www
lon-capa-cvs@mail.lon-capa.org
Mon, 23 Dec 2002 18:04:54 -0000
www Mon Dec 23 13:04:54 2002 EDT
Modified files:
/loncom/interface loncreatecourse.pm
Log:
Bug #502 - can now disable student discussion of resources at course
creation time.
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.15 loncom/interface/loncreatecourse.pm:1.16
--- loncom/interface/loncreatecourse.pm:1.15 Mon Dec 9 16:32:34 2002
+++ loncom/interface/loncreatecourse.pm Mon Dec 23 13:04:54 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.15 2002/12/09 21:32:34 albertel Exp $
+# $Id: loncreatecourse.pm,v 1.16 2002/12/23 18:04:54 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -134,7 +134,11 @@
<b>Set content feedback to Course Coordinator: </b>
<input type="checkbox" name="setcontent" checked>
</p>
-
+<h2>Communication</h2>
+<p>
+<b>Disable student resource discussion: </b>
+<input type="checkbox" name="disresdis" />
+</p>
<h2>Course Coordinator</h2>
<p>
<b>Username:</b> <input type="text" size="15" name="ccuname" />
@@ -221,6 +225,10 @@
$envflag=1;
$cenv{'question.email'}=$ccuname.':'.$ccdomain;
}
+ }
+ if ($ENV{'form.disresdis'}) {
+ $envflag=1;
+ $cenv{'pch.roles.denied'}='st';
}
if ($envflag) {
$r->print('Setting environment: '.