[LON-CAPA-cvs] cvs: loncom /html/adm/helper newslot.helper
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 09 May 2006 19:10:40 -0000
albertel Tue May 9 15:10:40 2006 EDT
Modified files:
/loncom/html/adm/helper newslot.helper
Log:
- add setting for 'non -proctored access' to slots
Index: loncom/html/adm/helper/newslot.helper
diff -u loncom/html/adm/helper/newslot.helper:1.17 loncom/html/adm/helper/newslot.helper:1.18
--- loncom/html/adm/helper/newslot.helper:1.17 Tue May 9 15:07:17 2006
+++ loncom/html/adm/helper/newslot.helper Tue May 9 15:10:39 2006
@@ -218,6 +218,16 @@
<nextstate>RESTRICTUSER</nextstate>
</condition>
+ <choices variable="noproctor">
+ <choice computer='no'>No proctor checkin required for access.</choice>
+ <choice computer='yes'>Require proctored access.</choice>
+ <defaultvalue>
+ my $default=&{$helper->{DATA}{origslot}}('proctor');
+ if ($default) { return 'yes'; }
+ return 'no';
+ </defaultvalue>
+ </choices>
+
<student variable="proctor" multichoice="1" coursepersonnel="1"
activeonly="1" emptyallowed="1">
<defaultvalue>