--- loncom/interface/lonparmset.pm 2005/06/07 15:21:03 1.217
+++ loncom/interface/lonparmset.pm 2005/06/09 20:35:48 1.219
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.217 2005/06/07 15:21:03 albertel Exp $
+# $Id: lonparmset.pm,v 1.219 2005/06/09 20:35:48 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -776,8 +776,18 @@ sub parmmenu {
checkthis('duedate','pscat');
checkthis('opendate','pscat');
checkthis('answerdate','pscat');
- checkthis('interval','pscat');
- }
+ }
+
+ function checkdisset() {
+ checkthis('discussend','pscat');
+ checkthis('discusshide','pscat');
+ }
+
+ function checkcontdates() {
+ checkthis('contentopen','pscat');
+ checkthis('contentclose','pscat');
+ }
+
function checkvisi() {
checkthis('hiddenresource','pscat');
@@ -820,12 +830,14 @@ ENDSCRIPT
}
$r->print('
-Select All
-Select Standard
+Select All
+Select Common Only
|
-Select Dates
-Select Visibilities
-Select Part Parameters
+Add Problem Dates
+Add Content Dates
+Add Discussion Settings
+Add Visibilities
+Add Part Parameters
|
Unselect All
|
@@ -1004,7 +1016,9 @@ sub standardkeyorder {
'parameter_0_ordered' => 15,
'parameter_0_tol' => 16,
'parameter_0_sig' => 17,
- 'parameter_0_turnoffunit' => 18);
+ 'parameter_0_turnoffunit' => 18,
+ 'parameter_0_discussend' => 19,
+ 'parameter_0_discusshide' => 20);
}
##################################################
@@ -2135,9 +2149,23 @@ sub listdata {
$r->print(
&Apache::lonhtmlcommon::date_setter('overviewform',
$jskey,
- $$resourcedata{$thiskey}).
+ $$resourcedata{$thiskey},
+ '',1).
''
);
+ } elsif ($thistype eq 'string_yesno') {
+ $r->print(' ');
+ $r->print('');
} else {
$r->print('');