+
+
+ push(@{$state->{CHOICES}},@{$helper->{DATA}{ALL_CODE_CHOICES}});
+
+
+ |
|
'.$/;
+
}
@@ -2378,12 +2381,9 @@ CHOOSE_STUDENTS
|
|
- Choose single code from list
- |
-
$code_selection
-
- |
|
+
+
Reprint a set of saved CODEs:
|
@@ -2429,8 +2429,8 @@ CHOOSE_ANON1
All assignments in a single PDF file
Each PDF contains exactly one section
Each PDF contains exactly one assignment
-
- Specify Number:
+
+ Specify the number of assignments per PDF:
RESOURCE_SELECTOR
@@ -2489,12 +2489,7 @@ CHOOSE_STUDENTS1
|
|
- Choose single code from list
- |
-
$code_selection
-
- |
|
Reprint a set of saved CODEs:
|
@@ -2548,7 +2543,7 @@ CHOOSE_FROM_SUBDIR
CHOOSE_FROM_ANY_SEQUENCE
return \$res->is_sequence;
return $urlValue;
- return \$res->hasResource(\$res,sub { return !\$_[0]->is_sequence() },1,0);
+ return \$res->hasResource(\$res,sub { return !\$_[0]->is_sequence() },0,0);
@@ -2957,9 +2952,9 @@ sub preprocess {
my $helper = Apache::lonhelper::getHelper();
my $format = $helper->{VARS}->{$self->{'formatvar'}};
-# if (substr($format, 2, 1) ne '1') {
-# $helper->changeState($self->{NEXTSTATE});
-# }
+ if (substr($format, 2, 1) ne '1') {
+ $helper->changeState($self->{NEXTSTATE});
+ }
return 1;
}
|